ChangeLog 83 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981
  1. 2006-02-21 Lluis Sanchez Gual <[email protected]>
  2. * XmlSerializer.cs: Fix the previous fix.
  3. 2006-02-21 Lluis Sanchez Gual <[email protected]>
  4. * XmlSerializer.cs: Added option to avoid falling back to the
  5. interpreted serializer if the code generator fails. To be used
  6. in the test suite.
  7. 2006-02-16 Gert Driesen <[email protected]>
  8. * TypeData.cs: Fixed the following issues when dealing with Array
  9. SchemaType:
  10. - if a type implements IDictionary, throw a NotSupportedException
  11. - if a type implements ICollection, then an Add method must exist
  12. which takes a single argument of a type to which the listitem type
  13. is assignable (meaning a base type or an interface that it
  14. implements). If such a method does not exist, then throw an
  15. InvalidOperationException.
  16. - if a type implements IEnumerable, then the listitem type is
  17. determined by the type of the Current property of the (IEnumerator)
  18. type returned by the GetEnumerator() method or the private
  19. implementation of IEnumerable.GetEnumerator(). If there's no
  20. public Current property on the IEnumerator, then System.Object
  21. is assumed as listitem type. Similar as for types implementing
  22. ICollection, an Add method must exist which takes a single argument
  23. of a type to which the listitem type is assignable (meaning a base
  24. type or an interface that it implements). If such a method does not
  25. exist, then throw an InvalidOperationException.
  26. 2006-02-16 Lluis Sanchez Gual <[email protected]>
  27. * XmlSchemaImporter.cs: Support importing complex types with
  28. simple content based on enums. Fixes bug #76848.
  29. 2006-02-11 Gert Driesen <[email protected]>
  30. * SoapAttributeAttribute.cs: Set eol-style to CRLF.
  31. * SoapElementAttribute.cs: Same.
  32. * SoapEnumAttribute.cs: Same.
  33. * SoapIncludeAttribute.cs: Same.
  34. * SoapSchemaMember.cs: Same.
  35. * SoapTypeAttribute.cs: Same.
  36. * XmlArrayAttribute.cs: Same.
  37. * XmlAttributeAttribute.cs: Same.
  38. * XmlChoiceIdentifierAttribute.cs: Same.
  39. * XmlElementAttribute.cs: Same.
  40. * XmlEnumAttribute.cs: Same.
  41. * XmlRootAttribute.cs: Same.
  42. * XmlSchemaImporter.cs: Same.
  43. * XmlTextAttribute.cs: Same.
  44. * XmlTypeAttribute.cs: Same.
  45. * XmlTypeMapping.cs: Same.
  46. * SoapAttributeOverrides.cs: Fixed line endings. Set eol-style to CRLF.
  47. * CodeIdentifiers.cs: Same.
  48. * SoapCodeExporter.cs: Same.
  49. * SoapAttributes.cs: Same.
  50. * SoapIgnoreAttribute.cs: Same.
  51. * SoapSchemaImporter.cs: Same.
  52. * TypeMember.cs: Same.
  53. * UnreferencedObjectEventArgs.cs: Same.
  54. * XmlAnyAttributeAttribute.cs: Same.
  55. * XmlAnyElementAttributes.cs: Same.
  56. * XmlArrayItemAttributes.cs: Same.
  57. * XmlAttributeEventArgs.cs: Same.
  58. * XmlCodeExporter.cs: Same.
  59. * XmlElementAttributes.cs: Same.
  60. * XmlElementEventArgs.cs: Same.
  61. * XmlIgnoreAttribute.cs: Same.
  62. * XmlNamespaceDeclarationsAttribute.cs: Same.
  63. * XmlNodeEventArgs.cs: Same.
  64. * XmlReflectionMember.cs: Same.
  65. * XmlSchemas.cs: Same.
  66. * XmlSerializerNamespaces.cs: Same.
  67. * XmlTypeMapMemberElement.cs: Set eol-style to native.
  68. 2006-02-10 Gert Driesen <[email protected]>
  69. * CodeExporter.cs: Set eol-style to native.
  70. * CodeGenerationOptions.cs: Same.
  71. * CodeIdentifier.cs: Same.
  72. * ImportContext.cs: Same.
  73. * IXmlSerializable.cs: Same.
  74. * IXmlSerializerImplementation.cs: Same.
  75. * IXmlTextParser.cs: Same.
  76. * MapCodeGenerator.cs: Same.
  77. * ReflectionHelper.cs: Same. Fixed line endings.
  78. * SchemaImporter.cs: Same.
  79. * SchemaImporterExtensionCollection.cs: Same.
  80. * SchemaImporterExtension.cs: Same.
  81. * SchemaTypes.cs: Same.
  82. * SerializationCodeGeneratorConfiguration.cs: Same.
  83. * SerializationCodeGenerator.cs: Same.
  84. * SerializationSource.cs: Same.
  85. * SoapReflectionImporter.cs: Same.
  86. * SoapSchemaExporter.cs: Same.
  87. * TypeData.cs: Same.
  88. * TypeTranslator.cs: Same.
  89. * UnreferencedObjectEventHandler.cs: Same.
  90. * XmlAnyElementAttribute.cs: Same.
  91. * XmlArrayItemAttribute.cs: Same.
  92. * XmlAttributeEventHandler.cs: Same.
  93. * XmlAttributeOverrides.cs: Same.
  94. * XmlAttributes.cs: Same.
  95. * XmlDeserializationEvents.cs: Same.
  96. * XmlElementEventHandler.cs: Same.
  97. * XmlIncludeAttribute.cs: Same.
  98. * XmlMapping.cs: Same.
  99. * XmlMemberMapping.cs: Same.
  100. * XmlMembersMapping.cs: Same.
  101. * XmlNodeEventHandler.cs: Same.
  102. * XmlReflectionImporter.cs: Same.
  103. * XmlSchemaExporter.cs: Same.
  104. * XmlSchemaProviderAttribute.cs: Same.
  105. * XmlSerializationCollectionFixupCallback.cs: Same.
  106. * XmlSerialiationFixupCallback.cs: Same.
  107. * XmlSerializationGeneratedCode.cs: Same.
  108. * XmlSerializationReadCallback.cs: Same.
  109. * XmlSerializationReader.cs: Same.
  110. * XmlSerializationReaderInterpreter.cs: Same.
  111. * XmlSerializationWriteCallback.cs: Same.
  112. * XmlSerializationWriterInterpreter.cs: Same.
  113. * XmlSerializerAssemblyAttribute.cs: Same.
  114. * XmlSerializer.cs: Same.
  115. * XmlSerializerFactory.cs: Same.
  116. * XmlSerializerVersionAttribute.cs: Same.
  117. * XmlTypeMapElementInfo.cs: Same.
  118. * XmlTypeMapMemberAttribute.cs: Same.
  119. * XmlTypeMapMember.cs: Same.
  120. * XmlTypeMapMemberNamespaces.cs: Same.
  121. 2006-02-09 Gert Driesen <[email protected]>
  122. * XmlTypeMapping.cs: Modified GetRealTypeMap to return current map
  123. if map represents enum. Fixes bug #77501.
  124. 2006-02-09 Gert Driesen <[email protected]>
  125. * XmlSerializationWriter.cs: Implemented 2.0 version of FromEnum, and
  126. CreateInvalidEnumValueException. Set eol-style to native.
  127. * XmlCustomerFormatter.cs: Added FromEnum overload that takes name of
  128. enum for which string value must be created. Set eol-style to native.
  129. Modified FromEnum to behave more like MSFT's implementation:
  130. - treat value as bit field.
  131. - no longer return empty string if the value matches an id for which there's no corresponding
  132. name.
  133. - if one of the ids has value 0 and there's a match for the enum value
  134. (with a zero length XML name) or the enum value is 0, then return the
  135. corresponding XML for the id with value 0.
  136. - in 2.0 profile, throw InvalidOperationException if no match is found
  137. for (part of) the enum value.
  138. Modifies ToEnum to match the MSFT implementation (as described in
  139. .NET 2.0 SDK):
  140. - Expect hashtable containing enum names as key, and corresponding
  141. integral numbers as value.
  142. - Do not report exception for whitespace-only value.
  143. - Support space (MS docs are not clear about this) delimited list
  144. of names.
  145. - typeName is only used to construct exception message.
  146. 2006-02-09 Lluis Sanchez Gual <[email protected]>
  147. * System.Xml.Serialization/XmlTypeMapMemberElement.cs: When
  148. looking for the correct element definition for a member,
  149. based on the value type, take into account subypes of the
  150. declared types. Fixes bug #77447.
  151. 2006-02-07 Konstantin Triger <[email protected]>
  152. * XmlReflectionImporter.cs: remove local name encoding for enums.
  153. 2006-01-08 Gert Driesen <[email protected]>
  154. * XmlSchemaImporter.cs: Fixed line endings (to CRLF).
  155. 2006-01-07 Gert Driesen <[email protected]>
  156. * XmlTypeMapping.cs: Fixed line endings.
  157. * TypeTranslator.cs: Fixed line endings.
  158. 2005-12-07 Lluis Sanchez Gual <[email protected]>
  159. * XmlSerializationReaderInterpreter.cs: When deserializing a "flat"
  160. collection, don't create a new collection if the property already has a
  161. collection instance.
  162. * SerializationCodeGenerator.cs: same as above. Also return an empty
  163. string for flag enum default values.
  164. 2005-12-06 Konstantin Triger <[email protected]>
  165. * TypeTranslator.cs: TARGET_JVM: save additional types per AppDomain.
  166. 2005-12-05 Lluis Sanchez Gual <[email protected]>
  167. * XmlSerializationReaderInterpreter.cs:
  168. * SerializationCodeGenerator.cs: When deserializing a collection,
  169. don't create a new collection if the property already has a
  170. collection instance. This does not apply to arrays. Changed how nullabe
  171. array properties are set. Setting IsNullable=false to the property means
  172. that it won't be set if the read array is null (so, if the property
  173. already has a value, it will be kept).
  174. Another change is that can't never be null (only arrays can).
  175. 2005-12-01 Lluis Sanchez Gual <[email protected]>
  176. * TypeTranslator.cs: In GetTypeData, if an xmlType is specified for
  177. a cli array type, consider it refering to the type of array elements.
  178. This fixes bug #76860. Also added some locking.
  179. 2005-11-27 Konstantin Triger <[email protected]>
  180. * TypeData.cs, XmlSchemaExporter.cs, TypeTranslator.cs: correctly
  181. export non-xsd primitive types.
  182. 2005-11-24 Vladimir Krasnov <[email protected]>
  183. * XmlTypeMapping.cs: fixed GetXmlName method, added difference
  184. of value serialization of flags and non-flags enums
  185. 2005-11-23 Konstantin Triger <[email protected]>
  186. * XmlSchemaExporter.cs: do not import empty namespaces.
  187. 2005-11-17 Vladimir Krasnov <[email protected]>
  188. * XmlSerializationReaderInterpreter.cs: fixed ReadEnumElement
  189. method, ReadEndElement should check XmlNodeType.
  190. * XmlTypeMapping.cs: fixed GetXmlName method, it should not
  191. write zero as default enum value.
  192. 2005-11-16 Vladimir Krasnov <[email protected]>
  193. * XmlReflectionImporter.cs: fixed field order returned by
  194. reflection in method GetReflectionMembers. TARGET_JVM only.
  195. 2005-11-07 Lluis Sanchez Gual <[email protected]>
  196. * XmlSchemaImporter.cs: Added support for restrictions with
  197. embedded simple type definitions.
  198. 2005-11-04 Atsushi Enomoto <[email protected]>
  199. * XmlElementAttribute.cs : gimme Order; it fixes 100 or more
  200. sys.xml.schema corcompare diffs.
  201. 2005-10-17 Lluis Sanchez Gual <[email protected]>
  202. * SerializationCodeGenerator.cs:
  203. * XmlSerializationWriterInterpreter.cs: Arrays of XmlNode don't
  204. need to be all XmlElments. Fix by Atsushi for bug #76288.
  205. 2005-09-26 Lluis Sanchez Gual <[email protected]>
  206. * XmlTypeMapping.cs: Added ChoiceMember to ListMap.
  207. In ListMap.FindElement, take into account the ChoiceMember
  208. if set.
  209. * SerializationCodeGenerator.cs:
  210. * XmlSerializationReaderInterpreter.cs: For lists with a choice
  211. member, fill the member with the corresponding enum values.
  212. * XmlReflectionImporter.cs: Properly reflect the choice member
  213. when applied to a list.
  214. * XmlSerializationWriterInterpreter.cs: Track class changes.
  215. * XmlTypeMapMemberElement.cs: Added ChoiceTypeData property.
  216. All this fixes bug #76203.
  217. 2005-09-21 Lluis Sanchez Gual <[email protected]>
  218. * SoapReflectionImporter.cs: Check the correct defaults
  219. for attributes.
  220. 2005-09-21 Lluis Sanchez Gual <[email protected]>
  221. * SerializationSource.cs: Fix nullref.
  222. * XmlReflectionImporter.cs: When registering a type using
  223. IncludeType(), make sure it is added as a subtype and the
  224. map for typeof(object) if it has already been imported.
  225. Fixes bug #76049.
  226. 2005-09-21 Lluis Sanchez Gual <[email protected]>
  227. * XmlSerializationWriter.cs: Also internally serialize
  228. arrays of object (see previous change).
  229. 2005-09-21 Lluis Sanchez Gual <[email protected]>
  230. * XmlSerializationWriter.cs: Properly serialize arrays
  231. of primitive types when not explicitely specified in
  232. a container class. Based on a patch by Konstantin Triger.
  233. Fixes bug #75986.
  234. 2005-08-24 Lluis Sanchez Gual <[email protected]>
  235. * TypeData.cs: Reset the hasPublicConstructor flag when the
  236. type is an interface.
  237. * XmlSerializationWriterInterpreter.cs: Get the Count property
  238. from the object type instead of the property type (it didn't
  239. work for IList).
  240. * ReflectionHelper.cs: In CheckSerializableType, don't trow
  241. if the type is a collection interface. All this fixes
  242. bug #75855.
  243. 2005-08-06 Lluis Sanchez Gual <[email protected]>
  244. * XmlTypeMapping.cs: Added null check.
  245. 2005-08-05 Lluis Sanchez Gual <[email protected]>
  246. * XmlTypeMapping.cs: Added ListMembers property that returns
  247. members which are collections.
  248. * SerializationCodeGenerator.cs:
  249. * XmlSerializationReaderInterpreter.cs: Initialize collection
  250. members to an empty collection by default. Fixes bug #75662.
  251. 2005-08-01 Gert Driesen <[email protected]>
  252. * XmlMapping.cs: API compatibility fixes. Ctor is not protected
  253. in .NET 1.1. SetKey is not obsolete in .NET 2.0 Beta 2.
  254. 2005-07-31 Gert Driesen <[email protected]>
  255. * SoapAttributeAttribute.cs: Return zero-length string if
  256. AttributeName or DataType are null.
  257. * SoapEnumAttribute.cs: Return zero-length string if Name is null.
  258. * SoapIncludeAttribute.cs: Avoid using property in ctor.
  259. * SoapSchemaMember.cs: Return zero-length string if MemberName is
  260. null. MemberType should be XmlQualifiedName.Empty by default.
  261. * SoapTypeAttribute.cs: Return zero-length string if TypeName is
  262. null. Avoid using property in ctor.
  263. * XmlArrayAttribute.cs: Return zero-length string if ElementName is
  264. null. Avoid using property in ctor.
  265. * XmlArrayItemAttribute.cs: IsNullable must be false by default.
  266. Return zero-length string if DataType or ElementName are null. Avoid
  267. using property in ctor.
  268. * SoapElementAttribute.cs: Return zero-length string when DataType
  269. or ElementName are null. Avoid using property in ctor.
  270. * XmlAnyElementAttribute.cs: Return zero-length string when Name is
  271. null. Avoid using property in ctor.
  272. * XmlAttributeAttribute.cs: Avoid using property in ctor. Return
  273. zero-length string if AttributeName or DataType are null.
  274. * XmlChoiceIdentifierAttribute.cs: Return zero-length string when
  275. MemberName is null.
  276. * XmlElementAttribute.cs: Return zero-length string when DataType or
  277. ElementName are null. Avoid using property in ctor.
  278. * XmlEnumAttribute.cs: Avoid using property in ctor.
  279. * XmlIncludeAttribute.cs: Avoid using property in ctor.
  280. * XmlReflectionImporter.cs: AttributeName, ElementName and DataType
  281. can no longer be null. Use check for zero-length string to determine
  282. whether they are set. Corrected exception message when DataType is
  283. set for complex type.
  284. * XmlRootAttribute.cs: Return zero-length string if DataType or
  285. ElementName are null. Avoid using property in ctor.
  286. * XmlTextAttribute.cs: Return zero-length string if DataType is null.
  287. * XmlTypeAttribute.cs: Return zero-length string if TypeName is null.
  288. 2005-07-14 Lluis Sanchez Gual <[email protected]>
  289. * SerializationCodeGenerator.cs: In the generated serializer always
  290. use the Object equality operator when comparing objects to serialize
  291. to null, since those objects may have the equality operator
  292. overloaded. This fixes bug #75543.
  293. 2005-07-01 Lluis Sanchez Gual <[email protected]>
  294. * XmlCustomFormatter.cs: Properly read/write duration values.
  295. 2005-06-28 Lluis Sanchez Gual <[email protected]>
  296. * XmlSerializer.cs: Fix race between XmlSerializer and the
  297. serializer generator.
  298. 2005-06-14 Lluis Sanchez Gual <[email protected]>
  299. * XmlTypeMapElementInfo.cs: Added new DataTypeName property for
  300. getting the real xml type name of a member.
  301. * XmlSerializationWriterInterpreter.cs: Use that new property
  302. to get the type name of primitive types. This should fix bug #75180.
  303. 2005-06-07 Lluis Sanchez Gual <[email protected]>
  304. * SerializationCodeGenerator.cs: When reading members by order,
  305. call a MoveToContext after each member read. In the fixup method
  306. don't cast returned values if it is reading an object array.
  307. * XmlSchemaImporter.cs: In ImportDerivedTypeMapping, if the type
  308. being imported is a primitive type, create a wrapper class that
  309. inherits from the provided one. This fixes bug #68809.
  310. * XmlSerializationReader.cs: Properly report unreferenced objects.
  311. Created an overload of ReadTypedPrimitive that reports elements of
  312. unknown type. Implemented Referenced().
  313. 2005-05-30 Lluis Sanchez Gual <[email protected]>
  314. * XmlReflectionImporter.cs: Don't ignore type namespaces explicitely
  315. set to the default namespace. This fixes bug #73035.
  316. 2005-05-12 Lluis Sanchez Gual <[email protected]>
  317. * SoapReflectionImporter.cs: In ImportTypeMap, make sure that all
  318. types indirectly imported by this method use the same namespace.
  319. 2005-05-09 Atsushi Enomoto <[email protected]>
  320. * TypeTableEntry.cs : removed obsolete code.
  321. 2005-04-26 Lluis Sanchez Gual <[email protected]>
  322. * XmlReflectionImporter.cs, SoapReflectionImporter.cs: ignore array
  323. properties which are read only. Fixes bug #74723.
  324. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  325. * XmlReflectionImporter.cs:
  326. * SoapReflectionImporter.cs:
  327. * TypeTranslator.cs: Encode local names withXmlConvert.EncodeLocalName
  328. where needed. Based on a patch by Konstantin Triger.
  329. 2005-04-12 Lluis Sanchez Gual <[email protected]>
  330. * XmlTypeMapping.cs: Added new XmlSerializableMapping class.
  331. * XmlSchemaExporter.cs: When exporting an IXmlSerializable type,
  332. export the schema that it defines. In ImportNamespace, removed
  333. check for default namespace, since it may be included from a non
  334. default namespace.
  335. * XmlReflectionImporter.cs: Create a special map for IXmlSerializable
  336. types. All this based on a patch by Konstantin Triger.
  337. * SerializationCodeGenerator.cs:
  338. * XmlMapping.cs:
  339. * XmlSerializationReaderInterpreter.cs:
  340. * SoapCodeExporter.cs:
  341. * XmlTypeMapMemberAttribute.cs:
  342. * XmlSerializationReader.cs:
  343. * XmlCodeExporter.cs: Fixed some warnings.
  344. 2005-04-10 Andrew Skiba <[email protected]>
  345. * XmlSerializer.cs: fixed a typo - wrong TARGET_JVM condition.
  346. 2005-04-03 Andrew Skiba <[email protected]>
  347. * XmlSerializer.cs: added TARGET_JVM that does not support on-the-fly
  348. code generation.
  349. 2005-03-30 Lluis Sanchez Gual <[email protected]>
  350. * SerializationCodeGenerator.cs:
  351. * XmlSerializationReaderInterpreter.cs: If the element being read is
  352. bound to a choice member, set the corresponding value.
  353. * XmlTypeMapMember.cs: Added helper SetValue method.
  354. * XmlTypeMapElementInfo.cs: Changed the type of ChoiceValue to Object,
  355. since now stores the enum value.
  356. * XmlReflectionImporter.cs: Properly import choice values.
  357. * XmlTypeMapMemberElement.cs: Added setter for the choice.
  358. 2005-03-29 Lluis Sanchez Gual <[email protected]>
  359. * XmlReflectionImporter.cs: Added support for subclasses of XmlNode.
  360. This fixes bug #73901 and should fix #70384.
  361. * XmlSerializationReader.cs: When reading an object element, return
  362. an Object instance if the element has no children. This fixes bug #73974.
  363. * XmlSerializationWriter.cs: Support writing XmlNode[] as a primitive
  364. type (it is written as an element with those nodes as children).
  365. 2005-03-08 Lluis Sanchez Gual <[email protected]>
  366. * XmlSchemaImporter.cs: Support importing schemas that define
  367. extra types in the standard xml schema namespace. When using encoded
  368. format, support the primitive types defined by the SOAP encoding
  369. namespace.
  370. 2005-03-04 Lluis Sanchez Gual <[email protected]>
  371. * ReflectionHelper.cs: Avoid endless loop.
  372. * XmlSchemas.cs: Added null check. Patches from MainSoft.
  373. 2005-02-07 Lluis Sanchez Gual <[email protected]>
  374. * XmlSerializationReader.cs: After reading an href element, skip the
  375. whole element (it may not be an empty element). This fixes bug #72265.
  376. 2005-01-25 Lluis Sanchez Gual <[email protected]>
  377. * XmlSchemaImporter.cs: When importing a default value of type enum,
  378. translate it from the schema value to the clr value.
  379. 2005-01-18 Gonzalo Paniagua Javier <[email protected]>
  380. * XmlSerializer.cs: only print the results if there's an error
  381. compiling.
  382. 2005-01-18 Gonzalo Paniagua Javier <[email protected]>
  383. * SerializationCodeGenerator.cs: don't use _config if it has not been
  384. assigned.
  385. 2005-01-18 Lluis Sanchez Gual <[email protected]>
  386. * XmlReflectionImporter.cs: Don't check the property type if it has
  387. an [XmlIgnore] attribute. This fixes bug #71332.
  388. 2005-01-14 Atsushi Enomoto <[email protected]>
  389. * SerializationCodeGenerator.cs,
  390. XmlSerializationWriterInterpreter.cs : exchanged attribute
  391. serialization orders (XmlAnyAttribute <-> XmlNamespaceDeclarations).
  392. xmlns attributes in XmlAnyAttribute are not written.
  393. 2005-01-12 Atsushi Enomoto <[email protected]>
  394. * SerializationCodeGeneratorConfiguration.cs,
  395. SerializationCodeGenerator.cs : Added some generation configuration:
  396. <generateAsInternal>
  397. write custom reader/writer as internal classes.
  398. <noreader>, <nowriter>
  399. They make generation of reader and/or writer optional.
  400. * XmlSerializerNamespaces.cs :
  401. Now it uses ListDictionary instead of Hashtable.
  402. * XmlSerializationWriter.cs : entries in XmlSerializerNamespaces are
  403. written unless there is already the same prefix-ns mapping.
  404. 2005-01-12 Lluis Sanchez Gual <[email protected]>
  405. * XmlTypeMapElementInfo.cs: Added new IndexOfElement method.
  406. * XmlSchemaImporter.cs: When importing a base type of a complex type,
  407. make sure that the base class is always imported as a class and not
  408. as an array. If it has been imported as array, import it again.
  409. This fixes bug #70839. Other minor fixes as well.
  410. * XmlSerializationWriter.cs: Fixed warning.
  411. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  412. * SerializationCodeGenerator.cs: Yet another generation fix.
  413. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  414. * SerializationCodeGenerator.cs: Fixed generation of enum literals.
  415. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  416. * XmlReflectionMember.cs: Added DeclaringType member.
  417. * XmlReflectionImporter.cs: When importing fields that belong to a
  418. base class, use the xml namespace of the base map for the member.
  419. This fixes bug #70309.
  420. 2004-11-30 Lluis Sanchez Gual <[email protected]>
  421. * XmlCodeExporter.cs, XmlSerializer.cs, XmlSchemaImporter.cs: Fixed some
  422. compilation warnings.
  423. 2004-11-24 Lluis Sanchez Gual <[email protected]>
  424. * SerializationSource.cs: Made SerializationSource abstract, and
  425. renamed Equals to BaseEquals to avoid missing GetHashCode warning
  426. (it does not really make sense in this case).
  427. * XmlSchemaExporter.cs, SerializationCodeGenerator.cs,
  428. XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  429. XmlSerializationReader.cs: Fixed warnings.
  430. 2004-10-19 Atsushi Enomoto <[email protected]>
  431. * XmlSerializationWriter.cs : When namespace is an empty string,
  432. XmlTextWriter.LookupPrefix() will raise an error. Just skip it in
  433. such case.
  434. 2004-10-01 Lluis Sanchez Gual <[email protected]>
  435. * MapCodeGenerator.cs: When the Object type is exported, export all
  436. derived maps. This was done in IncludeMetadata, but this method is
  437. not called by the xsd tool.
  438. * XmlCodeExporter.cs: In AddMappingMetadata, only generate the root
  439. attribute for primitive types and arrays.
  440. * XmlSchemaImporter.cs: Only export all object-derived maps if the
  441. Object type is explicitly referenced by an element.
  442. * XmlSerializationWriter.cs: Minor fix.
  443. 2004-09-28 Lluis Sanchez Gual <[email protected]>
  444. * CodeIdentifier.cs: MakeValid now returns "Item" for an empty string.
  445. This fixes bug #66877.
  446. 2004-09-21 Lluis Sanchez Gual <[email protected]>
  447. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  448. when reading a primitive value in encoded format using
  449. ReadReferencingElement, provide the type name and namespace
  450. since the xsi type may not be present in the xml element. This
  451. fixes bug #65929.
  452. 2004-09-15 Lluis Sanchez Gual <[email protected]>
  453. * MapCodeGenerator.cs: Moved generation of XmlInclude attributes from
  454. ExportDerivedTypes to the new ExportDerivedTypeAttributes method.
  455. * XmlReflectionImporter.cs: In ImportClassMapping, moved the call to
  456. ImportIncludedTypes to the end, to make sure that the current map has all
  457. needed data before derived maps are constructed.
  458. * XmlSchemaExporter.cs: Generate the base class of simple types that are
  459. not primitive types. Set the correct value for IsMixed in extended types.
  460. * XmlSchemaImporter.cs: In ImportSimpleContent, take into account that
  461. the base class of a simple type doesn't need to be a xsd type.
  462. All those patches fix bug #65654.
  463. 2004-09-03 Lluis Sanchez Gual <[email protected]>
  464. * XmlSerializer.cs: When the XmlReader is created by XmlSerializer, use
  465. Normalization==true by default.
  466. 2004-09-02 Lluis Sanchez Gual <[email protected]>
  467. * ReflectionHelper.cs, SoapReflectionImporter.cs, XmlReflectionImporter.cs:
  468. In CheckSerializableType, add the option of ignoring types with private
  469. constructors. Some kind of lists can be deserialized
  470. even if the constructor is private. See bug #61464.
  471. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  472. Before creating a list, check that it has a public constructor.
  473. * TypeData.cs: Added HasPublicConstructor property.
  474. 2004-09-01 Lluis Sanchez Gual <[email protected]>
  475. * SerializationCodeGenerator.cs: Generate correct "HasValue" check for
  476. value list serialization.
  477. * XmlSchemaImporter.cs: Added some null checks.
  478. 2004-08-25 Lluis Sanchez Gual <[email protected]>
  479. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  480. When deserializing an encoded method response, assign to the return value
  481. the first element of the message, whatever it is. The return type doesn't
  482. need to be Object, it seems to be true for all return types.
  483. 2004-07-26 Lluis Sanchez Gual <[email protected]>
  484. * MapCodeGenerator.cs: CreateFieldMember now adds the field to the class,
  485. no need to add it after the call.
  486. * SoapSchemaImporter.cs: Implemented 2.0 constructors.
  487. 2004-07-23 Lluis Sanchez Gual <[email protected]>
  488. * CodeGenerationOptions.cs: Made the class internal for the 1.1 profile.
  489. * ImportContext.cs: Implemented.
  490. * MapCodeGenerator.cs, SoapCodeExporter.cs, XmlCodeExporter.cs: Added new
  491. options for 2.0. Implemented support for generating properties instead of
  492. fields.
  493. * XmlSchemaImporter.cs: Added support for sharing types.
  494. 2004-07-15 Lluis Sanchez Gual <[email protected]>
  495. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for base64. This
  496. xsd type is not part of the last schema specification, but the google api
  497. uses it and ms.net accepts it.
  498. 2004-07-12 Lluis Sanchez Gual <[email protected]>
  499. * ReflectionHelper.cs: Fixed bug when registering a map as exported.
  500. Thanks to Juan C. Olivares.
  501. 2004-07-10 Lluis Sanchez Gual <[email protected]>
  502. * CodeExporter.cs: Added private constructor.
  503. * CodeGenerationOptions.cs: Set the correct enum values.
  504. * CodeIdentifier.cs: Added private constructor.
  505. * SchemaImporter.cs: Added internal constructor.
  506. * XmlMapping.cs, XmlSerializer.cs: 2.0 api fix.
  507. * XmlMemberMapping.cs, XmlSchemaImporter.cs, XmlSerializationWriter.cs: Added 2.0 stubs.
  508. * XmlSchemaProviderAttribute.cs, XmlSerializerAssemblyAttribute.cs,
  509. XmlSerializerVersionAttribute.cs: Set correct attribute usage.
  510. * XmlSerializationReader.cs: Added missing setter for DecodeName.
  511. 2004-07-08 Lluis Sanchez Gual <[email protected]>
  512. * XmlSerializer.cs: Fix fix.
  513. 2004-07-08 Lluis Sanchez Gual <[email protected]>
  514. * IXmlSerializerImplementation.cs: Compile as internal in NET_1_1.
  515. * ReflectionHelper.cs: New method for generating map keys.
  516. * SerializationCodeGenerator.cs: Added support for generating the serializer
  517. contract class, needed for 2.0.
  518. * SerializationSource.cs: Use Type[] instead of ArrayList for storing
  519. extra types.
  520. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Assign extra types
  521. as Type[]. Added check that makes sure that enums being serialized are
  522. public.
  523. * XmlMapping.cs: Added internal GetKey method.
  524. * XmlSerializer.cs: Added support for IXmlSerializerImplementation.
  525. Added first bits to support loading of serializers from pre-generated
  526. assemblies.
  527. * XmlSerializerFactory.cs: Mostly implemeted.
  528. 2004-07-02 Lluis Sanchez Gual <[email protected]>
  529. * CodeIdentifier.cs: Removed constructor for NET_2_0.
  530. * SoapCodeExporter.cs, SoapSchemaImporter.cs, XmlCodeExporter.cs,
  531. XmlMapping.cs, XmlMemberMapping.cs, XmlReflectionImporter.cs,
  532. XmlSchemaExporter.cs, XmlSchemaImporter.cs, XmlSchemas.cs,
  533. XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs,
  534. XmlSerializerNamespaces.cs: Added 2.0 stubs.
  535. * XmlMembersMapping.cs, XmlTypeMapping.cs: 2.0 fixage.
  536. * IXmlTextParser.cs, CodeExporter.cs, CodeGenerationOptions.cs,
  537. ImportContext.cs, SchemaImporter.cs, SchemaImporterExtension.cs,
  538. SchemaImporterExtensionCollection.cs, XmlDeserializationEvents.cs,
  539. XmlSchemaProviderAttribute.cs, XmlSerializationGeneratedCode.cs,
  540. XmlSerializerAssemblyAttribute.cs, XmlSerializerFactory.cs,
  541. XmlSerializerVersionAttribute.cs: New files. More 2.0 stubs.
  542. 2004-07-02 Lluis Sanchez Gual <[email protected]>
  543. * SerializationCodeGenerator.cs: Generate check that the object being
  544. serialized has a known type. Little cast fix.
  545. * XmlCustomFormatter.cs: Little fix in Single conversion.
  546. 2004-07-01 Lluis Sanchez Gual <[email protected]>
  547. * TypeData.cs: In the constructor, set the correct xml type name if the
  548. type is an array (for example, instead of StringCollection, use
  549. ArrayOfString).
  550. 2004-06-22 Lluis Sanchez Gual <[email protected]>
  551. * ReflectionHelper.cs: Correctly detect private types.
  552. * XmlCodeExporter.cs: Implemented missing method.
  553. * XmlSchemaImporter.cs: Allow import of root primitive types.
  554. 2004-06-18 Atsushi Enomoto <[email protected]>
  555. * CodeIdentifier.cs, CodeIdentifiers.cs, MapCodeGenerator.cs,
  556. SerializationCodeGenerator.cs, SerializationSource.cs,
  557. TypeTranslator.cs, XmlAttributeOverrides.cs, XmlCustomFormatter.cs,
  558. XmlSerializationReader.cs, XmlSerializationWriter.cs,
  559. XmlSerializer.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs
  560. : Globalization fixes.
  561. In XmlCustomFormatter.GenerateToXmlString() time was not
  562. generated correctly.
  563. Replaced all CRLF XmlAttributeOverrides.cs into LF.
  564. 2004-06-13 Gert Driesen <[email protected]>
  565. * XmlSerializationWriter.cs: changed signature of protected method
  566. FromByteArrayBase64 to match MS.NET
  567. 2004-06-10 Lluis Sanchez Gual <[email protected]>
  568. * MapCodeGenerator.cs, SoapCodeExporter.cs: Generate the same XmlInclude
  569. attributes that MS.NET generates.
  570. * SerializationCodeGenerator.cs: Avoid duplicate generation of maps in the
  571. same reader/writer.
  572. * XmlCodeExporter.cs: Added support for ignore flag in maps and members.
  573. * XmlReflectionImporter.cs: Changed GetReflectionMembers to match
  574. MS.NET member ordering. Patch by David Taylor.
  575. * XmlSchemaImporter.cs: When generating a choice member, set the ignore
  576. flag. The generated enum must also not be included in the schema.
  577. * XmlTypeMapMember.cs: Added ignore flag.
  578. * XmlTypeMapping.cs: The AttributeMembers property now returns the
  579. attributes in the correct order.
  580. 2004-06-03 Gert Driesen <[email protected]>
  581. * XmlSerializationReader.cs: added missing protected members
  582. to fix API compatibility with MS.NET
  583. * XmlSerializationWriter.cs: added missing protected members
  584. to fix API compatibility with MS.NET
  585. 2004-06-02 Lluis Sanchez Gual <[email protected]>
  586. * XmlSerializationReader.cs: Support schamea instance namespaces other than
  587. the 2001 one when reading the xsi type.
  588. * MapCodeGenerator.cs: Take into account that the root namespace and element
  589. name may have changed from one export to another of the same type. In
  590. this case the class attributes need to be regenerated.
  591. * SoapCodeExporter.cs, XmlCodeExporter.cs: Take the enum name from XmlType,
  592. not ElementName. Idem for namespace.
  593. * XmlReflectionImporter.cs: Set nullable property of XmlTypeMapping.
  594. * XmlRootAttribute.cs: Default value for nullable is true.
  595. * XmlSchemaImporter.cs: The root name for a class may change in some
  596. scenarios (for example, when the type is initially exported as part of
  597. another type and later exported as a root type).
  598. * XmlSerializationReader.cs: In GetXsiType(), if the type attribute is not
  599. found using the standard namespace, try getting the type using
  600. the 2000/10 and 1999 namespaces.
  601. * XmlTypeMapping.cs: Added IsNullable property. Updated SetRoot method ;-)
  602. 2004-05-26 Lluis Sanchez Gual <[email protected]>
  603. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  604. In encoded format, primitive types can be null. Read them using
  605. ReadReferencingElement, that already checks for the null tag.
  606. 2004-05-25 Lluis Sanchez Gual <[email protected]>
  607. * XmlSerializationReader.cs: Check for empty element when reading an array
  608. element. This fixes bug #59003. Thanks Atsushi!
  609. 2004-05-07 Lluis Sanchez Gual <[email protected]>
  610. * XmlSerializationWriter.cs: Implemented some missing methods.
  611. In .NET 1.0, encoded null elements use the attribute null="1", while in
  612. 1.1 the attribute is nil="true".
  613. * XmlTypeMapping.cs: Little fix for nested classes.
  614. 2004-05-07 Lluis Sanchez Gual <[email protected]>
  615. * XmlReflectionImporter.cs: Don't reset the internal tables at every
  616. ImportMembersMapping call. This fixes bug #58112. The problem is that
  617. it imported two different arrays (only different in the array item
  618. namespace) with the same name. Not sure what was this Reset needed for,
  619. everyting seems to work without it.
  620. 2004-05-05 Lluis Sanchez Gual <[email protected]>
  621. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  622. When deserializing an encoded method response, if the return type of the
  623. method is Object, assign to it the first element of the message, whatever
  624. it is.
  625. * XmlSerializationReader.cs:
  626. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Set IsReturnValue of
  627. the imported member.
  628. * TypeTranslator.cs: Added method to safely get a primitive TypeData.
  629. * XmlSerializationReader.cs: Don't throw an exception when the CLR type for
  630. a given xsi type is not found. Just read it as primitive type.
  631. * XmlTypeMapMember.cs: Added IsReturnValue property.
  632. * XmlTypeMapping.cs: Added ReturnMember property.
  633. * XmlSerializer.cs: Reference System.Data when compiling the serializer.
  634. 2004-05-05 Lluis Sanchez Gual <[email protected]>
  635. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  636. When reading an object using the typeof(object) map, an emty xsi:type
  637. means that it has to read the contents into an XmlNode[].
  638. * TypeData.cs: Return the correct full name for inner classes.
  639. * XmlSchemaImporter.cs: Improved detection of types that represent
  640. "anyType", and must be mapped to XmlElement, XmlNode or Object.
  641. * XmlSerializationReader.cs: In GetXsiType(), find the type attribute using
  642. the correct namespace.
  643. In ReadTypedPrimitive(), read the element as XmlNode[] if the type is
  644. not known.
  645. 2004-05-05 Atsushi Enomoto <[email protected]>
  646. * XmlSerializationWriter.cs : It do not have to handle schema
  647. namespace as special one.
  648. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  649. * XmlSerializationReaderInterpreter.cs: Removed the check for null
  650. AttributeMembers collection. Even if there are no attribute members,
  651. attributes need to be read.
  652. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  653. * XmlSerializationReader.cs: In ReadSerializable(), take into account that
  654. the IXmlSerializable object may not read all the EndElement it read.
  655. This fixes bug #57413.
  656. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  657. * XmlSerializer.cs: Enable serializer generation by default.
  658. 2004-04-20 Lluis Sanchez Gual <[email protected]>
  659. * TypeTranslator.cs: Mapped again anyUri, but now it is mapped to String.
  660. * XmlSchemaImporter.cs: If a map was initially imported as a class, but it
  661. turns out that it is an array, import it again as array. This fixes
  662. bug #57133.
  663. 2004-04-15 Lluis Sanchez Gual <[email protected]>
  664. * XmlSchemaExporter.cs: When checking if a map has been exported or not,
  665. don't use type name for array types, since we can have different classes
  666. that represent the same array type (for example StringCollection and
  667. string[]).
  668. 2004-04-14 Lluis Sanchez Gual <[email protected]>
  669. * TypeTranslator.cs, XmlCustomFormatter.cs: Removed map from Uri to anyUri,
  670. not present in MS.NET.
  671. * XmlSerializationWriter.cs: Improved error message.
  672. 2004-03-30 Lluis Sanchez Gual <[email protected]>
  673. * SerializationCodeGenerator.cs, XmlReflectionImporter.cs,
  674. XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs:
  675. Support deserialization of members of type XmlDocument. This fixes #56169.
  676. 2004-03-25 Lluis Sanchez Gual <[email protected]>
  677. * SerializationCodeGenerator.cs: Generate an integer for unknown enum values.
  678. Use a special method to generate default values, since default enum values
  679. will come as integers, so a special cast is needed.
  680. * XmlSerializationReaderInterpreter.cs,
  681. * SerializationSource.cs, SoapAttributeAttribute.cs, SoapAttributeOverrides.cs,
  682. SoapAttributes.cs, SoapElementAttribute.cs, SoapEnumAttribute.cs,
  683. SoapTypeAttribute.cs, XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs,
  684. XmlArrayAttribute.cs, XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs,
  685. XmlAttributeAttribute.cs, XmlAttributeOverrides.cs, XmlAttributes.cs,
  686. XmlChoiceIdentifierAttribute.cs, XmlElementAttribute.cs, XmlElementAttributes.cs,
  687. XmlEnumAttribute.cs, XmlReflectionMember.cs, XmlRootAttribute.cs,
  688. XmlTextAttribute.cs, XmlTypeAttribute.cs: Had to change the implementation
  689. of SerializationSource. It can't keep and use the XmlAttributeOverride
  690. instances as key values, since those instances can be modified after the
  691. xml map has been generated. Now, SerializationSource generates a unique
  692. string hash from XmlAttributeOverride and uses it for comparisons.
  693. 2004-03-24 Lluis Sanchez Gual <[email protected]>
  694. * SerializationCodeGenerator.cs: Several fixes: generate valid names for
  695. WriteRoot_ and ReadRoot_ methods. Cast result of ReadTypedPrimitive to
  696. the adequate type. Set the default value of members that do have a default
  697. value. Other minor fixes.
  698. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: All maps must derive
  699. from typeof(object) map, even those that have another base class.
  700. * XmlCustomFormatter.cs: Fixed generation of conversion from char to string.
  701. It must serialize the char as number, not as character.
  702. * XmlSerializationReaderInterpreter.cs: Set the default value of members
  703. that do have a default value.
  704. * XmlTypeMapping.cs: Added property MembersWithDefault, which returns a list
  705. of members that have a default value.
  706. 2004-03-15 Lluis Sanchez Gual <[email protected]>
  707. * XmlSchemaImporter.cs: Import IXmlSerializable types as DataSet, like in MS.NET.
  708. This fixes bug #55547.
  709. 2004-03-13 David Sheldon <[email protected]>
  710. * XmlSerializationWriter.cs: Implement WriteElementStringRaw with a
  711. byte [].
  712. 2004-03-13 David Sheldon <[email protected]>
  713. * XmlTextAttribute.cs: Initialise dataType with zero-length string.
  714. fixes test case that tests for this directly.
  715. * TypeTranslator.cs: Check for new zero-length dataType so we don't reject
  716. it. Treat it as null.
  717. 2004-03-12 Lluis Sanchez Gual <[email protected]>
  718. * CodeIdentifier.cs: Limit the length of identifiers.
  719. * MapCodeGenerator.cs: Do not generate base class if it is an XmlNode.
  720. Generate types using GetDomType, so if the type is an array, it creates
  721. the correct combination of types.
  722. * SerializationCodeGenerator.cs, XmlTypeMapping.cs: When trying to parse
  723. an enum, if the string is empty and the enum has [Flags], then return 0
  724. as value. This fixes bug #55509.
  725. * XmlSchemaImporter.cs: Added check for redefines of attribute groups. They
  726. are not supported. Another check: a simple type cannot be enum if it does
  727. not have any enum facet.
  728. And another fix: use string as default type for attribtues.
  729. * XmlSchemas.cs: Fixed search for schema elements. An schema may import
  730. other schemas. An imported schema would not be in the table, but its
  731. elements (although from another namespace) would be in the schema that
  732. imported it. So, we need know to check for every schema in the table.
  733. * XmlSerializer.cs: Added environment variable to help debugging code
  734. generator output.
  735. 2004-02-27 Lluis Sanchez Gual <[email protected]>
  736. * MapCodeGenerator.cs: Added IncludeMetadata property, which returns a list
  737. of XmlInclude attributes needed for the service class.
  738. IsMapExported: Removed check for object type, since it can now be exported.
  739. SetMapExported: Use the type name as key, since different importers may
  740. be used to create a map for the same type.
  741. GenerateClassInclude: Updated signature.
  742. * SoapCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  743. GenerateClassInclude(): Updated signature.
  744. * SoapReflectionImporter.cs: Support SoapIncludeAttribute in array members.
  745. Implemented IncludeTypes.
  746. * XmlCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  747. GenerateClassInclude(): Updated signature.
  748. * XmlMemberMapping.cs: Added missing property.
  749. * XmlReflectionImporter.cs: GetReflectionMembers must be private.
  750. Implemented IncludeTypes().
  751. * XmlSchemaExporter.cs: Added support for exporting typeof(object).
  752. * XmlSchemaImporter.cs: Changed the implementation of ImportDerivedTypeMapping.
  753. Now, it does a regular import and then assign the required base class to
  754. the imported map. In this way it is possible to assign a base type for a
  755. map that was previously imported without a base type.
  756. * XmlTypeMapping.cs: Added internal method SetRoot().
  757. 2004-02-24 Lluis Sanchez Gual <[email protected]>
  758. * SerializationCodeGenerator.cs: Added support for generation of readers
  759. and writers for several maps in a single class. Added support for
  760. XmlMemberMapping. Fixed generation of serializers that use encoded format.
  761. * SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
  762. SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs,
  763. XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
  764. XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
  765. XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
  766. XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
  767. XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
  768. Added InternalEquals method.
  769. * XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
  770. * SoapReflectionImporter.cs: Set SerializationSource to generated maps.
  771. * XmlCustomFormatter.cs: Fixed little bug.
  772. * XmlMapping.cs: Added Source property. This a global identifier of the map.
  773. * XmlReflectionImporter.cs: Set SerializationSource to generated maps.
  774. * XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
  775. mapping members.
  776. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
  777. * XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
  778. correctly used.
  779. * XmlSerializer.cs: Added support for generation of serializers.
  780. 2004-02-18 Atsushi Enomoto <[email protected]>
  781. * SerializationCodeGenerator.cs,
  782. SerializationCodeGeneratorConfiguration.cs:
  783. Added <namespaceImports> feature ("using XXX;" generation) support.
  784. 2004-02-17 Lluis Sanchez Gual <[email protected]>
  785. * XmlSerializationWriter.cs: When writing the root element, use a prefix
  786. if the namespace of the element is defined in the list of namespaces
  787. provided to the XmlSerializer. This fixes bug #54427.
  788. 2004-02-16 Lluis Sanchez Gual <[email protected]>
  789. * MapCodeGenerator.cs: Modified some methods to make them easier to reuse.
  790. Those are basically methods to add custom attributes to element and
  791. attribute members.
  792. * SoapCodeExporter.cs: Track changes in MapCodeGenerator.
  793. * XmlCodeExporter.cs: Better support for custom attribute generation for
  794. method parameters.
  795. * XmlCustomFormatter.cs: Added null check.
  796. * XmlSchemaImporter.cs: do not set IsOptionalValueType property to
  797. attributes that are required.
  798. * XmlSerializationReaderInterpreter.cs: Method parameters may be serialized
  799. as attributes.
  800. 2004-02-11 Lluis Sanchez Gual <[email protected]>
  801. * MapCodeGenerator.cs: Changed some methods to make them easier to reuse.
  802. * TypeTranslator.cs: NMTOKENS, ENTITIES and IDREFS must be mapped to
  803. string, not string[].
  804. * XmlCodeExporter.cs: AddMappingMetadata(): improved attribute generation
  805. for array parameters. In general, improved generation of schema Form
  806. property.
  807. * XmlMemberMapping.cs: Added Form property.
  808. * XmlReflectionImporter.cs: Types that inherit from other types cannot be
  809. simple types. Added a check for this.
  810. * XmlSchemaExporter.cs: several fixes: better generation of IsMixed and
  811. Form. The key used to determine if a map has been already generated must
  812. include the XmlType, since there can be two xml types with the same CLR
  813. type and namespace (for example, they may differ in the Form property).
  814. * XmlSchemaImporter.cs: When getting the TypeData for a schema element,
  815. also return the corresponding map. There can be two maps that have the
  816. same TypeData, so given a TypeData is not always possible to get the
  817. correct corresponding map (for example two arrays that only differ in the
  818. Form of the item).
  819. * XmlTypeMapping.cs: Added method to set if a map can represent a simple
  820. type or not.
  821. 2004-02-04 Lluis Sanchez Gual <[email protected]>
  822. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for the
  823. normalizedString schema type.
  824. 2004-02-04 Lluis Sanchez Gual <[email protected]>
  825. * XmlReflectionImporter.cs: Get the class members using the right order.
  826. * XmlSerializationWriterInterpreter.cs: Removed unneeded code.
  827. A member with the Any attribute can also contain text. Support this.
  828. * XmlTypeMapMemberElement.cs: Added CanBeText property.
  829. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  830. * XmlSchemaImporter.cs: Redefinition of types are not supported. Added a
  831. check.
  832. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  833. * MapCodeGenerator.cs: Added helper method for generating an attribute
  834. parameter of type enum.
  835. * XmlAttributeAttribute.cs: little fix.
  836. * XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
  837. for method parameters.
  838. * XmlMemberMapping.cs: Improved support for members of type "any".
  839. * XmlReflectionImporter.cs: Improved assignment of the attribute form.
  840. If the namespace is explicitly specified, then the form should be
  841. qualified. Also fixed issues with the namespace assigned to attributes.
  842. This should fix bug #53384.
  843. * XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
  844. methods that return values of type "any". Changed the methods
  845. AddSchemaArrayElement and AddSchemaElement, so instead of adding the
  846. element, return it, and the caller must add it to the collection.
  847. Other fixes in attribute generation.
  848. * XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
  849. generate the AnyType mapping from the type described in the schema.
  850. Small fixes regarding IsMixed property of complex types (it means that
  851. the type can contain text, so the XmlTextAttribute must be generated).
  852. * XmlSerializationReaderInterpreter.cs: Reading of members by-order must
  853. be only used in the bare+encoded format.
  854. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  855. * SoapReflectionImporter.cs: Types included with SoapInclude don't need
  856. to be derived types of the one that has the attribute.
  857. * XmlReflectionImporter.cs: Recursively register the derived maps of a given
  858. map to the parent map. This fixes #53246.
  859. * XmlSerializationWriter.cs: Some fixes regarding empty namespaces.
  860. 2004-01-22 Lluis Sanchez Gual <[email protected]>
  861. * XmlSerializationReaderInterpreter.cs: When deserializing an XmlElement,
  862. do not check the root element name, since it can be any name. This fixes
  863. bug #53201.
  864. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  865. * XmlReflectionImporter.cs: Throw exception if a value type member has the
  866. IsNullable=true flag. This fixes bug #52906.
  867. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  868. * MapCodeGenerator.cs, XmlSchemaImporter.cs: Attributes are allways optional,
  869. so a 'specified' member has always to be generated.
  870. * TypeData.cs: Fixed check for value type.
  871. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  872. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs,
  873. XmlTypeMapMember.cs, MapCodeGenerator.cs, SoapCodeExporter.cs, TypeData.cs,
  874. XmlCodeExporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs,
  875. XmlSchemaImporter.cs, XmlSerializationReaderInterpreter.cs,
  876. XmlSerializationWriterInterpreter.cs, XmlTypeMapMember.cs:
  877. Added support for value specifiers members. This fixes bug #53024.
  878. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  879. * XmlSchemaExporter.cs: Don't create referenced element if it has already
  880. been created (two types could be referencing the same schema element).
  881. 2004-01-19 Lluis Sanchez Gual <[email protected]>
  882. * XmlReflectionImporter.cs: Read IsNullable flag from XmlArrayAttribute.
  883. * XmlSerializationWriterInterpreter.cs: Interpret IsNullable flag for
  884. arrays. This fixes bug #53018.
  885. 2004-01-14 Lluis Sanchez Gual <[email protected]>
  886. * MapCodeGenerator.cs: Use type namespace instead of root namespace as
  887. default namespace for members.
  888. * XmlCodeExporter.cs: Fixed generation of XmlRootAttribute.
  889. * XmlReflectionImporter.cs: Fixed the assignment of root and type
  890. namespaces.
  891. * XmlSchemaExporter.cs: Use type namespace instead of root namespace as
  892. default namespace for members. In AddSchemaElement, if the element is
  893. a root element never use a "ref" attribute.
  894. * XmlSchemaImporter.cs: Fixed issue when importing root elements.
  895. 2004-01-13 Lluis Sanchez Gual <[email protected]>
  896. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  897. XmlTypeMapping.cs: more namespace fixes.
  898. 2004-01-13 Lluis Sanchez Gual <[email protected]>
  899. * XmlReflectionImporter.cs: type namespace must never be used as root
  900. namespace. This fixes bug #52772.
  901. 2004-01-08 Nick Drochak <[email protected]>
  902. * XmlSchemaImporter.cs: Removed unused variable.
  903. 2004-01-07 Lluis Sanchez Gual <[email protected]>
  904. * XmlReflectionImporter.cs: Ignore Namespace property when applying
  905. the [XmlType] attribute to an enum. This fixes bug #52607.
  906. 2003-12-19 Lluis Sanchez Gual <[email protected]>
  907. * SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
  908. option that allow serialization of private types.
  909. 2003-12-18 Eran Domb <[email protected]>
  910. * TypeTranslator.cs : Change primtive types map.
  911. 2003-12-18 Eran Domb <[email protected]>
  912. * XmlReflectionImporter.cs (ImportListMapping): Adding the included types of the list as a derived
  913. classes of object.
  914. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  915. * XmlSchemaExporter.cs: AddSchemaElement, use XmlTypeMapElementInfo.IsPrimitive
  916. to check if a type is primitive, instead of Type.IsPrimitive, since CLR
  917. primitive types are not the same as XML primitive types. Patch proposed
  918. by Mordechai Taitelman. This fixes bug #52228.
  919. * XmlSerializationWriter.cs: Fixes in WriteNullTagEncoded and WriteNullTagLiteral.
  920. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  921. * XmlReflectionImporter.cs: Little fix.
  922. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  923. * XmlReflectionImporter.cs: Type specified with XmlIncludeAttribute don't
  924. need to be derived types of the includer. This fixes bug #52152.
  925. Added null check for Name property of XmlEnumAttribute. This fixes
  926. bug #52155.
  927. * XmlSerializationReader.cs: Fixed some error messages.
  928. * XmlSerializationReaderInterpreter.cs: Check that the root element has
  929. the correct local name and namespace. This fixes bug #52038.
  930. Throw exception if enum value can't be parsed.
  931. * XmlTypeMapping.cs: Don't try to parse numeric enum values. This fixes
  932. bug #52041.
  933. 2003-12-12 Lluis Sanchez Gual <[email protected]>
  934. * MapCodeGenerator.cs: Added support for [Flags] enum.
  935. * XmlCodeExporter.cs: Do not add XmlElement attributes if the member is Any.
  936. * XmlSchemaImporter.cs: Implemented ImportAnyType(). Improved import of
  937. encoded array type. Added support for enums with [Flags].
  938. In encoded format, unqualified types are schema types by default.
  939. 2003-12-11 Lluis Sanchez Gual <[email protected]>
  940. * XmlCodeExporter.cs: Little fix.
  941. * XmlSchemaExporter.cs: In rpc format, make sure that parameters with the
  942. same name have the same type.
  943. * XmlSchemaImporter.cs: Support xml:lang.
  944. * XmlSerializationReader.cs, XmlSerializationWriterInterpreter.cs:
  945. fixed wrong namespace for the arrayType attribute.
  946. 2003-12-08 Lluis Sanchez Gual <[email protected]>
  947. * SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
  948. XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  949. When using rpc format on a web service, members don't need to have any
  950. specific namespace. Added a flag for turning namespace check on/off.
  951. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  952. * XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
  953. delayedListFixups.Count cannot be used because elementes from
  954. delayedListFixups are deleted sometimes.
  955. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  956. * XmlReflectionImporter.cs: Indexer properties must not be serialized.
  957. This fixes bug #51060.
  958. 2003-11-24 Lluis Sanchez Gual <[email protected]>
  959. * XmlSerializationWriterInterpreter.cs: Applied patch by Eran Domb:
  960. If type is Enum the code use type.GetElememtType() instead of
  961. Enum.GetUnderlyingType().
  962. 2003-11-12 Lluis Sanchez Gual <[email protected]>
  963. * XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs:
  964. Removed several TODOs already done.
  965. 2003-11-03 Lluis Sanchez Gual <[email protected]>
  966. * XmlCustomFormatter.cs: Added support for anyUri type. This fixes
  967. bug #50041.
  968. 2003-10-20 Lluis Sanchez Gual <[email protected]>
  969. * ReflectionHelper.cs: In CheckSerializableType() check that the type
  970. is public.
  971. * XmlSerializationWriter.cs: Added check for circular references.
  972. This fixes bug #49879.
  973. 2003-10-20 Lluis Sanchez Gual <[email protected]>
  974. * ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
  975. can't be serialized. This fixes bug #49878.
  976. * TypeData.cs: In ListItemType check that the collection has a valid
  977. Add method and report an error if not.
  978. * XmlReflectionImporter.cs: Added CheckSerializableType check call when
  979. reflecting a collection.
  980. 2003-10-18 Lluis Sanchez Gual <[email protected]>
  981. * SoapReflectionImporter.cs: Support element references for enum values in
  982. encoding format. This fixes bug #49568.
  983. * XmlSerializationReaderInterpreter.cs: In encoded format, do not check
  984. the name and namespace of the wrapper element. MS.NET doesn't do it.
  985. This fixes bug #49729.
  986. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  987. * MapCodeGenerator.cs: Made MapCodeGenerator internal.
  988. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  989. * MapCodeGenerator.cs: New file. Moved here all code that is common
  990. between XmlCodeExporter and SoapCodeExporter.
  991. * SoapCodeExporter.cs: Implemented.
  992. * XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
  993. * XmlSerializationReaderInterpreter.cs: Fixed problem when reading
  994. encoded bare parameter list.
  995. * XmlTypeMapping.cs: Added method for getting member element by index.
  996. 2003-10-14 Atsushi Enomoto <[email protected]>
  997. * XmlSchemas.cs : Implemented IsDataSet().
  998. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  999. * SoapCodeExporter.cs: Initial implementation of AddMappingMetadata().
  1000. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
  1001. in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
  1002. * SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
  1003. * XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
  1004. and whether it uses encoded or literal format.
  1005. * XmlSchemaExporter.cs: Little fixes.
  1006. 2003-10-10 Lluis Sanchez Gual <[email protected]>
  1007. * XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
  1008. need to be of type SOAP-ENC:Array, it can be a restriction of it.
  1009. 2003-10-10 Lluis Sanchez Gual <[email protected]>
  1010. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
  1011. Read only properties are only serialized if the type is an array.
  1012. 2003-10-09 Lluis Sanchez Gual <[email protected]>
  1013. * SoapReflectionImporter.cs, XmlReflectionImporter.cs,
  1014. SoapReflectionImporter.cs: Fixed bug #94694. Check for public constructor
  1015. is not needed for value types.
  1016. 2003-10-08 Lluis Sanchez Gual <[email protected]>
  1017. * XmlSerializer.cs, XmlSerializationWriter.cs: Fixed bug #49353
  1018. (XmlSerializer.Serialize() handles namespace parameter incorrectly)
  1019. 2003-10-05 Lluis Sanchez Gual <[email protected]>
  1020. * XmlReflectionImporter.cs, SoapReflectionImporter.cs: Fixed bug #49349
  1021. 2003-10-04 Lluis Sanchez Gual <[email protected]>
  1022. * XmlSchemaExporter.cs: Keep track of elements being exported.
  1023. * XmlSchemas.cs: Removed unneeded catch.
  1024. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  1025. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  1026. Fixed handling of members with XmlTextAttribute that are arrays.
  1027. * TypeData.cs: IsComplexType now returns true for XmlNode.
  1028. * XmlSerializer.cs: Added check for null mapping in FromMappings.
  1029. * XmlTypeMapping.cs: Added helper method FindTextElement.
  1030. 2003-09-28 Lluis Sanchez Gual <[email protected]>
  1031. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs:
  1032. Added support for IncludeInSchema flag.
  1033. * SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  1034. * XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
  1035. methods. Added support for IncludeInSchema flag.
  1036. * XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  1037. Added support for IncludeInSchema flag.
  1038. * XmlTypeAttribute.cs: Set includeInSchema to true by default.
  1039. * XmlTypeMapping.cs: Added IncludeInSchema property.
  1040. 2003-09-25 Lluis Sanchez Gual <[email protected]>
  1041. * SoapIncludeAttribute.cs: Added AllowMultiple option. This fixes bug #48877.
  1042. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  1043. * XmlCustomFormatter.cs: added support for additional string types in
  1044. GenerateToXmlString().
  1045. * XmlSchemaExporter.cs: Fixed generation of XmlMembersMapping using
  1046. encoded format.
  1047. 2003-09-11 Lluis Sanchez Gual <[email protected]>
  1048. * SoapSchemaImporter.cs: implemented.
  1049. * XmlReflectionImporter.cs: Changed nullable default for array items to true.
  1050. * XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
  1051. * XmlSchemaImporter.cs: more support for encoded format.
  1052. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  1053. * SerializationCodeGenerator.cs: Minor fixes.
  1054. * SoapReflectionImporter.cs: More fixes.
  1055. * SoapSchemaExporter.cs: implemented.
  1056. * SoapSchemaImporter.cs: Initial implementation.
  1057. * TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
  1058. and ParseArrayType
  1059. * XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
  1060. * XmlMemberMapping.cs: Minor fixes.
  1061. * XmlMembersMapping.cs: added some convenient constructors.
  1062. * XmlSchemaExporter.cs: Added support for encoded format.
  1063. * XmlSchemaImporter.cs: Added support for encoded format.
  1064. * XmlSerializationReader.cs: changed some string literals by constants.
  1065. Implemented ParseWsdlArrayType.
  1066. * XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
  1067. custom attributes.
  1068. * XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
  1069. * XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
  1070. WriteAttribute to write custom attributes.
  1071. * XmlSerializer.cs: added some namespace constants.
  1072. * XmlTypeMapping.cs: added GetSchemaArrayName method.
  1073. 2003-09-01 Lluis Sanchez Gual <[email protected]>
  1074. * XmlSchemaImporter.cs: Implemented ImportMembersMapping.
  1075. * XmlTypeMapMemberElement.cs: Little fix.
  1076. * XmlTypeMapping.cs: Added AllElementInfos property in ClassMap.
  1077. * XmlCustomFormatter.cs: Added GenerateToXmlString and GenerateFromXmlString
  1078. methods.
  1079. * SerializationCodeGenerator.cs, SerializationCodeGeneratorConfiguration.cs:
  1080. Added.
  1081. 2003-08-29 Lluis Sanchez Gual <[email protected]>
  1082. * SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  1083. * XmlMemberMapping.cs: Changed constructor.
  1084. * XmlReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  1085. * XmlSchemaImporter.cs: Implemented ImportMembersMapping().
  1086. * XmlSerializationReaderInterpreter.cs: Added some helper methods. Changed visibility.
  1087. * XmlSerializationWriterInterpreter.cs: Changed visibility.
  1088. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  1089. * XmlSerializer.cs: Fix in Deserialize() method.
  1090. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  1091. * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
  1092. * XmlSchemas.cs: Find method: make sure the returned object belongs to
  1093. the requested type.
  1094. * XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
  1095. Add null checks for eventSource.
  1096. * XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
  1097. * XmlSerializationWriter.cs: In Initialize method, initialize the provided
  1098. namespece declarations. Virtual method WriteObject not needed any more.
  1099. In WriteStartElement, write the provided namespaces.
  1100. * XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
  1101. Added GetTypeMap method, that returns the map for a given type. Added some
  1102. virtual methods, so writer behavior can be extended at several places by
  1103. derived classes.
  1104. * XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
  1105. methods CreateReader and CreateWriter are not called unless no type or
  1106. type mapping was provided in the constructor.
  1107. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  1108. * XmlSchemaImporter.cs: ImportTypeMapping doesn't need to check if the
  1109. schema type it is importing is a class or an array. It will always
  1110. be a class.
  1111. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  1112. * XmlSerializationWriterInterpreter.cs: any element members can be serialized
  1113. as text nodes. Support it.
  1114. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  1115. * CodeIdentifier.cs: Fixed MakeValid method.
  1116. * TypeTranslator.cs: Added support for more primitive types. Added
  1117. GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
  1118. maps by default.
  1119. * XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
  1120. are different from the type ns and name.
  1121. Generate class and field comments.
  1122. Fixed default attribute generation. In elements with ref attribute, it has to be
  1123. generated in the referred attribute.
  1124. * XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
  1125. Added suport for text nodes in members of type "any".
  1126. * XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
  1127. content.
  1128. * XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
  1129. * XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
  1130. that have already been declared.
  1131. WriteStartElement(): elements from schema namespace are always written with ns prefix.
  1132. * XmlTypeMapMember.cs: Added documentation property.
  1133. * XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
  1134. represents a simple type.
  1135. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  1136. * XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
  1137. stuff.
  1138. * SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
  1139. * TypeData.cs: Added property that returns a TypeData that represents an array of
  1140. the given TypeData.
  1141. * TypeTranslator.cs: Added GetArrayName() method.
  1142. Added TypeDatas for missing primitive types.
  1143. * XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
  1144. XmlRootAttribute. Added the namespace to all attributes being generated.
  1145. Other fixes in the generation of code.
  1146. * XmlReflectionImporter: store the namespace of the type in the maps.
  1147. * XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
  1148. class can generate text. Do not export inherited attributes of a class.
  1149. Use the new root namespace stored in the map when generating the root element.
  1150. * XmlSerializationWriter: Always write a prefix when writing a qname, even if the
  1151. namespace is the default namespace.
  1152. * XmlSerializationWriterInterpreter.cs: fixed missing "else".
  1153. * XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
  1154. namespace instead of the map namespace (which can be different if the type
  1155. has a XmlRoot element).
  1156. * XmlTypeMapMember.cs: Set the default value of the DefaultValue property
  1157. to System.DBNull.Value.
  1158. * XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
  1159. the collection if it has not yet been created.
  1160. * XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
  1161. of the type. It may be different from the namespace of the map if the type
  1162. has a XmlRoot element. Also added IsSimpleType property.
  1163. In ClassMap, added AllMembers property.
  1164. 2003-07-30 Lluis Sanchez Gual <[email protected]>
  1165. * TypeData.cs: Added new constructor and variables to allow the creation of
  1166. a TypeData without a Type. Added ListItemTypeData property.
  1167. * XmlTypeMapping.cs: Added property for checking if a ListMap represents an
  1168. array of arrays. Added also a property to get the nested array map.
  1169. * XmlCodeExporter.cs: First implementation of code exporter.
  1170. 2003-07-22 Lluis Sanchez Gual <[email protected]>
  1171. * TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
  1172. * XmlSerializationWriterInterpreter.cs: Write XmlAttributes with the prefix
  1173. they have.
  1174. 2003-07-15 Lluis Sanchez Gual <[email protected]>
  1175. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Avoid generating two
  1176. maps with the same name and namespace. To avoid this, maps must be registered
  1177. using the real map namespace, not the default namespace (the namespace can
  1178. change if the type has a XmlType or SoapType attribute).
  1179. * XmlArrayItemAttribute.cs: Set IsNullable to true by default.
  1180. * XmlSchemaExporter.cs: Implemented method ExportMembersMapping.
  1181. Other small fixes.
  1182. * XmlSerializationWriterInterpreter.cs: GetStringValue: return null if the value
  1183. is null.
  1184. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  1185. * SoapReflectionImporter.cs: Set the BaseMap property of map. Small fix.
  1186. * TypeData.cs: IsComplexType now returns true for IXmlSerializable types.
  1187. * XmlAttributes.cs: Fixed bug when reading the value of DefaultValueAttribute.
  1188. * XmlReflectionImporter.cs: Set the BaseMap property of map. Several small fixes.
  1189. * XmlSchemaExporter.cs: Implemented.
  1190. * XmlSchemas.cs: Support schemas with TargetNamespace set to null.
  1191. * XmlSerializationWriter.cs: FromXmlQualifiedName (): return null if the qname is null.
  1192. GetNamespacePrefix (): no need to add xmlns attribute if namespace is null.
  1193. * XmlSerializationWriterInterpreter.cs: Fixed management of default values.
  1194. GetStringValue() returns null if the value is null, instead of empty string.
  1195. (attributes with null values are not written).
  1196. * XmlTypeMapElementInfo.cs: added IsTextElement and IsUnnamedAnyElement properties.
  1197. * XmlTypeMapMemberAttribute.cs: added DataTypeNamespace and removed DataType.
  1198. DataType value can is now in TypeData.
  1199. * XmlTypeMapMemberElement.cs: Small fix.
  1200. * XmlTypeMapping.cs: Added FindMember method and BaseMap property.
  1201. 2003-07-14 Andreas Nahr <[email protected]>
  1202. * AssemblyInfo.cs: Removed
  1203. 2003-07-9 Lluis Sanchez Gual <[email protected]>
  1204. * XmlSerializationWriter.cs: WriteStartElement(): Do not write xsd and xsi
  1205. namespace declarations if they have already been defined.
  1206. 2003-07-2 Lluis Sanchez Gual <[email protected]>
  1207. * XmlSerializationReaderInterpreter.cs: Use the parameter type when getting the Add method
  1208. for adding elements to a list.
  1209. 2003-06-31 Lluis Sanchez Gual <[email protected]>
  1210. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed so XmlIncludeAttribute and
  1211. SoapIncludeAttribute are now transitive (if class A includes class B, and B includes C, then
  1212. A includes C).
  1213. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  1214. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlTypeMapping.cs:
  1215. Added support for serialization of enums with the Flags attribute.
  1216. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  1217. * SoapReflectionImporter.cs: Fix support for DataType in class members.
  1218. * TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
  1219. can have other names.
  1220. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
  1221. * XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
  1222. XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  1223. Fix support for DataType in class members.
  1224. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs:
  1225. Added support for array of primitive types in attributes.
  1226. 2003-06-28 Lluis Sanchez Gual <[email protected]>
  1227. * TypeData.cs: Type of item of ICollections is now taken from the Item(int) property. Add() can
  1228. be overlodaded, so it is not good for this.
  1229. * XmlSerializationWriterInterpreter.cs: Fix ambiguity bug when getting Item property of a collection.
  1230. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  1231. * XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
  1232. * XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
  1233. array if the namespace is not specified in XmlArrayItemAttribute.
  1234. 2003-06-17 Lluis Sanchez Gual <[email protected]>
  1235. * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
  1236. * XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
  1237. is not specified in the xsi attribute.
  1238. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
  1239. * XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.
  1240. 2003-06-16 Atsushi Enomoto <[email protected]>
  1241. * XmlSerializationReader.cs : Synchronous fix with
  1242. XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
  1243. * added XmlTypeMapMemberNamespace.cs.
  1244. * XmlReflectionImporter,
  1245. XmlSerializationReaderInterpreter.cs,
  1246. XmlSerializationWriterInterpreter.cs,
  1247. XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.
  1248. 2003-06-16 Atsushi Enomoto <[email protected]>
  1249. * XmlSerializationWriter.cs : some QName handling fix.
  1250. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  1251. * XmlSerializationReader.cs: Fixed error message.
  1252. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
  1253. Thanks to Atsushi!
  1254. * XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.
  1255. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  1256. * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
  1257. * XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
  1258. * XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
  1259. * XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.
  1260. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  1261. * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
  1262. * SoapReflectionImporter.cs: tiny fix.
  1263. * XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
  1264. XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
  1265. * XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
  1266. * XmlSerializationWriter.cs: implemented WriteSerializable ().
  1267. 2003-06-12 Lluis Sanchez Gual <[email protected]>
  1268. * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
  1269. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  1270. XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
  1271. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
  1272. * XmlSerializationWriter.cs: small fix.
  1273. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  1274. * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
  1275. Added support for DefaultValueAttribute.
  1276. * XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
  1277. the value of an enum.
  1278. * XmlTypeMapMember.cs: Added DefaultValue attribute.
  1279. * XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
  1280. integer values.
  1281. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  1282. * XmlSerializationReader.cs: Minor fix.
  1283. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  1284. * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
  1285. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  1286. * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  1287. * XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
  1288. * XmlCustomFormatter.cs: small fixes.
  1289. * XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  1290. * XmlSerializationWriter.cs: Implemented TopLevelElement().
  1291. WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
  1292. WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
  1293. * XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
  1294. root elements.
  1295. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  1296. * SoapReflectionImporter.cs: implemented.
  1297. * TypeTranslator.cs: added IsPrimitive() method
  1298. * TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
  1299. used by that one. Also added Format property, that can be literal or encoded.
  1300. * XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
  1301. * XmlReflectionMember.cs: added constructor that accepts SoapAttributes
  1302. * XmlSerializationReader.cs: implemented many methods needed to support encoded format.
  1303. * XmlSerializationReaderInterpreter.cs: added support for encoded format.
  1304. * XmlSerializationWriter.cs: added support for encoded format.
  1305. * XmlSerializationWriterInterpreter.cs: added support for encoded format.
  1306. * XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
  1307. * XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
  1308. and a map is needed for them).
  1309. * XmlTypeMapMemberElement.cs: small fixes.
  1310. * XmlTypeMapping.cs: added some properties and methods needed to support encoded format
  1311. * ReflectionHelper.cs: added. Has some methods shared by the reflection importers.
  1312. 2003-06-01 Miguel de Icaza <[email protected]>
  1313. * XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
  1314. UnknownElement): Add line number information.
  1315. 2003-05-29 Lluis Sanchez Gual <[email protected]>
  1316. * TypeData.cs, TypeTranslator.cs: Renamed some properties.
  1317. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  1318. * XmlMapping.cs: Added internal property.
  1319. * XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
  1320. * XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
  1321. * XmlReflectionMember.cs: XmlAttributes are now created by default
  1322. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
  1323. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
  1324. Implemented support for XmlMembersMapping.
  1325. * XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
  1326. 2003-05-28 Lluis Sanchez Gual <[email protected]>
  1327. * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
  1328. from xml type to clr type.
  1329. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  1330. * XmlReflectionMember.cs: Added default constructor.
  1331. * XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
  1332. * XmlSerializationWriter.cs: Several fixes.
  1333. * XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  1334. XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
  1335. Added support for enums. Added support for XmlElement and XmlNode.
  1336. Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
  1337. 2003-05-26 Lluis Sanchez Gual <[email protected]>
  1338. * TypeData.cs, TypeTranslator.cs: Implemented some methods.
  1339. * XmlCustomFormatter.cs: Added formatting methods.
  1340. * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
  1341. * XmlReflectionMember.cs: Added new constructor.
  1342. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
  1343. * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
  1344. XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
  1345. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
  1346. 2003-05-10 Atsushi Enomoto <[email protected]>
  1347. * Added TypeTableEntry.cs.
  1348. * TypeTranslator.cs : changed for non-static use.
  1349. * XmlAttributes.cs : XmlType attribute support for GetAttributeName()
  1350. and GetElementName(). Bugfix so that if any XmlElementAttribute
  1351. exists after non-typed XmlElementAttribute then it might be ignored.
  1352. Added GetElementIsNullable().
  1353. * XmlSerializer.cs :
  1354. Introduced TypeTablePool and TypeTableEntry and erased ambiguous
  1355. Object memberObj[4].
  1356. Deserialize() now uses XmlReader.Depth to check its depth.
  1357. Serialize() for non-XmlReader arguments now always write xmldecl.
  1358. SerializeBuiltin() now explicitly requires Type to support xsi:nil,
  1359. and handles XmlQualifiedName.
  1360. Separated SerializeType () from Serialize().
  1361. Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
  1362. IsPropertyTypeSerializable() from SerializeMembers().
  1363. SerializeMembers() is now capable of null value and actual type,
  1364. which should be included by XmlIncludeAttribute and so on.
  1365. Renamed SerializeArray() to SerializeArrayContent(), and added
  1366. SerializeCollectionContent().
  1367. SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
  1368. FillTypeTable() is now aware of XmlInclude attributes.
  1369. FillEnum() should not have different type table content from others.
  1370. 2003-05-09 Atsushi Enomoto <[email protected]>
  1371. * XmlSerializer.cs : this time, only replaced spaces with tabs.
  1372. 2003-05-05 Atsushi Enomoto <[email protected]>
  1373. * ChangeLog : Added missing ChangeLog of 2003-04-25.
  1374. * XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
  1375. separators. Added experimental method ToEnum().
  1376. * XmlSerializationReader.cs : unconfirmed implementation of
  1377. ReadSerializable() and ToEnum().
  1378. * XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
  1379. is null then no output will be written.
  1380. Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
  1381. to use custom formatted name.
  1382. 2003-05-02 Miguel de Icaza <[email protected]>
  1383. * XmlReflectionImporter.cs: one of theImportTypeMapping mappings
  1384. had a void return value.
  1385. 2003-04-26 Miguel de Icaza <[email protected]>
  1386. * XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
  1387. `AllowMultiple' flags.
  1388. 2003-04-25 Atsushi Enomoto <[email protected]>
  1389. * TypeTranslator.cs : patch by Erik LeBel. Array consideration.
  1390. * XmlReflectionImporter.cs : patch by Erik LeBel.
  1391. Now uses XmlRootAttribute to determine element name.
  1392. 2003-03-17 Miguel de Icaza <[email protected]>
  1393. * XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
  1394. Kill Bublesort.
  1395. 2003-03-22 Atsushi Enomoto <[email protected]>
  1396. * XmlSerializer.cs : patch by Sean Cier. Serialize() other than
  1397. XmlWriter argument should call WriteEndDocument.
  1398. 2003-03-19 Atsushi Enomoto <[email protected]>
  1399. * XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
  1400. not WriteState.Start, and never call WriteEndDocument().
  1401. 2003-03-12 Elan Feingold <[email protected]>
  1402. * XmlCustomFormatter.cs: Correct signature, Implement
  1403. ToByteArrayBase64
  1404. * XmlSerializationWriter.cs: Fix prototype.
  1405. * XmlSerializer.cs: Implements Deserialize().
  1406. 2003-02-16 Atsushi Enomoto <[email protected]>
  1407. * XmlSerializer.cs : serializing now works for interface member.
  1408. 2003-01-26 Atsushi Enomoto <[email protected]>
  1409. * XmlSerializer.cs : some fix handling xml node object more correct.
  1410. 2003-01-16 Ajay kumar Dwivedi <[email protected]>
  1411. * XmlSerializer.cs: Array serialization for 1D arrays works
  1412. * TypeTranslator: Added for translations`
  1413. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  1414. * XmlCustomFormatter.cs: finished.
  1415. * XmlSerializationReader.cs: implemented some more methods.
  1416. 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
  1417. * XmlSerializationReader.cs: implemented a few methods.
  1418. * XmlAnyElementAttribute.cs:
  1419. * XmlArrayAttribute.cs:
  1420. * XmlChoiceIdentifierAttribute.cs:
  1421. * XmlElementAttribute.cs:
  1422. * XmlMemberMapping.cs:
  1423. * XmlMembersMapping.cs: class status based fixes.
  1424. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  1425. * CodeIdentifiers.cs:
  1426. * XmlSchemaExporter.cs:
  1427. * XmlSchemaImporter.cs:
  1428. * XmlSchemas.cs:
  1429. * XmlSerializationWriteCallback.cs:
  1430. * XmlSerializationWriter.cs:
  1431. * XmlSerializer.cs:
  1432. * XmlSerializerNamespaces.cs: some class status based fixed and
  1433. implemented a couple of methods.
  1434. * SoapSchemaExporter.cs: stubbed out.
  1435. 2002-08-24 Tim Coleman <[email protected]>
  1436. * SoapCodeExporter.cs:
  1437. Fix return value of ExportTypeMapping.
  1438. * XmlCustomFormatter.cs:
  1439. Change methods to be internal instead of public.
  1440. * XmlSerializationWriter.cs:
  1441. Modify GetPrimitiveTypeName to build on linux.
  1442. Modify GetQualifiedName to return an incrementing prefix
  1443. instead of the same one all the time (still need to manage
  1444. conflicts)
  1445. Modify WriteElementString to only do special stuff is XsiType
  1446. is not defined.
  1447. Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
  1448. an XmlQualifiedName.
  1449. 2002-08-22 Tim Coleman <[email protected]>
  1450. * XmlSerializationReader.cs:
  1451. Some implementation
  1452. * XmlSerializationWriter.cs:
  1453. More implementation
  1454. * XmlCustomFormatter.cs:
  1455. Implemented this class.
  1456. 2002-08-20 Tim Coleman <[email protected]>
  1457. * XmlSerializationWriter.cs:
  1458. Some implementation.
  1459. 2002-08-19 Tim Coleman <[email protected]>
  1460. * XmlSerializer.cs:
  1461. New stubs added.
  1462. * XmlSerializationWriter.cs:
  1463. New stubs added.
  1464. 2002-08-14 Tim Coleman <[email protected]>
  1465. * XmlSerializer.cs:
  1466. More reformatting of source code so I can
  1467. better understand what it does.
  1468. 2002-08-06 Tim Coleman <[email protected]>
  1469. * XmlSerializer.cs:
  1470. Some reformatting of code for readability.
  1471. Modify to correctly serialize ICollection objects
  1472. such as the BindingCollection of a ServiceDescription
  1473. for example.
  1474. 2002-08-03 Tim Coleman <[email protected]>
  1475. * XmlSerializer.cs:
  1476. Changed Implements() to check based on name rather
  1477. than FullName. FullName was never working correctly.
  1478. 2002-07-26 Tim Coleman <[email protected]>
  1479. * XmlSerializer.cs:
  1480. The constructor now looks for an XmlRootAttribute attribute
  1481. if one is not passed in. Various changes to make it emit
  1482. proper XML, such as handling an element without a namespace
  1483. prefix, and using WriteEndDocument where it should be.
  1484. 2002-07-24 Tim Coleman <[email protected]>
  1485. * CodeIdentifier.cs:
  1486. * IXmlSerializable.cs:
  1487. * XmlSerializationCollectionFixupCallback.cs:
  1488. * XmlSerializationFixupCallback.cs:
  1489. * XmlSerializationReadCallback.cs:
  1490. * XmlSerializationReader.cs:
  1491. * XmlSerializationWriteCallback.cs:
  1492. Add new classes.
  1493. * XmlSchemas.cs
  1494. * CodeIdentifiers.cs:
  1495. Implement some of these classes
  1496. * XmlCodeExporter.cs:
  1497. Fix return type of a function
  1498. 2002-07-24 Tim Coleman <[email protected]>
  1499. * SoapReflectionImporter.cs:
  1500. New class added to build
  1501. System.Web.Services.Description.ServiceDescription.cs
  1502. 2002-07-22 Tim Coleman <[email protected]>
  1503. * CodeIdentifiers.cs:
  1504. * SoapCodeExporter.cs:
  1505. * SoapSchemaExporter.cs:
  1506. * XmlCodeExporter.cs:
  1507. * XmlMemberMapping.cs:
  1508. * XmlMembersMapping.cs:
  1509. * XmlReflectionImporter.cs:
  1510. * XmlReflectionMember.cs:
  1511. * XmlSchemaExporter.cs:
  1512. * XmlSchemaImporter.cs:
  1513. * XmlSchemas.cs:
  1514. New stubbs added to aid in the linux build of
  1515. System.Web.Services.
  1516. 2002-07-05 Ajay kumar Dwivedi <[email protected]>
  1517. * XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
  1518. * XmlSerializerNamespaces: Reverted to use of a single Hashtable.
  1519. 2002-07-02 Ajay kumar Dwivedi <[email protected]>
  1520. * XmlSeriailizer: Updated Serialize() method.
  1521. 2002-06-27 Ajay kumar Dwivedi <[email protected]>
  1522. * XmlSerializer: Serialize() method Partially Implemented.
  1523. 2002-06-20 Ajay kumar Dwivedi <[email protected]>
  1524. * Soap & XmlOverrides: Implemented using TypeMember as key with
  1525. suggestions from Rafael.