ChangeLog 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479
  1. 2005-01-14 Atsushi Enomoto <[email protected]>
  2. * SerializationCodeGenerator.cs,
  3. XmlSerializationWriterInterpreter.cs : exchanged attribute
  4. serialization orders (XmlAnyAttribute <-> XmlNamespaceDeclarations).
  5. xmlns attributes in XmlAnyAttribute are not written.
  6. 2005-01-12 Atsushi Enomoto <[email protected]>
  7. * SerializationCodeGeneratorConfiguration.cs,
  8. SerializationCodeGenerator.cs : Added some generation configuration:
  9. <generateAsInternal>
  10. write custom reader/writer as internal classes.
  11. <noreader>, <nowriter>
  12. They make generation of reader and/or writer optional.
  13. * XmlSerializerNamespaces.cs :
  14. Now it uses ListDictionary instead of Hashtable.
  15. * XmlSerializationWriter.cs : entries in XmlSerializerNamespaces are
  16. written unless there is already the same prefix-ns mapping.
  17. 2005-01-12 Lluis Sanchez Gual <[email protected]>
  18. * XmlTypeMapElementInfo.cs: Added new IndexOfElement method.
  19. * XmlSchemaImporter.cs: When importing a base type of a complex type,
  20. make sure that the base class is always imported as a class and not
  21. as an array. If it has been imported as array, import it again.
  22. This fixes bug #70839. Other minor fixes as well.
  23. * XmlSerializationWriter.cs: Fixed warning.
  24. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  25. * SerializationCodeGenerator.cs: Yet another generation fix.
  26. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  27. * SerializationCodeGenerator.cs: Fixed generation of enum literals.
  28. 2004-12-09 Lluis Sanchez Gual <[email protected]>
  29. * XmlReflectionMember.cs: Added DeclaringType member.
  30. * XmlReflectionImporter.cs: When importing fields that belong to a
  31. base class, use the xml namespace of the base map for the member.
  32. This fixes bug #70309.
  33. 2004-11-30 Lluis Sanchez Gual <[email protected]>
  34. * XmlCodeExporter.cs, XmlSerializer.cs, XmlSchemaImporter.cs: Fixed some
  35. compilation warnings.
  36. 2004-11-24 Lluis Sanchez Gual <[email protected]>
  37. * SerializationSource.cs: Made SerializationSource abstract, and
  38. renamed Equals to BaseEquals to avoid missing GetHashCode warning
  39. (it does not really make sense in this case).
  40. * XmlSchemaExporter.cs, SerializationCodeGenerator.cs,
  41. XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  42. XmlSerializationReader.cs: Fixed warnings.
  43. 2004-10-19 Atsushi Enomoto <[email protected]>
  44. * XmlSerializationWriter.cs : When namespace is an empty string,
  45. XmlTextWriter.LookupPrefix() will raise an error. Just skip it in
  46. such case.
  47. 2004-10-01 Lluis Sanchez Gual <[email protected]>
  48. * MapCodeGenerator.cs: When the Object type is exported, export all
  49. derived maps. This was done in IncludeMetadata, but this method is
  50. not called by the xsd tool.
  51. * XmlCodeExporter.cs: In AddMappingMetadata, only generate the root
  52. attribute for primitive types and arrays.
  53. * XmlSchemaImporter.cs: Only export all object-derived maps if the
  54. Object type is explicitly referenced by an element.
  55. * XmlSerializationWriter.cs: Minor fix.
  56. 2004-09-28 Lluis Sanchez Gual <[email protected]>
  57. * CodeIdentifier.cs: MakeValid now returns "Item" for an empty string.
  58. This fixes bug #66877.
  59. 2004-09-21 Lluis Sanchez Gual <[email protected]>
  60. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  61. when reading a primitive value in encoded format using
  62. ReadReferencingElement, provide the type name and namespace
  63. since the xsi type may not be present in the xml element. This
  64. fixes bug #65929.
  65. 2004-09-15 Lluis Sanchez Gual <[email protected]>
  66. * MapCodeGenerator.cs: Moved generation of XmlInclude attributes from
  67. ExportDerivedTypes to the new ExportDerivedTypeAttributes method.
  68. * XmlReflectionImporter.cs: In ImportClassMapping, moved the call to
  69. ImportIncludedTypes to the end, to make sure that the current map has all
  70. needed data before derived maps are constructed.
  71. * XmlSchemaExporter.cs: Generate the base class of simple types that are
  72. not primitive types. Set the correct value for IsMixed in extended types.
  73. * XmlSchemaImporter.cs: In ImportSimpleContent, take into account that
  74. the base class of a simple type doesn't need to be a xsd type.
  75. All those patches fix bug #65654.
  76. 2004-09-03 Lluis Sanchez Gual <[email protected]>
  77. * XmlSerializer.cs: When the XmlReader is created by XmlSerializer, use
  78. Normalization==true by default.
  79. 2004-09-02 Lluis Sanchez Gual <[email protected]>
  80. * ReflectionHelper.cs, SoapReflectionImporter.cs, XmlReflectionImporter.cs:
  81. In CheckSerializableType, add the option of ignoring types with private
  82. constructors. Some kind of lists can be deserialized
  83. even if the constructor is private. See bug #61464.
  84. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  85. Before creating a list, check that it has a public constructor.
  86. * TypeData.cs: Added HasPublicConstructor property.
  87. 2004-09-01 Lluis Sanchez Gual <[email protected]>
  88. * SerializationCodeGenerator.cs: Generate correct "HasValue" check for
  89. value list serialization.
  90. * XmlSchemaImporter.cs: Added some null checks.
  91. 2004-08-25 Lluis Sanchez Gual <[email protected]>
  92. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  93. When deserializing an encoded method response, assign to the return value
  94. the first element of the message, whatever it is. The return type doesn't
  95. need to be Object, it seems to be true for all return types.
  96. 2004-07-26 Lluis Sanchez Gual <[email protected]>
  97. * MapCodeGenerator.cs: CreateFieldMember now adds the field to the class,
  98. no need to add it after the call.
  99. * SoapSchemaImporter.cs: Implemented 2.0 constructors.
  100. 2004-07-23 Lluis Sanchez Gual <[email protected]>
  101. * CodeGenerationOptions.cs: Made the class internal for the 1.1 profile.
  102. * ImportContext.cs: Implemented.
  103. * MapCodeGenerator.cs, SoapCodeExporter.cs, XmlCodeExporter.cs: Added new
  104. options for 2.0. Implemented support for generating properties instead of
  105. fields.
  106. * XmlSchemaImporter.cs: Added support for sharing types.
  107. 2004-07-15 Lluis Sanchez Gual <[email protected]>
  108. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for base64. This
  109. xsd type is not part of the last schema specification, but the google api
  110. uses it and ms.net accepts it.
  111. 2004-07-12 Lluis Sanchez Gual <[email protected]>
  112. * ReflectionHelper.cs: Fixed bug when registering a map as exported.
  113. Thanks to Juan C. Olivares.
  114. 2004-07-10 Lluis Sanchez Gual <[email protected]>
  115. * CodeExporter.cs: Added private constructor.
  116. * CodeGenerationOptions.cs: Set the correct enum values.
  117. * CodeIdentifier.cs: Added private constructor.
  118. * SchemaImporter.cs: Added internal constructor.
  119. * XmlMapping.cs, XmlSerializer.cs: 2.0 api fix.
  120. * XmlMemberMapping.cs, XmlSchemaImporter.cs, XmlSerializationWriter.cs: Added 2.0 stubs.
  121. * XmlSchemaProviderAttribute.cs, XmlSerializerAssemblyAttribute.cs,
  122. XmlSerializerVersionAttribute.cs: Set correct attribute usage.
  123. * XmlSerializationReader.cs: Added missing setter for DecodeName.
  124. 2004-07-08 Lluis Sanchez Gual <[email protected]>
  125. * XmlSerializer.cs: Fix fix.
  126. 2004-07-08 Lluis Sanchez Gual <[email protected]>
  127. * IXmlSerializerImplementation.cs: Compile as internal in NET_1_1.
  128. * ReflectionHelper.cs: New method for generating map keys.
  129. * SerializationCodeGenerator.cs: Added support for generating the serializer
  130. contract class, needed for 2.0.
  131. * SerializationSource.cs: Use Type[] instead of ArrayList for storing
  132. extra types.
  133. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Assign extra types
  134. as Type[]. Added check that makes sure that enums being serialized are
  135. public.
  136. * XmlMapping.cs: Added internal GetKey method.
  137. * XmlSerializer.cs: Added support for IXmlSerializerImplementation.
  138. Added first bits to support loading of serializers from pre-generated
  139. assemblies.
  140. * XmlSerializerFactory.cs: Mostly implemeted.
  141. 2004-07-02 Lluis Sanchez Gual <[email protected]>
  142. * CodeIdentifier.cs: Removed constructor for NET_2_0.
  143. * SoapCodeExporter.cs, SoapSchemaImporter.cs, XmlCodeExporter.cs,
  144. XmlMapping.cs, XmlMemberMapping.cs, XmlReflectionImporter.cs,
  145. XmlSchemaExporter.cs, XmlSchemaImporter.cs, XmlSchemas.cs,
  146. XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs,
  147. XmlSerializerNamespaces.cs: Added 2.0 stubs.
  148. * XmlMembersMapping.cs, XmlTypeMapping.cs: 2.0 fixage.
  149. * IXmlTextParser.cs, CodeExporter.cs, CodeGenerationOptions.cs,
  150. ImportContext.cs, SchemaImporter.cs, SchemaImporterExtension.cs,
  151. SchemaImporterExtensionCollection.cs, XmlDeserializationEvents.cs,
  152. XmlSchemaProviderAttribute.cs, XmlSerializationGeneratedCode.cs,
  153. XmlSerializerAssemblyAttribute.cs, XmlSerializerFactory.cs,
  154. XmlSerializerVersionAttribute.cs: New files. More 2.0 stubs.
  155. 2004-07-02 Lluis Sanchez Gual <[email protected]>
  156. * SerializationCodeGenerator.cs: Generate check that the object being
  157. serialized has a known type. Little cast fix.
  158. * XmlCustomFormatter.cs: Little fix in Single conversion.
  159. 2004-07-01 Lluis Sanchez Gual <[email protected]>
  160. * TypeData.cs: In the constructor, set the correct xml type name if the
  161. type is an array (for example, instead of StringCollection, use
  162. ArrayOfString).
  163. 2004-06-22 Lluis Sanchez Gual <[email protected]>
  164. * ReflectionHelper.cs: Correctly detect private types.
  165. * XmlCodeExporter.cs: Implemented missing method.
  166. * XmlSchemaImporter.cs: Allow import of root primitive types.
  167. 2004-06-18 Atsushi Enomoto <[email protected]>
  168. * CodeIdentifier.cs, CodeIdentifiers.cs, MapCodeGenerator.cs,
  169. SerializationCodeGenerator.cs, SerializationSource.cs,
  170. TypeTranslator.cs, XmlAttributeOverrides.cs, XmlCustomFormatter.cs,
  171. XmlSerializationReader.cs, XmlSerializationWriter.cs,
  172. XmlSerializer.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs
  173. : Globalization fixes.
  174. In XmlCustomFormatter.GenerateToXmlString() time was not
  175. generated correctly.
  176. Replaced all CRLF XmlAttributeOverrides.cs into LF.
  177. 2004-06-13 Gert Driesen <[email protected]>
  178. * XmlSerializationWriter.cs: changed signature of protected method
  179. FromByteArrayBase64 to match MS.NET
  180. 2004-06-10 Lluis Sanchez Gual <[email protected]>
  181. * MapCodeGenerator.cs, SoapCodeExporter.cs: Generate the same XmlInclude
  182. attributes that MS.NET generates.
  183. * SerializationCodeGenerator.cs: Avoid duplicate generation of maps in the
  184. same reader/writer.
  185. * XmlCodeExporter.cs: Added support for ignore flag in maps and members.
  186. * XmlReflectionImporter.cs: Changed GetReflectionMembers to match
  187. MS.NET member ordering. Patch by David Taylor.
  188. * XmlSchemaImporter.cs: When generating a choice member, set the ignore
  189. flag. The generated enum must also not be included in the schema.
  190. * XmlTypeMapMember.cs: Added ignore flag.
  191. * XmlTypeMapping.cs: The AttributeMembers property now returns the
  192. attributes in the correct order.
  193. 2004-06-03 Gert Driesen <[email protected]>
  194. * XmlSerializationReader.cs: added missing protected members
  195. to fix API compatibility with MS.NET
  196. * XmlSerializationWriter.cs: added missing protected members
  197. to fix API compatibility with MS.NET
  198. 2004-06-02 Lluis Sanchez Gual <[email protected]>
  199. * XmlSerializationReader.cs: Support schamea instance namespaces other than
  200. the 2001 one when reading the xsi type.
  201. * MapCodeGenerator.cs: Take into account that the root namespace and element
  202. name may have changed from one export to another of the same type. In
  203. this case the class attributes need to be regenerated.
  204. * SoapCodeExporter.cs, XmlCodeExporter.cs: Take the enum name from XmlType,
  205. not ElementName. Idem for namespace.
  206. * XmlReflectionImporter.cs: Set nullable property of XmlTypeMapping.
  207. * XmlRootAttribute.cs: Default value for nullable is true.
  208. * XmlSchemaImporter.cs: The root name for a class may change in some
  209. scenarios (for example, when the type is initially exported as part of
  210. another type and later exported as a root type).
  211. * XmlSerializationReader.cs: In GetXsiType(), if the type attribute is not
  212. found using the standard namespace, try getting the type using
  213. the 2000/10 and 1999 namespaces.
  214. * XmlTypeMapping.cs: Added IsNullable property. Updated SetRoot method ;-)
  215. 2004-05-26 Lluis Sanchez Gual <[email protected]>
  216. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  217. In encoded format, primitive types can be null. Read them using
  218. ReadReferencingElement, that already checks for the null tag.
  219. 2004-05-25 Lluis Sanchez Gual <[email protected]>
  220. * XmlSerializationReader.cs: Check for empty element when reading an array
  221. element. This fixes bug #59003. Thanks Atsushi!
  222. 2004-05-07 Lluis Sanchez Gual <[email protected]>
  223. * XmlSerializationWriter.cs: Implemented some missing methods.
  224. In .NET 1.0, encoded null elements use the attribute null="1", while in
  225. 1.1 the attribute is nil="true".
  226. * XmlTypeMapping.cs: Little fix for nested classes.
  227. 2004-05-07 Lluis Sanchez Gual <[email protected]>
  228. * XmlReflectionImporter.cs: Don't reset the internal tables at every
  229. ImportMembersMapping call. This fixes bug #58112. The problem is that
  230. it imported two different arrays (only different in the array item
  231. namespace) with the same name. Not sure what was this Reset needed for,
  232. everyting seems to work without it.
  233. 2004-05-05 Lluis Sanchez Gual <[email protected]>
  234. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  235. When deserializing an encoded method response, if the return type of the
  236. method is Object, assign to it the first element of the message, whatever
  237. it is.
  238. * XmlSerializationReader.cs:
  239. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Set IsReturnValue of
  240. the imported member.
  241. * TypeTranslator.cs: Added method to safely get a primitive TypeData.
  242. * XmlSerializationReader.cs: Don't throw an exception when the CLR type for
  243. a given xsi type is not found. Just read it as primitive type.
  244. * XmlTypeMapMember.cs: Added IsReturnValue property.
  245. * XmlTypeMapping.cs: Added ReturnMember property.
  246. * XmlSerializer.cs: Reference System.Data when compiling the serializer.
  247. 2004-05-05 Lluis Sanchez Gual <[email protected]>
  248. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  249. When reading an object using the typeof(object) map, an emty xsi:type
  250. means that it has to read the contents into an XmlNode[].
  251. * TypeData.cs: Return the correct full name for inner classes.
  252. * XmlSchemaImporter.cs: Improved detection of types that represent
  253. "anyType", and must be mapped to XmlElement, XmlNode or Object.
  254. * XmlSerializationReader.cs: In GetXsiType(), find the type attribute using
  255. the correct namespace.
  256. In ReadTypedPrimitive(), read the element as XmlNode[] if the type is
  257. not known.
  258. 2004-05-05 Atsushi Enomoto <[email protected]>
  259. * XmlSerializationWriter.cs : It do not have to handle schema
  260. namespace as special one.
  261. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  262. * XmlSerializationReaderInterpreter.cs: Removed the check for null
  263. AttributeMembers collection. Even if there are no attribute members,
  264. attributes need to be read.
  265. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  266. * XmlSerializationReader.cs: In ReadSerializable(), take into account that
  267. the IXmlSerializable object may not read all the EndElement it read.
  268. This fixes bug #57413.
  269. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  270. * XmlSerializer.cs: Enable serializer generation by default.
  271. 2004-04-20 Lluis Sanchez Gual <[email protected]>
  272. * TypeTranslator.cs: Mapped again anyUri, but now it is mapped to String.
  273. * XmlSchemaImporter.cs: If a map was initially imported as a class, but it
  274. turns out that it is an array, import it again as array. This fixes
  275. bug #57133.
  276. 2004-04-15 Lluis Sanchez Gual <[email protected]>
  277. * XmlSchemaExporter.cs: When checking if a map has been exported or not,
  278. don't use type name for array types, since we can have different classes
  279. that represent the same array type (for example StringCollection and
  280. string[]).
  281. 2004-04-14 Lluis Sanchez Gual <[email protected]>
  282. * TypeTranslator.cs, XmlCustomFormatter.cs: Removed map from Uri to anyUri,
  283. not present in MS.NET.
  284. * XmlSerializationWriter.cs: Improved error message.
  285. 2004-03-30 Lluis Sanchez Gual <[email protected]>
  286. * SerializationCodeGenerator.cs, XmlReflectionImporter.cs,
  287. XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs:
  288. Support deserialization of members of type XmlDocument. This fixes #56169.
  289. 2004-03-25 Lluis Sanchez Gual <[email protected]>
  290. * SerializationCodeGenerator.cs: Generate an integer for unknown enum values.
  291. Use a special method to generate default values, since default enum values
  292. will come as integers, so a special cast is needed.
  293. * XmlSerializationReaderInterpreter.cs,
  294. * SerializationSource.cs, SoapAttributeAttribute.cs, SoapAttributeOverrides.cs,
  295. SoapAttributes.cs, SoapElementAttribute.cs, SoapEnumAttribute.cs,
  296. SoapTypeAttribute.cs, XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs,
  297. XmlArrayAttribute.cs, XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs,
  298. XmlAttributeAttribute.cs, XmlAttributeOverrides.cs, XmlAttributes.cs,
  299. XmlChoiceIdentifierAttribute.cs, XmlElementAttribute.cs, XmlElementAttributes.cs,
  300. XmlEnumAttribute.cs, XmlReflectionMember.cs, XmlRootAttribute.cs,
  301. XmlTextAttribute.cs, XmlTypeAttribute.cs: Had to change the implementation
  302. of SerializationSource. It can't keep and use the XmlAttributeOverride
  303. instances as key values, since those instances can be modified after the
  304. xml map has been generated. Now, SerializationSource generates a unique
  305. string hash from XmlAttributeOverride and uses it for comparisons.
  306. 2004-03-24 Lluis Sanchez Gual <[email protected]>
  307. * SerializationCodeGenerator.cs: Several fixes: generate valid names for
  308. WriteRoot_ and ReadRoot_ methods. Cast result of ReadTypedPrimitive to
  309. the adequate type. Set the default value of members that do have a default
  310. value. Other minor fixes.
  311. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: All maps must derive
  312. from typeof(object) map, even those that have another base class.
  313. * XmlCustomFormatter.cs: Fixed generation of conversion from char to string.
  314. It must serialize the char as number, not as character.
  315. * XmlSerializationReaderInterpreter.cs: Set the default value of members
  316. that do have a default value.
  317. * XmlTypeMapping.cs: Added property MembersWithDefault, which returns a list
  318. of members that have a default value.
  319. 2004-03-15 Lluis Sanchez Gual <[email protected]>
  320. * XmlSchemaImporter.cs: Import IXmlSerializable types as DataSet, like in MS.NET.
  321. This fixes bug #55547.
  322. 2004-03-13 David Sheldon <[email protected]>
  323. * XmlSerializationWriter.cs: Implement WriteElementStringRaw with a
  324. byte [].
  325. 2004-03-13 David Sheldon <[email protected]>
  326. * XmlTextAttribute.cs: Initialise dataType with zero-length string.
  327. fixes test case that tests for this directly.
  328. * TypeTranslator.cs: Check for new zero-length dataType so we don't reject
  329. it. Treat it as null.
  330. 2004-03-12 Lluis Sanchez Gual <[email protected]>
  331. * CodeIdentifier.cs: Limit the length of identifiers.
  332. * MapCodeGenerator.cs: Do not generate base class if it is an XmlNode.
  333. Generate types using GetDomType, so if the type is an array, it creates
  334. the correct combination of types.
  335. * SerializationCodeGenerator.cs, XmlTypeMapping.cs: When trying to parse
  336. an enum, if the string is empty and the enum has [Flags], then return 0
  337. as value. This fixes bug #55509.
  338. * XmlSchemaImporter.cs: Added check for redefines of attribute groups. They
  339. are not supported. Another check: a simple type cannot be enum if it does
  340. not have any enum facet.
  341. And another fix: use string as default type for attribtues.
  342. * XmlSchemas.cs: Fixed search for schema elements. An schema may import
  343. other schemas. An imported schema would not be in the table, but its
  344. elements (although from another namespace) would be in the schema that
  345. imported it. So, we need know to check for every schema in the table.
  346. * XmlSerializer.cs: Added environment variable to help debugging code
  347. generator output.
  348. 2004-02-27 Lluis Sanchez Gual <[email protected]>
  349. * MapCodeGenerator.cs: Added IncludeMetadata property, which returns a list
  350. of XmlInclude attributes needed for the service class.
  351. IsMapExported: Removed check for object type, since it can now be exported.
  352. SetMapExported: Use the type name as key, since different importers may
  353. be used to create a map for the same type.
  354. GenerateClassInclude: Updated signature.
  355. * SoapCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  356. GenerateClassInclude(): Updated signature.
  357. * SoapReflectionImporter.cs: Support SoapIncludeAttribute in array members.
  358. Implemented IncludeTypes.
  359. * XmlCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  360. GenerateClassInclude(): Updated signature.
  361. * XmlMemberMapping.cs: Added missing property.
  362. * XmlReflectionImporter.cs: GetReflectionMembers must be private.
  363. Implemented IncludeTypes().
  364. * XmlSchemaExporter.cs: Added support for exporting typeof(object).
  365. * XmlSchemaImporter.cs: Changed the implementation of ImportDerivedTypeMapping.
  366. Now, it does a regular import and then assign the required base class to
  367. the imported map. In this way it is possible to assign a base type for a
  368. map that was previously imported without a base type.
  369. * XmlTypeMapping.cs: Added internal method SetRoot().
  370. 2004-02-24 Lluis Sanchez Gual <[email protected]>
  371. * SerializationCodeGenerator.cs: Added support for generation of readers
  372. and writers for several maps in a single class. Added support for
  373. XmlMemberMapping. Fixed generation of serializers that use encoded format.
  374. * SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
  375. SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs,
  376. XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
  377. XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
  378. XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
  379. XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
  380. XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
  381. Added InternalEquals method.
  382. * XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
  383. * SoapReflectionImporter.cs: Set SerializationSource to generated maps.
  384. * XmlCustomFormatter.cs: Fixed little bug.
  385. * XmlMapping.cs: Added Source property. This a global identifier of the map.
  386. * XmlReflectionImporter.cs: Set SerializationSource to generated maps.
  387. * XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
  388. mapping members.
  389. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
  390. * XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
  391. correctly used.
  392. * XmlSerializer.cs: Added support for generation of serializers.
  393. 2004-02-18 Atsushi Enomoto <[email protected]>
  394. * SerializationCodeGenerator.cs,
  395. SerializationCodeGeneratorConfiguration.cs:
  396. Added <namespaceImports> feature ("using XXX;" generation) support.
  397. 2004-02-17 Lluis Sanchez Gual <[email protected]>
  398. * XmlSerializationWriter.cs: When writing the root element, use a prefix
  399. if the namespace of the element is defined in the list of namespaces
  400. provided to the XmlSerializer. This fixes bug #54427.
  401. 2004-02-16 Lluis Sanchez Gual <[email protected]>
  402. * MapCodeGenerator.cs: Modified some methods to make them easier to reuse.
  403. Those are basically methods to add custom attributes to element and
  404. attribute members.
  405. * SoapCodeExporter.cs: Track changes in MapCodeGenerator.
  406. * XmlCodeExporter.cs: Better support for custom attribute generation for
  407. method parameters.
  408. * XmlCustomFormatter.cs: Added null check.
  409. * XmlSchemaImporter.cs: do not set IsOptionalValueType property to
  410. attributes that are required.
  411. * XmlSerializationReaderInterpreter.cs: Method parameters may be serialized
  412. as attributes.
  413. 2004-02-11 Lluis Sanchez Gual <[email protected]>
  414. * MapCodeGenerator.cs: Changed some methods to make them easier to reuse.
  415. * TypeTranslator.cs: NMTOKENS, ENTITIES and IDREFS must be mapped to
  416. string, not string[].
  417. * XmlCodeExporter.cs: AddMappingMetadata(): improved attribute generation
  418. for array parameters. In general, improved generation of schema Form
  419. property.
  420. * XmlMemberMapping.cs: Added Form property.
  421. * XmlReflectionImporter.cs: Types that inherit from other types cannot be
  422. simple types. Added a check for this.
  423. * XmlSchemaExporter.cs: several fixes: better generation of IsMixed and
  424. Form. The key used to determine if a map has been already generated must
  425. include the XmlType, since there can be two xml types with the same CLR
  426. type and namespace (for example, they may differ in the Form property).
  427. * XmlSchemaImporter.cs: When getting the TypeData for a schema element,
  428. also return the corresponding map. There can be two maps that have the
  429. same TypeData, so given a TypeData is not always possible to get the
  430. correct corresponding map (for example two arrays that only differ in the
  431. Form of the item).
  432. * XmlTypeMapping.cs: Added method to set if a map can represent a simple
  433. type or not.
  434. 2004-02-04 Lluis Sanchez Gual <[email protected]>
  435. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for the
  436. normalizedString schema type.
  437. 2004-02-04 Lluis Sanchez Gual <[email protected]>
  438. * XmlReflectionImporter.cs: Get the class members using the right order.
  439. * XmlSerializationWriterInterpreter.cs: Removed unneeded code.
  440. A member with the Any attribute can also contain text. Support this.
  441. * XmlTypeMapMemberElement.cs: Added CanBeText property.
  442. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  443. * XmlSchemaImporter.cs: Redefinition of types are not supported. Added a
  444. check.
  445. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  446. * MapCodeGenerator.cs: Added helper method for generating an attribute
  447. parameter of type enum.
  448. * XmlAttributeAttribute.cs: little fix.
  449. * XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
  450. for method parameters.
  451. * XmlMemberMapping.cs: Improved support for members of type "any".
  452. * XmlReflectionImporter.cs: Improved assignment of the attribute form.
  453. If the namespace is explicitly specified, then the form should be
  454. qualified. Also fixed issues with the namespace assigned to attributes.
  455. This should fix bug #53384.
  456. * XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
  457. methods that return values of type "any". Changed the methods
  458. AddSchemaArrayElement and AddSchemaElement, so instead of adding the
  459. element, return it, and the caller must add it to the collection.
  460. Other fixes in attribute generation.
  461. * XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
  462. generate the AnyType mapping from the type described in the schema.
  463. Small fixes regarding IsMixed property of complex types (it means that
  464. the type can contain text, so the XmlTextAttribute must be generated).
  465. * XmlSerializationReaderInterpreter.cs: Reading of members by-order must
  466. be only used in the bare+encoded format.
  467. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  468. * SoapReflectionImporter.cs: Types included with SoapInclude don't need
  469. to be derived types of the one that has the attribute.
  470. * XmlReflectionImporter.cs: Recursively register the derived maps of a given
  471. map to the parent map. This fixes #53246.
  472. * XmlSerializationWriter.cs: Some fixes regarding empty namespaces.
  473. 2004-01-22 Lluis Sanchez Gual <[email protected]>
  474. * XmlSerializationReaderInterpreter.cs: When deserializing an XmlElement,
  475. do not check the root element name, since it can be any name. This fixes
  476. bug #53201.
  477. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  478. * XmlReflectionImporter.cs: Throw exception if a value type member has the
  479. IsNullable=true flag. This fixes bug #52906.
  480. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  481. * MapCodeGenerator.cs, XmlSchemaImporter.cs: Attributes are allways optional,
  482. so a 'specified' member has always to be generated.
  483. * TypeData.cs: Fixed check for value type.
  484. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  485. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs,
  486. XmlTypeMapMember.cs, MapCodeGenerator.cs, SoapCodeExporter.cs, TypeData.cs,
  487. XmlCodeExporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs,
  488. XmlSchemaImporter.cs, XmlSerializationReaderInterpreter.cs,
  489. XmlSerializationWriterInterpreter.cs, XmlTypeMapMember.cs:
  490. Added support for value specifiers members. This fixes bug #53024.
  491. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  492. * XmlSchemaExporter.cs: Don't create referenced element if it has already
  493. been created (two types could be referencing the same schema element).
  494. 2004-01-19 Lluis Sanchez Gual <[email protected]>
  495. * XmlReflectionImporter.cs: Read IsNullable flag from XmlArrayAttribute.
  496. * XmlSerializationWriterInterpreter.cs: Interpret IsNullable flag for
  497. arrays. This fixes bug #53018.
  498. 2004-01-14 Lluis Sanchez Gual <[email protected]>
  499. * MapCodeGenerator.cs: Use type namespace instead of root namespace as
  500. default namespace for members.
  501. * XmlCodeExporter.cs: Fixed generation of XmlRootAttribute.
  502. * XmlReflectionImporter.cs: Fixed the assignment of root and type
  503. namespaces.
  504. * XmlSchemaExporter.cs: Use type namespace instead of root namespace as
  505. default namespace for members. In AddSchemaElement, if the element is
  506. a root element never use a "ref" attribute.
  507. * XmlSchemaImporter.cs: Fixed issue when importing root elements.
  508. 2004-01-13 Lluis Sanchez Gual <[email protected]>
  509. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  510. XmlTypeMapping.cs: more namespace fixes.
  511. 2004-01-13 Lluis Sanchez Gual <[email protected]>
  512. * XmlReflectionImporter.cs: type namespace must never be used as root
  513. namespace. This fixes bug #52772.
  514. 2004-01-08 Nick Drochak <[email protected]>
  515. * XmlSchemaImporter.cs: Removed unused variable.
  516. 2004-01-07 Lluis Sanchez Gual <[email protected]>
  517. * XmlReflectionImporter.cs: Ignore Namespace property when applying
  518. the [XmlType] attribute to an enum. This fixes bug #52607.
  519. 2003-12-19 Lluis Sanchez Gual <[email protected]>
  520. * SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
  521. option that allow serialization of private types.
  522. 2003-12-18 Eran Domb <[email protected]>
  523. * TypeTranslator.cs : Change primtive types map.
  524. 2003-12-18 Eran Domb <[email protected]>
  525. * XmlReflectionImporter.cs (ImportListMapping): Adding the included types of the list as a derived
  526. classes of object.
  527. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  528. * XmlSchemaExporter.cs: AddSchemaElement, use XmlTypeMapElementInfo.IsPrimitive
  529. to check if a type is primitive, instead of Type.IsPrimitive, since CLR
  530. primitive types are not the same as XML primitive types. Patch proposed
  531. by Mordechai Taitelman. This fixes bug #52228.
  532. * XmlSerializationWriter.cs: Fixes in WriteNullTagEncoded and WriteNullTagLiteral.
  533. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  534. * XmlReflectionImporter.cs: Little fix.
  535. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  536. * XmlReflectionImporter.cs: Type specified with XmlIncludeAttribute don't
  537. need to be derived types of the includer. This fixes bug #52152.
  538. Added null check for Name property of XmlEnumAttribute. This fixes
  539. bug #52155.
  540. * XmlSerializationReader.cs: Fixed some error messages.
  541. * XmlSerializationReaderInterpreter.cs: Check that the root element has
  542. the correct local name and namespace. This fixes bug #52038.
  543. Throw exception if enum value can't be parsed.
  544. * XmlTypeMapping.cs: Don't try to parse numeric enum values. This fixes
  545. bug #52041.
  546. 2003-12-12 Lluis Sanchez Gual <[email protected]>
  547. * MapCodeGenerator.cs: Added support for [Flags] enum.
  548. * XmlCodeExporter.cs: Do not add XmlElement attributes if the member is Any.
  549. * XmlSchemaImporter.cs: Implemented ImportAnyType(). Improved import of
  550. encoded array type. Added support for enums with [Flags].
  551. In encoded format, unqualified types are schema types by default.
  552. 2003-12-11 Lluis Sanchez Gual <[email protected]>
  553. * XmlCodeExporter.cs: Little fix.
  554. * XmlSchemaExporter.cs: In rpc format, make sure that parameters with the
  555. same name have the same type.
  556. * XmlSchemaImporter.cs: Support xml:lang.
  557. * XmlSerializationReader.cs, XmlSerializationWriterInterpreter.cs:
  558. fixed wrong namespace for the arrayType attribute.
  559. 2003-12-08 Lluis Sanchez Gual <[email protected]>
  560. * SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
  561. XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  562. When using rpc format on a web service, members don't need to have any
  563. specific namespace. Added a flag for turning namespace check on/off.
  564. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  565. * XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
  566. delayedListFixups.Count cannot be used because elementes from
  567. delayedListFixups are deleted sometimes.
  568. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  569. * XmlReflectionImporter.cs: Indexer properties must not be serialized.
  570. This fixes bug #51060.
  571. 2003-11-24 Lluis Sanchez Gual <[email protected]>
  572. * XmlSerializationWriterInterpreter.cs: Applied patch by Eran Domb:
  573. If type is Enum the code use type.GetElememtType() instead of
  574. Enum.GetUnderlyingType().
  575. 2003-11-12 Lluis Sanchez Gual <[email protected]>
  576. * XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs:
  577. Removed several TODOs already done.
  578. 2003-11-03 Lluis Sanchez Gual <[email protected]>
  579. * XmlCustomFormatter.cs: Added support for anyUri type. This fixes
  580. bug #50041.
  581. 2003-10-20 Lluis Sanchez Gual <[email protected]>
  582. * ReflectionHelper.cs: In CheckSerializableType() check that the type
  583. is public.
  584. * XmlSerializationWriter.cs: Added check for circular references.
  585. This fixes bug #49879.
  586. 2003-10-20 Lluis Sanchez Gual <[email protected]>
  587. * ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
  588. can't be serialized. This fixes bug #49878.
  589. * TypeData.cs: In ListItemType check that the collection has a valid
  590. Add method and report an error if not.
  591. * XmlReflectionImporter.cs: Added CheckSerializableType check call when
  592. reflecting a collection.
  593. 2003-10-18 Lluis Sanchez Gual <[email protected]>
  594. * SoapReflectionImporter.cs: Support element references for enum values in
  595. encoding format. This fixes bug #49568.
  596. * XmlSerializationReaderInterpreter.cs: In encoded format, do not check
  597. the name and namespace of the wrapper element. MS.NET doesn't do it.
  598. This fixes bug #49729.
  599. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  600. * MapCodeGenerator.cs: Made MapCodeGenerator internal.
  601. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  602. * MapCodeGenerator.cs: New file. Moved here all code that is common
  603. between XmlCodeExporter and SoapCodeExporter.
  604. * SoapCodeExporter.cs: Implemented.
  605. * XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
  606. * XmlSerializationReaderInterpreter.cs: Fixed problem when reading
  607. encoded bare parameter list.
  608. * XmlTypeMapping.cs: Added method for getting member element by index.
  609. 2003-10-14 Atsushi Enomoto <[email protected]>
  610. * XmlSchemas.cs : Implemented IsDataSet().
  611. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  612. * SoapCodeExporter.cs: Initial implementation of AddMappingMetadata().
  613. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
  614. in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
  615. * SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
  616. * XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
  617. and whether it uses encoded or literal format.
  618. * XmlSchemaExporter.cs: Little fixes.
  619. 2003-10-10 Lluis Sanchez Gual <[email protected]>
  620. * XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
  621. need to be of type SOAP-ENC:Array, it can be a restriction of it.
  622. 2003-10-10 Lluis Sanchez Gual <[email protected]>
  623. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
  624. Read only properties are only serialized if the type is an array.
  625. 2003-10-09 Lluis Sanchez Gual <[email protected]>
  626. * SoapReflectionImporter.cs, XmlReflectionImporter.cs,
  627. SoapReflectionImporter.cs: Fixed bug #94694. Check for public constructor
  628. is not needed for value types.
  629. 2003-10-08 Lluis Sanchez Gual <[email protected]>
  630. * XmlSerializer.cs, XmlSerializationWriter.cs: Fixed bug #49353
  631. (XmlSerializer.Serialize() handles namespace parameter incorrectly)
  632. 2003-10-05 Lluis Sanchez Gual <[email protected]>
  633. * XmlReflectionImporter.cs, SoapReflectionImporter.cs: Fixed bug #49349
  634. 2003-10-04 Lluis Sanchez Gual <[email protected]>
  635. * XmlSchemaExporter.cs: Keep track of elements being exported.
  636. * XmlSchemas.cs: Removed unneeded catch.
  637. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  638. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  639. Fixed handling of members with XmlTextAttribute that are arrays.
  640. * TypeData.cs: IsComplexType now returns true for XmlNode.
  641. * XmlSerializer.cs: Added check for null mapping in FromMappings.
  642. * XmlTypeMapping.cs: Added helper method FindTextElement.
  643. 2003-09-28 Lluis Sanchez Gual <[email protected]>
  644. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs:
  645. Added support for IncludeInSchema flag.
  646. * SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  647. * XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
  648. methods. Added support for IncludeInSchema flag.
  649. * XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  650. Added support for IncludeInSchema flag.
  651. * XmlTypeAttribute.cs: Set includeInSchema to true by default.
  652. * XmlTypeMapping.cs: Added IncludeInSchema property.
  653. 2003-09-25 Lluis Sanchez Gual <[email protected]>
  654. * SoapIncludeAttribute.cs: Added AllowMultiple option. This fixes bug #48877.
  655. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  656. * XmlCustomFormatter.cs: added support for additional string types in
  657. GenerateToXmlString().
  658. * XmlSchemaExporter.cs: Fixed generation of XmlMembersMapping using
  659. encoded format.
  660. 2003-09-11 Lluis Sanchez Gual <[email protected]>
  661. * SoapSchemaImporter.cs: implemented.
  662. * XmlReflectionImporter.cs: Changed nullable default for array items to true.
  663. * XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
  664. * XmlSchemaImporter.cs: more support for encoded format.
  665. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  666. * SerializationCodeGenerator.cs: Minor fixes.
  667. * SoapReflectionImporter.cs: More fixes.
  668. * SoapSchemaExporter.cs: implemented.
  669. * SoapSchemaImporter.cs: Initial implementation.
  670. * TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
  671. and ParseArrayType
  672. * XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
  673. * XmlMemberMapping.cs: Minor fixes.
  674. * XmlMembersMapping.cs: added some convenient constructors.
  675. * XmlSchemaExporter.cs: Added support for encoded format.
  676. * XmlSchemaImporter.cs: Added support for encoded format.
  677. * XmlSerializationReader.cs: changed some string literals by constants.
  678. Implemented ParseWsdlArrayType.
  679. * XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
  680. custom attributes.
  681. * XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
  682. * XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
  683. WriteAttribute to write custom attributes.
  684. * XmlSerializer.cs: added some namespace constants.
  685. * XmlTypeMapping.cs: added GetSchemaArrayName method.
  686. 2003-09-01 Lluis Sanchez Gual <[email protected]>
  687. * XmlSchemaImporter.cs: Implemented ImportMembersMapping.
  688. * XmlTypeMapMemberElement.cs: Little fix.
  689. * XmlTypeMapping.cs: Added AllElementInfos property in ClassMap.
  690. * XmlCustomFormatter.cs: Added GenerateToXmlString and GenerateFromXmlString
  691. methods.
  692. * SerializationCodeGenerator.cs, SerializationCodeGeneratorConfiguration.cs:
  693. Added.
  694. 2003-08-29 Lluis Sanchez Gual <[email protected]>
  695. * SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  696. * XmlMemberMapping.cs: Changed constructor.
  697. * XmlReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  698. * XmlSchemaImporter.cs: Implemented ImportMembersMapping().
  699. * XmlSerializationReaderInterpreter.cs: Added some helper methods. Changed visibility.
  700. * XmlSerializationWriterInterpreter.cs: Changed visibility.
  701. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  702. * XmlSerializer.cs: Fix in Deserialize() method.
  703. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  704. * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
  705. * XmlSchemas.cs: Find method: make sure the returned object belongs to
  706. the requested type.
  707. * XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
  708. Add null checks for eventSource.
  709. * XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
  710. * XmlSerializationWriter.cs: In Initialize method, initialize the provided
  711. namespece declarations. Virtual method WriteObject not needed any more.
  712. In WriteStartElement, write the provided namespaces.
  713. * XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
  714. Added GetTypeMap method, that returns the map for a given type. Added some
  715. virtual methods, so writer behavior can be extended at several places by
  716. derived classes.
  717. * XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
  718. methods CreateReader and CreateWriter are not called unless no type or
  719. type mapping was provided in the constructor.
  720. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  721. * XmlSchemaImporter.cs: ImportTypeMapping doesn't need to check if the
  722. schema type it is importing is a class or an array. It will always
  723. be a class.
  724. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  725. * XmlSerializationWriterInterpreter.cs: any element members can be serialized
  726. as text nodes. Support it.
  727. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  728. * CodeIdentifier.cs: Fixed MakeValid method.
  729. * TypeTranslator.cs: Added support for more primitive types. Added
  730. GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
  731. maps by default.
  732. * XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
  733. are different from the type ns and name.
  734. Generate class and field comments.
  735. Fixed default attribute generation. In elements with ref attribute, it has to be
  736. generated in the referred attribute.
  737. * XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
  738. Added suport for text nodes in members of type "any".
  739. * XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
  740. content.
  741. * XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
  742. * XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
  743. that have already been declared.
  744. WriteStartElement(): elements from schema namespace are always written with ns prefix.
  745. * XmlTypeMapMember.cs: Added documentation property.
  746. * XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
  747. represents a simple type.
  748. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  749. * XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
  750. stuff.
  751. * SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
  752. * TypeData.cs: Added property that returns a TypeData that represents an array of
  753. the given TypeData.
  754. * TypeTranslator.cs: Added GetArrayName() method.
  755. Added TypeDatas for missing primitive types.
  756. * XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
  757. XmlRootAttribute. Added the namespace to all attributes being generated.
  758. Other fixes in the generation of code.
  759. * XmlReflectionImporter: store the namespace of the type in the maps.
  760. * XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
  761. class can generate text. Do not export inherited attributes of a class.
  762. Use the new root namespace stored in the map when generating the root element.
  763. * XmlSerializationWriter: Always write a prefix when writing a qname, even if the
  764. namespace is the default namespace.
  765. * XmlSerializationWriterInterpreter.cs: fixed missing "else".
  766. * XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
  767. namespace instead of the map namespace (which can be different if the type
  768. has a XmlRoot element).
  769. * XmlTypeMapMember.cs: Set the default value of the DefaultValue property
  770. to System.DBNull.Value.
  771. * XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
  772. the collection if it has not yet been created.
  773. * XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
  774. of the type. It may be different from the namespace of the map if the type
  775. has a XmlRoot element. Also added IsSimpleType property.
  776. In ClassMap, added AllMembers property.
  777. 2003-07-30 Lluis Sanchez Gual <[email protected]>
  778. * TypeData.cs: Added new constructor and variables to allow the creation of
  779. a TypeData without a Type. Added ListItemTypeData property.
  780. * XmlTypeMapping.cs: Added property for checking if a ListMap represents an
  781. array of arrays. Added also a property to get the nested array map.
  782. * XmlCodeExporter.cs: First implementation of code exporter.
  783. 2003-07-22 Lluis Sanchez Gual <[email protected]>
  784. * TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
  785. * XmlSerializationWriterInterpreter.cs: Write XmlAttributes with the prefix
  786. they have.
  787. 2003-07-15 Lluis Sanchez Gual <[email protected]>
  788. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Avoid generating two
  789. maps with the same name and namespace. To avoid this, maps must be registered
  790. using the real map namespace, not the default namespace (the namespace can
  791. change if the type has a XmlType or SoapType attribute).
  792. * XmlArrayItemAttribute.cs: Set IsNullable to true by default.
  793. * XmlSchemaExporter.cs: Implemented method ExportMembersMapping.
  794. Other small fixes.
  795. * XmlSerializationWriterInterpreter.cs: GetStringValue: return null if the value
  796. is null.
  797. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  798. * SoapReflectionImporter.cs: Set the BaseMap property of map. Small fix.
  799. * TypeData.cs: IsComplexType now returns true for IXmlSerializable types.
  800. * XmlAttributes.cs: Fixed bug when reading the value of DefaultValueAttribute.
  801. * XmlReflectionImporter.cs: Set the BaseMap property of map. Several small fixes.
  802. * XmlSchemaExporter.cs: Implemented.
  803. * XmlSchemas.cs: Support schemas with TargetNamespace set to null.
  804. * XmlSerializationWriter.cs: FromXmlQualifiedName (): return null if the qname is null.
  805. GetNamespacePrefix (): no need to add xmlns attribute if namespace is null.
  806. * XmlSerializationWriterInterpreter.cs: Fixed management of default values.
  807. GetStringValue() returns null if the value is null, instead of empty string.
  808. (attributes with null values are not written).
  809. * XmlTypeMapElementInfo.cs: added IsTextElement and IsUnnamedAnyElement properties.
  810. * XmlTypeMapMemberAttribute.cs: added DataTypeNamespace and removed DataType.
  811. DataType value can is now in TypeData.
  812. * XmlTypeMapMemberElement.cs: Small fix.
  813. * XmlTypeMapping.cs: Added FindMember method and BaseMap property.
  814. 2003-07-14 Andreas Nahr <[email protected]>
  815. * AssemblyInfo.cs: Removed
  816. 2003-07-9 Lluis Sanchez Gual <[email protected]>
  817. * XmlSerializationWriter.cs: WriteStartElement(): Do not write xsd and xsi
  818. namespace declarations if they have already been defined.
  819. 2003-07-2 Lluis Sanchez Gual <[email protected]>
  820. * XmlSerializationReaderInterpreter.cs: Use the parameter type when getting the Add method
  821. for adding elements to a list.
  822. 2003-06-31 Lluis Sanchez Gual <[email protected]>
  823. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed so XmlIncludeAttribute and
  824. SoapIncludeAttribute are now transitive (if class A includes class B, and B includes C, then
  825. A includes C).
  826. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  827. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlTypeMapping.cs:
  828. Added support for serialization of enums with the Flags attribute.
  829. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  830. * SoapReflectionImporter.cs: Fix support for DataType in class members.
  831. * TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
  832. can have other names.
  833. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
  834. * XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
  835. XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  836. Fix support for DataType in class members.
  837. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs:
  838. Added support for array of primitive types in attributes.
  839. 2003-06-28 Lluis Sanchez Gual <[email protected]>
  840. * TypeData.cs: Type of item of ICollections is now taken from the Item(int) property. Add() can
  841. be overlodaded, so it is not good for this.
  842. * XmlSerializationWriterInterpreter.cs: Fix ambiguity bug when getting Item property of a collection.
  843. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  844. * XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
  845. * XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
  846. array if the namespace is not specified in XmlArrayItemAttribute.
  847. 2003-06-17 Lluis Sanchez Gual <[email protected]>
  848. * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
  849. * XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
  850. is not specified in the xsi attribute.
  851. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
  852. * XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.
  853. 2003-06-16 Atsushi Enomoto <[email protected]>
  854. * XmlSerializationReader.cs : Synchronous fix with
  855. XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
  856. * added XmlTypeMapMemberNamespace.cs.
  857. * XmlReflectionImporter,
  858. XmlSerializationReaderInterpreter.cs,
  859. XmlSerializationWriterInterpreter.cs,
  860. XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.
  861. 2003-06-16 Atsushi Enomoto <[email protected]>
  862. * XmlSerializationWriter.cs : some QName handling fix.
  863. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  864. * XmlSerializationReader.cs: Fixed error message.
  865. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
  866. Thanks to Atsushi!
  867. * XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.
  868. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  869. * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
  870. * XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
  871. * XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
  872. * XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.
  873. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  874. * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
  875. * SoapReflectionImporter.cs: tiny fix.
  876. * XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
  877. XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
  878. * XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
  879. * XmlSerializationWriter.cs: implemented WriteSerializable ().
  880. 2003-06-12 Lluis Sanchez Gual <[email protected]>
  881. * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
  882. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  883. XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
  884. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
  885. * XmlSerializationWriter.cs: small fix.
  886. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  887. * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
  888. Added support for DefaultValueAttribute.
  889. * XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
  890. the value of an enum.
  891. * XmlTypeMapMember.cs: Added DefaultValue attribute.
  892. * XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
  893. integer values.
  894. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  895. * XmlSerializationReader.cs: Minor fix.
  896. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  897. * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
  898. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  899. * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  900. * XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
  901. * XmlCustomFormatter.cs: small fixes.
  902. * XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  903. * XmlSerializationWriter.cs: Implemented TopLevelElement().
  904. WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
  905. WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
  906. * XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
  907. root elements.
  908. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  909. * SoapReflectionImporter.cs: implemented.
  910. * TypeTranslator.cs: added IsPrimitive() method
  911. * TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
  912. used by that one. Also added Format property, that can be literal or encoded.
  913. * XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
  914. * XmlReflectionMember.cs: added constructor that accepts SoapAttributes
  915. * XmlSerializationReader.cs: implemented many methods needed to support encoded format.
  916. * XmlSerializationReaderInterpreter.cs: added support for encoded format.
  917. * XmlSerializationWriter.cs: added support for encoded format.
  918. * XmlSerializationWriterInterpreter.cs: added support for encoded format.
  919. * XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
  920. * XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
  921. and a map is needed for them).
  922. * XmlTypeMapMemberElement.cs: small fixes.
  923. * XmlTypeMapping.cs: added some properties and methods needed to support encoded format
  924. * ReflectionHelper.cs: added. Has some methods shared by the reflection importers.
  925. 2003-06-01 Miguel de Icaza <[email protected]>
  926. * XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
  927. UnknownElement): Add line number information.
  928. 2003-05-29 Lluis Sanchez Gual <[email protected]>
  929. * TypeData.cs, TypeTranslator.cs: Renamed some properties.
  930. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  931. * XmlMapping.cs: Added internal property.
  932. * XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
  933. * XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
  934. * XmlReflectionMember.cs: XmlAttributes are now created by default
  935. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
  936. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
  937. Implemented support for XmlMembersMapping.
  938. * XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
  939. 2003-05-28 Lluis Sanchez Gual <[email protected]>
  940. * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
  941. from xml type to clr type.
  942. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  943. * XmlReflectionMember.cs: Added default constructor.
  944. * XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
  945. * XmlSerializationWriter.cs: Several fixes.
  946. * XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  947. XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
  948. Added support for enums. Added support for XmlElement and XmlNode.
  949. Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
  950. 2003-05-26 Lluis Sanchez Gual <[email protected]>
  951. * TypeData.cs, TypeTranslator.cs: Implemented some methods.
  952. * XmlCustomFormatter.cs: Added formatting methods.
  953. * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
  954. * XmlReflectionMember.cs: Added new constructor.
  955. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
  956. * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
  957. XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
  958. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
  959. 2003-05-10 Atsushi Enomoto <[email protected]>
  960. * Added TypeTableEntry.cs.
  961. * TypeTranslator.cs : changed for non-static use.
  962. * XmlAttributes.cs : XmlType attribute support for GetAttributeName()
  963. and GetElementName(). Bugfix so that if any XmlElementAttribute
  964. exists after non-typed XmlElementAttribute then it might be ignored.
  965. Added GetElementIsNullable().
  966. * XmlSerializer.cs :
  967. Introduced TypeTablePool and TypeTableEntry and erased ambiguous
  968. Object memberObj[4].
  969. Deserialize() now uses XmlReader.Depth to check its depth.
  970. Serialize() for non-XmlReader arguments now always write xmldecl.
  971. SerializeBuiltin() now explicitly requires Type to support xsi:nil,
  972. and handles XmlQualifiedName.
  973. Separated SerializeType () from Serialize().
  974. Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
  975. IsPropertyTypeSerializable() from SerializeMembers().
  976. SerializeMembers() is now capable of null value and actual type,
  977. which should be included by XmlIncludeAttribute and so on.
  978. Renamed SerializeArray() to SerializeArrayContent(), and added
  979. SerializeCollectionContent().
  980. SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
  981. FillTypeTable() is now aware of XmlInclude attributes.
  982. FillEnum() should not have different type table content from others.
  983. 2003-05-09 Atsushi Enomoto <[email protected]>
  984. * XmlSerializer.cs : this time, only replaced spaces with tabs.
  985. 2003-05-05 Atsushi Enomoto <[email protected]>
  986. * ChangeLog : Added missing ChangeLog of 2003-04-25.
  987. * XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
  988. separators. Added experimental method ToEnum().
  989. * XmlSerializationReader.cs : unconfirmed implementation of
  990. ReadSerializable() and ToEnum().
  991. * XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
  992. is null then no output will be written.
  993. Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
  994. to use custom formatted name.
  995. 2003-05-02 Miguel de Icaza <[email protected]>
  996. * XmlReflectionImporter.cs: one of theImportTypeMapping mappings
  997. had a void return value.
  998. 2003-04-26 Miguel de Icaza <[email protected]>
  999. * XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
  1000. `AllowMultiple' flags.
  1001. 2003-04-25 Atsushi Enomoto <[email protected]>
  1002. * TypeTranslator.cs : patch by Erik LeBel. Array consideration.
  1003. * XmlReflectionImporter.cs : patch by Erik LeBel.
  1004. Now uses XmlRootAttribute to determine element name.
  1005. 2003-03-17 Miguel de Icaza <[email protected]>
  1006. * XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
  1007. Kill Bublesort.
  1008. 2003-03-22 Atsushi Enomoto <[email protected]>
  1009. * XmlSerializer.cs : patch by Sean Cier. Serialize() other than
  1010. XmlWriter argument should call WriteEndDocument.
  1011. 2003-03-19 Atsushi Enomoto <[email protected]>
  1012. * XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
  1013. not WriteState.Start, and never call WriteEndDocument().
  1014. 2003-03-12 Elan Feingold <[email protected]>
  1015. * XmlCustomFormatter.cs: Correct signature, Implement
  1016. ToByteArrayBase64
  1017. * XmlSerializationWriter.cs: Fix prototype.
  1018. * XmlSerializer.cs: Implements Deserialize().
  1019. 2003-02-16 Atsushi Enomoto <[email protected]>
  1020. * XmlSerializer.cs : serializing now works for interface member.
  1021. 2003-01-26 Atsushi Enomoto <[email protected]>
  1022. * XmlSerializer.cs : some fix handling xml node object more correct.
  1023. 2003-01-16 Ajay kumar Dwivedi <[email protected]>
  1024. * XmlSerializer.cs: Array serialization for 1D arrays works
  1025. * TypeTranslator: Added for translations`
  1026. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  1027. * XmlCustomFormatter.cs: finished.
  1028. * XmlSerializationReader.cs: implemented some more methods.
  1029. 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
  1030. * XmlSerializationReader.cs: implemented a few methods.
  1031. * XmlAnyElementAttribute.cs:
  1032. * XmlArrayAttribute.cs:
  1033. * XmlChoiceIdentifierAttribute.cs:
  1034. * XmlElementAttribute.cs:
  1035. * XmlMemberMapping.cs:
  1036. * XmlMembersMapping.cs: class status based fixes.
  1037. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  1038. * CodeIdentifiers.cs:
  1039. * XmlSchemaExporter.cs:
  1040. * XmlSchemaImporter.cs:
  1041. * XmlSchemas.cs:
  1042. * XmlSerializationWriteCallback.cs:
  1043. * XmlSerializationWriter.cs:
  1044. * XmlSerializer.cs:
  1045. * XmlSerializerNamespaces.cs: some class status based fixed and
  1046. implemented a couple of methods.
  1047. * SoapSchemaExporter.cs: stubbed out.
  1048. 2002-08-24 Tim Coleman <[email protected]>
  1049. * SoapCodeExporter.cs:
  1050. Fix return value of ExportTypeMapping.
  1051. * XmlCustomFormatter.cs:
  1052. Change methods to be internal instead of public.
  1053. * XmlSerializationWriter.cs:
  1054. Modify GetPrimitiveTypeName to build on linux.
  1055. Modify GetQualifiedName to return an incrementing prefix
  1056. instead of the same one all the time (still need to manage
  1057. conflicts)
  1058. Modify WriteElementString to only do special stuff is XsiType
  1059. is not defined.
  1060. Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
  1061. an XmlQualifiedName.
  1062. 2002-08-22 Tim Coleman <[email protected]>
  1063. * XmlSerializationReader.cs:
  1064. Some implementation
  1065. * XmlSerializationWriter.cs:
  1066. More implementation
  1067. * XmlCustomFormatter.cs:
  1068. Implemented this class.
  1069. 2002-08-20 Tim Coleman <[email protected]>
  1070. * XmlSerializationWriter.cs:
  1071. Some implementation.
  1072. 2002-08-19 Tim Coleman <[email protected]>
  1073. * XmlSerializer.cs:
  1074. New stubs added.
  1075. * XmlSerializationWriter.cs:
  1076. New stubs added.
  1077. 2002-08-14 Tim Coleman <[email protected]>
  1078. * XmlSerializer.cs:
  1079. More reformatting of source code so I can
  1080. better understand what it does.
  1081. 2002-08-06 Tim Coleman <[email protected]>
  1082. * XmlSerializer.cs:
  1083. Some reformatting of code for readability.
  1084. Modify to correctly serialize ICollection objects
  1085. such as the BindingCollection of a ServiceDescription
  1086. for example.
  1087. 2002-08-03 Tim Coleman <[email protected]>
  1088. * XmlSerializer.cs:
  1089. Changed Implements() to check based on name rather
  1090. than FullName. FullName was never working correctly.
  1091. 2002-07-26 Tim Coleman <[email protected]>
  1092. * XmlSerializer.cs:
  1093. The constructor now looks for an XmlRootAttribute attribute
  1094. if one is not passed in. Various changes to make it emit
  1095. proper XML, such as handling an element without a namespace
  1096. prefix, and using WriteEndDocument where it should be.
  1097. 2002-07-24 Tim Coleman <[email protected]>
  1098. * CodeIdentifier.cs:
  1099. * IXmlSerializable.cs:
  1100. * XmlSerializationCollectionFixupCallback.cs:
  1101. * XmlSerializationFixupCallback.cs:
  1102. * XmlSerializationReadCallback.cs:
  1103. * XmlSerializationReader.cs:
  1104. * XmlSerializationWriteCallback.cs:
  1105. Add new classes.
  1106. * XmlSchemas.cs
  1107. * CodeIdentifiers.cs:
  1108. Implement some of these classes
  1109. * XmlCodeExporter.cs:
  1110. Fix return type of a function
  1111. 2002-07-24 Tim Coleman <[email protected]>
  1112. * SoapReflectionImporter.cs:
  1113. New class added to build
  1114. System.Web.Services.Description.ServiceDescription.cs
  1115. 2002-07-22 Tim Coleman <[email protected]>
  1116. * CodeIdentifiers.cs:
  1117. * SoapCodeExporter.cs:
  1118. * SoapSchemaExporter.cs:
  1119. * XmlCodeExporter.cs:
  1120. * XmlMemberMapping.cs:
  1121. * XmlMembersMapping.cs:
  1122. * XmlReflectionImporter.cs:
  1123. * XmlReflectionMember.cs:
  1124. * XmlSchemaExporter.cs:
  1125. * XmlSchemaImporter.cs:
  1126. * XmlSchemas.cs:
  1127. New stubbs added to aid in the linux build of
  1128. System.Web.Services.
  1129. 2002-07-05 Ajay kumar Dwivedi <[email protected]>
  1130. * XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
  1131. * XmlSerializerNamespaces: Reverted to use of a single Hashtable.
  1132. 2002-07-02 Ajay kumar Dwivedi <[email protected]>
  1133. * XmlSeriailizer: Updated Serialize() method.
  1134. 2002-06-27 Ajay kumar Dwivedi <[email protected]>
  1135. * XmlSerializer: Serialize() method Partially Implemented.
  1136. 2002-06-20 Ajay kumar Dwivedi <[email protected]>
  1137. * Soap & XmlOverrides: Implemented using TypeMember as key with
  1138. suggestions from Rafael.