ChangeLog 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097
  1. 2004-03-25 Lluis Sanchez Gual <[email protected]>
  2. * SerializationCodeGenerator.cs: Generate an integer for unknown enum values.
  3. Use a special method to generate default values, since default enum values
  4. will come as integers, so a special cast is needed.
  5. * XmlSerializationReaderInterpreter.cs,
  6. * SerializationSource.cs, SoapAttributeAttribute.cs, SoapAttributeOverrides.cs,
  7. SoapAttributes.cs, SoapElementAttribute.cs, SoapEnumAttribute.cs,
  8. SoapTypeAttribute.cs, XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs,
  9. XmlArrayAttribute.cs, XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs,
  10. XmlAttributeAttribute.cs, XmlAttributeOverrides.cs, XmlAttributes.cs,
  11. XmlChoiceIdentifierAttribute.cs, XmlElementAttribute.cs, XmlElementAttributes.cs,
  12. XmlEnumAttribute.cs, XmlReflectionMember.cs, XmlRootAttribute.cs,
  13. XmlTextAttribute.cs, XmlTypeAttribute.cs: Had to change the implementation
  14. of SerializationSource. It can't keep and use the XmlAttributeOverride
  15. instances as key values, since those instances can be modified after the
  16. xml map has been generated. Now, SerializationSource generates a unique
  17. string hash from XmlAttributeOverride and uses it for comparisons.
  18. 2004-03-24 Lluis Sanchez Gual <[email protected]>
  19. * SerializationCodeGenerator.cs: Several fixes: generate valid names for
  20. WriteRoot_ and ReadRoot_ methods. Cast result of ReadTypedPrimitive to
  21. the adequate type. Set the default value of members that do have a default
  22. value. Other minor fixes.
  23. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: All maps must derive
  24. from typeof(object) map, even those that have another base class.
  25. * XmlCustomFormatter.cs: Fixed generation of conversion from char to string.
  26. It must serialize the char as number, not as character.
  27. * XmlSerializationReaderInterpreter.cs: Set the default value of members
  28. that do have a default value.
  29. * XmlTypeMapping.cs: Added property MembersWithDefault, which returns a list
  30. of members that have a default value.
  31. 2004-03-15 Lluis Sanchez Gual <[email protected]>
  32. * XmlSchemaImporter.cs: Import IXmlSerializable types as DataSet, like in MS.NET.
  33. This fixes bug #55547.
  34. 2004-03-13 David Sheldon <[email protected]>
  35. * XmlSerializationWriter.cs: Implement WriteElementStringRaw with a
  36. byte [].
  37. 2004-03-13 David Sheldon <[email protected]>
  38. * XmlTextAttribute.cs: Initialise dataType with zero-length string.
  39. fixes test case that tests for this directly.
  40. * TypeTranslator.cs: Check for new zero-length dataType so we don't reject
  41. it. Treat it as null.
  42. 2004-03-12 Lluis Sanchez Gual <[email protected]>
  43. * CodeIdentifier.cs: Limit the length of identifiers.
  44. * MapCodeGenerator.cs: Do not generate base class if it is an XmlNode.
  45. Generate types using GetDomType, so if the type is an array, it creates
  46. the correct combination of types.
  47. * SerializationCodeGenerator.cs, XmlTypeMapping.cs: When trying to parse
  48. an enum, if the string is empty and the enum has [Flags], then return 0
  49. as value. This fixes bug #55509.
  50. * XmlSchemaImporter.cs: Added check for redefines of attribute groups. They
  51. are not supported. Another check: a simple type cannot be enum if it does
  52. not have any enum facet.
  53. And another fix: use string as default type for attribtues.
  54. * XmlSchemas.cs: Fixed search for schema elements. An schema may import
  55. other schemas. An imported schema would not be in the table, but its
  56. elements (although from another namespace) would be in the schema that
  57. imported it. So, we need know to check for every schema in the table.
  58. * XmlSerializer.cs: Added environment variable to help debugging code
  59. generator output.
  60. 2004-02-27 Lluis Sanchez Gual <[email protected]>
  61. * MapCodeGenerator.cs: Added IncludeMetadata property, which returns a list
  62. of XmlInclude attributes needed for the service class.
  63. IsMapExported: Removed check for object type, since it can now be exported.
  64. SetMapExported: Use the type name as key, since different importers may
  65. be used to create a map for the same type.
  66. GenerateClassInclude: Updated signature.
  67. * SoapCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  68. GenerateClassInclude(): Updated signature.
  69. * SoapReflectionImporter.cs: Support SoapIncludeAttribute in array members.
  70. Implemented IncludeTypes.
  71. * XmlCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
  72. GenerateClassInclude(): Updated signature.
  73. * XmlMemberMapping.cs: Added missing property.
  74. * XmlReflectionImporter.cs: GetReflectionMembers must be private.
  75. Implemented IncludeTypes().
  76. * XmlSchemaExporter.cs: Added support for exporting typeof(object).
  77. * XmlSchemaImporter.cs: Changed the implementation of ImportDerivedTypeMapping.
  78. Now, it does a regular import and then assign the required base class to
  79. the imported map. In this way it is possible to assign a base type for a
  80. map that was previously imported without a base type.
  81. * XmlTypeMapping.cs: Added internal method SetRoot().
  82. 2004-02-24 Lluis Sanchez Gual <[email protected]>
  83. * SerializationCodeGenerator.cs: Added support for generation of readers
  84. and writers for several maps in a single class. Added support for
  85. XmlMemberMapping. Fixed generation of serializers that use encoded format.
  86. * SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
  87. SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs,
  88. XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
  89. XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
  90. XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
  91. XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
  92. XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
  93. Added InternalEquals method.
  94. * XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
  95. * SoapReflectionImporter.cs: Set SerializationSource to generated maps.
  96. * XmlCustomFormatter.cs: Fixed little bug.
  97. * XmlMapping.cs: Added Source property. This a global identifier of the map.
  98. * XmlReflectionImporter.cs: Set SerializationSource to generated maps.
  99. * XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
  100. mapping members.
  101. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
  102. * XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
  103. correctly used.
  104. * XmlSerializer.cs: Added support for generation of serializers.
  105. 2004-02-18 Atsushi Enomoto <[email protected]>
  106. * SerializationCodeGenerator.cs,
  107. SerializationCodeGeneratorConfiguration.cs:
  108. Added <namespaceImports> feature ("using XXX;" generation) support.
  109. 2004-02-17 Lluis Sanchez Gual <[email protected]>
  110. * XmlSerializationWriter.cs: When writing the root element, use a prefix
  111. if the namespace of the element is defined in the list of namespaces
  112. provided to the XmlSerializer. This fixes bug #54427.
  113. 2004-02-16 Lluis Sanchez Gual <[email protected]>
  114. * MapCodeGenerator.cs: Modified some methods to make them easier to reuse.
  115. Those are basically methods to add custom attributes to element and
  116. attribute members.
  117. * SoapCodeExporter.cs: Track changes in MapCodeGenerator.
  118. * XmlCodeExporter.cs: Better support for custom attribute generation for
  119. method parameters.
  120. * XmlCustomFormatter.cs: Added null check.
  121. * XmlSchemaImporter.cs: do not set IsOptionalValueType property to
  122. attributes that are required.
  123. * XmlSerializationReaderInterpreter.cs: Method parameters may be serialized
  124. as attributes.
  125. 2004-02-11 Lluis Sanchez Gual <[email protected]>
  126. * MapCodeGenerator.cs: Changed some methods to make them easier to reuse.
  127. * TypeTranslator.cs: NMTOKENS, ENTITIES and IDREFS must be mapped to
  128. string, not string[].
  129. * XmlCodeExporter.cs: AddMappingMetadata(): improved attribute generation
  130. for array parameters. In general, improved generation of schema Form
  131. property.
  132. * XmlMemberMapping.cs: Added Form property.
  133. * XmlReflectionImporter.cs: Types that inherit from other types cannot be
  134. simple types. Added a check for this.
  135. * XmlSchemaExporter.cs: several fixes: better generation of IsMixed and
  136. Form. The key used to determine if a map has been already generated must
  137. include the XmlType, since there can be two xml types with the same CLR
  138. type and namespace (for example, they may differ in the Form property).
  139. * XmlSchemaImporter.cs: When getting the TypeData for a schema element,
  140. also return the corresponding map. There can be two maps that have the
  141. same TypeData, so given a TypeData is not always possible to get the
  142. correct corresponding map (for example two arrays that only differ in the
  143. Form of the item).
  144. * XmlTypeMapping.cs: Added method to set if a map can represent a simple
  145. type or not.
  146. 2004-02-04 Lluis Sanchez Gual <[email protected]>
  147. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for the
  148. normalizedString schema type.
  149. 2004-02-04 Lluis Sanchez Gual <[email protected]>
  150. * XmlReflectionImporter.cs: Get the class members using the right order.
  151. * XmlSerializationWriterInterpreter.cs: Removed unneeded code.
  152. A member with the Any attribute can also contain text. Support this.
  153. * XmlTypeMapMemberElement.cs: Added CanBeText property.
  154. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  155. * XmlSchemaImporter.cs: Redefinition of types are not supported. Added a
  156. check.
  157. 2004-01-27 Lluis Sanchez Gual <[email protected]>
  158. * MapCodeGenerator.cs: Added helper method for generating an attribute
  159. parameter of type enum.
  160. * XmlAttributeAttribute.cs: little fix.
  161. * XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
  162. for method parameters.
  163. * XmlMemberMapping.cs: Improved support for members of type "any".
  164. * XmlReflectionImporter.cs: Improved assignment of the attribute form.
  165. If the namespace is explicitly specified, then the form should be
  166. qualified. Also fixed issues with the namespace assigned to attributes.
  167. This should fix bug #53384.
  168. * XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
  169. methods that return values of type "any". Changed the methods
  170. AddSchemaArrayElement and AddSchemaElement, so instead of adding the
  171. element, return it, and the caller must add it to the collection.
  172. Other fixes in attribute generation.
  173. * XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
  174. generate the AnyType mapping from the type described in the schema.
  175. Small fixes regarding IsMixed property of complex types (it means that
  176. the type can contain text, so the XmlTextAttribute must be generated).
  177. * XmlSerializationReaderInterpreter.cs: Reading of members by-order must
  178. be only used in the bare+encoded format.
  179. 2004-01-24 Lluis Sanchez Gual <[email protected]>
  180. * SoapReflectionImporter.cs: Types included with SoapInclude don't need
  181. to be derived types of the one that has the attribute.
  182. * XmlReflectionImporter.cs: Recursively register the derived maps of a given
  183. map to the parent map. This fixes #53246.
  184. * XmlSerializationWriter.cs: Some fixes regarding empty namespaces.
  185. 2004-01-22 Lluis Sanchez Gual <[email protected]>
  186. * XmlSerializationReaderInterpreter.cs: When deserializing an XmlElement,
  187. do not check the root element name, since it can be any name. This fixes
  188. bug #53201.
  189. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  190. * XmlReflectionImporter.cs: Throw exception if a value type member has the
  191. IsNullable=true flag. This fixes bug #52906.
  192. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  193. * MapCodeGenerator.cs, XmlSchemaImporter.cs: Attributes are allways optional,
  194. so a 'specified' member has always to be generated.
  195. * TypeData.cs: Fixed check for value type.
  196. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  197. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs,
  198. XmlTypeMapMember.cs, MapCodeGenerator.cs, SoapCodeExporter.cs, TypeData.cs,
  199. XmlCodeExporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs,
  200. XmlSchemaImporter.cs, XmlSerializationReaderInterpreter.cs,
  201. XmlSerializationWriterInterpreter.cs, XmlTypeMapMember.cs:
  202. Added support for value specifiers members. This fixes bug #53024.
  203. 2004-01-20 Lluis Sanchez Gual <[email protected]>
  204. * XmlSchemaExporter.cs: Don't create referenced element if it has already
  205. been created (two types could be referencing the same schema element).
  206. 2004-01-19 Lluis Sanchez Gual <[email protected]>
  207. * XmlReflectionImporter.cs: Read IsNullable flag from XmlArrayAttribute.
  208. * XmlSerializationWriterInterpreter.cs: Interpret IsNullable flag for
  209. arrays. This fixes bug #53018.
  210. 2004-01-14 Lluis Sanchez Gual <[email protected]>
  211. * MapCodeGenerator.cs: Use type namespace instead of root namespace as
  212. default namespace for members.
  213. * XmlCodeExporter.cs: Fixed generation of XmlRootAttribute.
  214. * XmlReflectionImporter.cs: Fixed the assignment of root and type
  215. namespaces.
  216. * XmlSchemaExporter.cs: Use type namespace instead of root namespace as
  217. default namespace for members. In AddSchemaElement, if the element is
  218. a root element never use a "ref" attribute.
  219. * XmlSchemaImporter.cs: Fixed issue when importing root elements.
  220. 2004-01-13 Lluis Sanchez Gual <[email protected]>
  221. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  222. XmlTypeMapping.cs: more namespace fixes.
  223. 2004-01-13 Lluis Sanchez Gual <[email protected]>
  224. * XmlReflectionImporter.cs: type namespace must never be used as root
  225. namespace. This fixes bug #52772.
  226. 2004-01-08 Nick Drochak <[email protected]>
  227. * XmlSchemaImporter.cs: Removed unused variable.
  228. 2004-01-07 Lluis Sanchez Gual <[email protected]>
  229. * XmlReflectionImporter.cs: Ignore Namespace property when applying
  230. the [XmlType] attribute to an enum. This fixes bug #52607.
  231. 2003-12-19 Lluis Sanchez Gual <[email protected]>
  232. * SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
  233. option that allow serialization of private types.
  234. 2003-12-18 Eran Domb <[email protected]>
  235. * TypeTranslator.cs : Change primtive types map.
  236. 2003-12-18 Eran Domb <[email protected]>
  237. * XmlReflectionImporter.cs (ImportListMapping): Adding the included types of the list as a derived
  238. classes of object.
  239. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  240. * XmlSchemaExporter.cs: AddSchemaElement, use XmlTypeMapElementInfo.IsPrimitive
  241. to check if a type is primitive, instead of Type.IsPrimitive, since CLR
  242. primitive types are not the same as XML primitive types. Patch proposed
  243. by Mordechai Taitelman. This fixes bug #52228.
  244. * XmlSerializationWriter.cs: Fixes in WriteNullTagEncoded and WriteNullTagLiteral.
  245. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  246. * XmlReflectionImporter.cs: Little fix.
  247. 2003-12-15 Lluis Sanchez Gual <[email protected]>
  248. * XmlReflectionImporter.cs: Type specified with XmlIncludeAttribute don't
  249. need to be derived types of the includer. This fixes bug #52152.
  250. Added null check for Name property of XmlEnumAttribute. This fixes
  251. bug #52155.
  252. * XmlSerializationReader.cs: Fixed some error messages.
  253. * XmlSerializationReaderInterpreter.cs: Check that the root element has
  254. the correct local name and namespace. This fixes bug #52038.
  255. Throw exception if enum value can't be parsed.
  256. * XmlTypeMapping.cs: Don't try to parse numeric enum values. This fixes
  257. bug #52041.
  258. 2003-12-12 Lluis Sanchez Gual <[email protected]>
  259. * MapCodeGenerator.cs: Added support for [Flags] enum.
  260. * XmlCodeExporter.cs: Do not add XmlElement attributes if the member is Any.
  261. * XmlSchemaImporter.cs: Implemented ImportAnyType(). Improved import of
  262. encoded array type. Added support for enums with [Flags].
  263. In encoded format, unqualified types are schema types by default.
  264. 2003-12-11 Lluis Sanchez Gual <[email protected]>
  265. * XmlCodeExporter.cs: Little fix.
  266. * XmlSchemaExporter.cs: In rpc format, make sure that parameters with the
  267. same name have the same type.
  268. * XmlSchemaImporter.cs: Support xml:lang.
  269. * XmlSerializationReader.cs, XmlSerializationWriterInterpreter.cs:
  270. fixed wrong namespace for the arrayType attribute.
  271. 2003-12-08 Lluis Sanchez Gual <[email protected]>
  272. * SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
  273. XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  274. When using rpc format on a web service, members don't need to have any
  275. specific namespace. Added a flag for turning namespace check on/off.
  276. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  277. * XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
  278. delayedListFixups.Count cannot be used because elementes from
  279. delayedListFixups are deleted sometimes.
  280. 2003-11-27 Lluis Sanchez Gual <[email protected]>
  281. * XmlReflectionImporter.cs: Indexer properties must not be serialized.
  282. This fixes bug #51060.
  283. 2003-11-24 Lluis Sanchez Gual <[email protected]>
  284. * XmlSerializationWriterInterpreter.cs: Applied patch by Eran Domb:
  285. If type is Enum the code use type.GetElememtType() instead of
  286. Enum.GetUnderlyingType().
  287. 2003-11-12 Lluis Sanchez Gual <[email protected]>
  288. * XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs:
  289. Removed several TODOs already done.
  290. 2003-11-03 Lluis Sanchez Gual <[email protected]>
  291. * XmlCustomFormatter.cs: Added support for anyUri type. This fixes
  292. bug #50041.
  293. 2003-10-20 Lluis Sanchez Gual <[email protected]>
  294. * ReflectionHelper.cs: In CheckSerializableType() check that the type
  295. is public.
  296. * XmlSerializationWriter.cs: Added check for circular references.
  297. This fixes bug #49879.
  298. 2003-10-20 Lluis Sanchez Gual <[email protected]>
  299. * ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
  300. can't be serialized. This fixes bug #49878.
  301. * TypeData.cs: In ListItemType check that the collection has a valid
  302. Add method and report an error if not.
  303. * XmlReflectionImporter.cs: Added CheckSerializableType check call when
  304. reflecting a collection.
  305. 2003-10-18 Lluis Sanchez Gual <[email protected]>
  306. * SoapReflectionImporter.cs: Support element references for enum values in
  307. encoding format. This fixes bug #49568.
  308. * XmlSerializationReaderInterpreter.cs: In encoded format, do not check
  309. the name and namespace of the wrapper element. MS.NET doesn't do it.
  310. This fixes bug #49729.
  311. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  312. * MapCodeGenerator.cs: Made MapCodeGenerator internal.
  313. 2003-10-15 Lluis Sanchez Gual <[email protected]>
  314. * MapCodeGenerator.cs: New file. Moved here all code that is common
  315. between XmlCodeExporter and SoapCodeExporter.
  316. * SoapCodeExporter.cs: Implemented.
  317. * XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
  318. * XmlSerializationReaderInterpreter.cs: Fixed problem when reading
  319. encoded bare parameter list.
  320. * XmlTypeMapping.cs: Added method for getting member element by index.
  321. 2003-10-14 Atsushi Enomoto <[email protected]>
  322. * XmlSchemas.cs : Implemented IsDataSet().
  323. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  324. * SoapCodeExporter.cs: Initial implementation of AddMappingMetadata().
  325. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
  326. in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
  327. * SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
  328. * XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
  329. and whether it uses encoded or literal format.
  330. * XmlSchemaExporter.cs: Little fixes.
  331. 2003-10-10 Lluis Sanchez Gual <[email protected]>
  332. * XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
  333. need to be of type SOAP-ENC:Array, it can be a restriction of it.
  334. 2003-10-10 Lluis Sanchez Gual <[email protected]>
  335. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
  336. Read only properties are only serialized if the type is an array.
  337. 2003-10-09 Lluis Sanchez Gual <[email protected]>
  338. * SoapReflectionImporter.cs, XmlReflectionImporter.cs,
  339. SoapReflectionImporter.cs: Fixed bug #94694. Check for public constructor
  340. is not needed for value types.
  341. 2003-10-08 Lluis Sanchez Gual <[email protected]>
  342. * XmlSerializer.cs, XmlSerializationWriter.cs: Fixed bug #49353
  343. (XmlSerializer.Serialize() handles namespace parameter incorrectly)
  344. 2003-10-05 Lluis Sanchez Gual <[email protected]>
  345. * XmlReflectionImporter.cs, SoapReflectionImporter.cs: Fixed bug #49349
  346. 2003-10-04 Lluis Sanchez Gual <[email protected]>
  347. * XmlSchemaExporter.cs: Keep track of elements being exported.
  348. * XmlSchemas.cs: Removed unneeded catch.
  349. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  350. * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  351. Fixed handling of members with XmlTextAttribute that are arrays.
  352. * TypeData.cs: IsComplexType now returns true for XmlNode.
  353. * XmlSerializer.cs: Added check for null mapping in FromMappings.
  354. * XmlTypeMapping.cs: Added helper method FindTextElement.
  355. 2003-09-28 Lluis Sanchez Gual <[email protected]>
  356. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs:
  357. Added support for IncludeInSchema flag.
  358. * SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  359. * XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
  360. methods. Added support for IncludeInSchema flag.
  361. * XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
  362. Added support for IncludeInSchema flag.
  363. * XmlTypeAttribute.cs: Set includeInSchema to true by default.
  364. * XmlTypeMapping.cs: Added IncludeInSchema property.
  365. 2003-09-25 Lluis Sanchez Gual <[email protected]>
  366. * SoapIncludeAttribute.cs: Added AllowMultiple option. This fixes bug #48877.
  367. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  368. * XmlCustomFormatter.cs: added support for additional string types in
  369. GenerateToXmlString().
  370. * XmlSchemaExporter.cs: Fixed generation of XmlMembersMapping using
  371. encoded format.
  372. 2003-09-11 Lluis Sanchez Gual <[email protected]>
  373. * SoapSchemaImporter.cs: implemented.
  374. * XmlReflectionImporter.cs: Changed nullable default for array items to true.
  375. * XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
  376. * XmlSchemaImporter.cs: more support for encoded format.
  377. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  378. * SerializationCodeGenerator.cs: Minor fixes.
  379. * SoapReflectionImporter.cs: More fixes.
  380. * SoapSchemaExporter.cs: implemented.
  381. * SoapSchemaImporter.cs: Initial implementation.
  382. * TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
  383. and ParseArrayType
  384. * XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
  385. * XmlMemberMapping.cs: Minor fixes.
  386. * XmlMembersMapping.cs: added some convenient constructors.
  387. * XmlSchemaExporter.cs: Added support for encoded format.
  388. * XmlSchemaImporter.cs: Added support for encoded format.
  389. * XmlSerializationReader.cs: changed some string literals by constants.
  390. Implemented ParseWsdlArrayType.
  391. * XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
  392. custom attributes.
  393. * XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
  394. * XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
  395. WriteAttribute to write custom attributes.
  396. * XmlSerializer.cs: added some namespace constants.
  397. * XmlTypeMapping.cs: added GetSchemaArrayName method.
  398. 2003-09-01 Lluis Sanchez Gual <[email protected]>
  399. * XmlSchemaImporter.cs: Implemented ImportMembersMapping.
  400. * XmlTypeMapMemberElement.cs: Little fix.
  401. * XmlTypeMapping.cs: Added AllElementInfos property in ClassMap.
  402. * XmlCustomFormatter.cs: Added GenerateToXmlString and GenerateFromXmlString
  403. methods.
  404. * SerializationCodeGenerator.cs, SerializationCodeGeneratorConfiguration.cs:
  405. Added.
  406. 2003-08-29 Lluis Sanchez Gual <[email protected]>
  407. * SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  408. * XmlMemberMapping.cs: Changed constructor.
  409. * XmlReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
  410. * XmlSchemaImporter.cs: Implemented ImportMembersMapping().
  411. * XmlSerializationReaderInterpreter.cs: Added some helper methods. Changed visibility.
  412. * XmlSerializationWriterInterpreter.cs: Changed visibility.
  413. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  414. * XmlSerializer.cs: Fix in Deserialize() method.
  415. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  416. * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
  417. * XmlSchemas.cs: Find method: make sure the returned object belongs to
  418. the requested type.
  419. * XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
  420. Add null checks for eventSource.
  421. * XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
  422. * XmlSerializationWriter.cs: In Initialize method, initialize the provided
  423. namespece declarations. Virtual method WriteObject not needed any more.
  424. In WriteStartElement, write the provided namespaces.
  425. * XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
  426. Added GetTypeMap method, that returns the map for a given type. Added some
  427. virtual methods, so writer behavior can be extended at several places by
  428. derived classes.
  429. * XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
  430. methods CreateReader and CreateWriter are not called unless no type or
  431. type mapping was provided in the constructor.
  432. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  433. * XmlSchemaImporter.cs: ImportTypeMapping doesn't need to check if the
  434. schema type it is importing is a class or an array. It will always
  435. be a class.
  436. 2003-08-12 Lluis Sanchez Gual <[email protected]>
  437. * XmlSerializationWriterInterpreter.cs: any element members can be serialized
  438. as text nodes. Support it.
  439. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  440. * CodeIdentifier.cs: Fixed MakeValid method.
  441. * TypeTranslator.cs: Added support for more primitive types. Added
  442. GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
  443. maps by default.
  444. * XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
  445. are different from the type ns and name.
  446. Generate class and field comments.
  447. Fixed default attribute generation. In elements with ref attribute, it has to be
  448. generated in the referred attribute.
  449. * XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
  450. Added suport for text nodes in members of type "any".
  451. * XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
  452. content.
  453. * XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
  454. * XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
  455. that have already been declared.
  456. WriteStartElement(): elements from schema namespace are always written with ns prefix.
  457. * XmlTypeMapMember.cs: Added documentation property.
  458. * XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
  459. represents a simple type.
  460. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  461. * XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
  462. stuff.
  463. * SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
  464. * TypeData.cs: Added property that returns a TypeData that represents an array of
  465. the given TypeData.
  466. * TypeTranslator.cs: Added GetArrayName() method.
  467. Added TypeDatas for missing primitive types.
  468. * XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
  469. XmlRootAttribute. Added the namespace to all attributes being generated.
  470. Other fixes in the generation of code.
  471. * XmlReflectionImporter: store the namespace of the type in the maps.
  472. * XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
  473. class can generate text. Do not export inherited attributes of a class.
  474. Use the new root namespace stored in the map when generating the root element.
  475. * XmlSerializationWriter: Always write a prefix when writing a qname, even if the
  476. namespace is the default namespace.
  477. * XmlSerializationWriterInterpreter.cs: fixed missing "else".
  478. * XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
  479. namespace instead of the map namespace (which can be different if the type
  480. has a XmlRoot element).
  481. * XmlTypeMapMember.cs: Set the default value of the DefaultValue property
  482. to System.DBNull.Value.
  483. * XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
  484. the collection if it has not yet been created.
  485. * XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
  486. of the type. It may be different from the namespace of the map if the type
  487. has a XmlRoot element. Also added IsSimpleType property.
  488. In ClassMap, added AllMembers property.
  489. 2003-07-30 Lluis Sanchez Gual <[email protected]>
  490. * TypeData.cs: Added new constructor and variables to allow the creation of
  491. a TypeData without a Type. Added ListItemTypeData property.
  492. * XmlTypeMapping.cs: Added property for checking if a ListMap represents an
  493. array of arrays. Added also a property to get the nested array map.
  494. * XmlCodeExporter.cs: First implementation of code exporter.
  495. 2003-07-22 Lluis Sanchez Gual <[email protected]>
  496. * TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
  497. * XmlSerializationWriterInterpreter.cs: Write XmlAttributes with the prefix
  498. they have.
  499. 2003-07-15 Lluis Sanchez Gual <[email protected]>
  500. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Avoid generating two
  501. maps with the same name and namespace. To avoid this, maps must be registered
  502. using the real map namespace, not the default namespace (the namespace can
  503. change if the type has a XmlType or SoapType attribute).
  504. * XmlArrayItemAttribute.cs: Set IsNullable to true by default.
  505. * XmlSchemaExporter.cs: Implemented method ExportMembersMapping.
  506. Other small fixes.
  507. * XmlSerializationWriterInterpreter.cs: GetStringValue: return null if the value
  508. is null.
  509. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  510. * SoapReflectionImporter.cs: Set the BaseMap property of map. Small fix.
  511. * TypeData.cs: IsComplexType now returns true for IXmlSerializable types.
  512. * XmlAttributes.cs: Fixed bug when reading the value of DefaultValueAttribute.
  513. * XmlReflectionImporter.cs: Set the BaseMap property of map. Several small fixes.
  514. * XmlSchemaExporter.cs: Implemented.
  515. * XmlSchemas.cs: Support schemas with TargetNamespace set to null.
  516. * XmlSerializationWriter.cs: FromXmlQualifiedName (): return null if the qname is null.
  517. GetNamespacePrefix (): no need to add xmlns attribute if namespace is null.
  518. * XmlSerializationWriterInterpreter.cs: Fixed management of default values.
  519. GetStringValue() returns null if the value is null, instead of empty string.
  520. (attributes with null values are not written).
  521. * XmlTypeMapElementInfo.cs: added IsTextElement and IsUnnamedAnyElement properties.
  522. * XmlTypeMapMemberAttribute.cs: added DataTypeNamespace and removed DataType.
  523. DataType value can is now in TypeData.
  524. * XmlTypeMapMemberElement.cs: Small fix.
  525. * XmlTypeMapping.cs: Added FindMember method and BaseMap property.
  526. 2003-07-14 Andreas Nahr <[email protected]>
  527. * AssemblyInfo.cs: Removed
  528. 2003-07-9 Lluis Sanchez Gual <[email protected]>
  529. * XmlSerializationWriter.cs: WriteStartElement(): Do not write xsd and xsi
  530. namespace declarations if they have already been defined.
  531. 2003-07-2 Lluis Sanchez Gual <[email protected]>
  532. * XmlSerializationReaderInterpreter.cs: Use the parameter type when getting the Add method
  533. for adding elements to a list.
  534. 2003-06-31 Lluis Sanchez Gual <[email protected]>
  535. * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed so XmlIncludeAttribute and
  536. SoapIncludeAttribute are now transitive (if class A includes class B, and B includes C, then
  537. A includes C).
  538. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  539. * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlTypeMapping.cs:
  540. Added support for serialization of enums with the Flags attribute.
  541. 2003-06-30 Lluis Sanchez Gual <[email protected]>
  542. * SoapReflectionImporter.cs: Fix support for DataType in class members.
  543. * TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
  544. can have other names.
  545. * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
  546. * XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
  547. XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  548. Fix support for DataType in class members.
  549. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs:
  550. Added support for array of primitive types in attributes.
  551. 2003-06-28 Lluis Sanchez Gual <[email protected]>
  552. * TypeData.cs: Type of item of ICollections is now taken from the Item(int) property. Add() can
  553. be overlodaded, so it is not good for this.
  554. * XmlSerializationWriterInterpreter.cs: Fix ambiguity bug when getting Item property of a collection.
  555. 2003-06-24 Lluis Sanchez Gual <[email protected]>
  556. * XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
  557. * XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
  558. array if the namespace is not specified in XmlArrayItemAttribute.
  559. 2003-06-17 Lluis Sanchez Gual <[email protected]>
  560. * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
  561. * XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
  562. is not specified in the xsi attribute.
  563. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
  564. * XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.
  565. 2003-06-16 Atsushi Enomoto <[email protected]>
  566. * XmlSerializationReader.cs : Synchronous fix with
  567. XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
  568. * added XmlTypeMapMemberNamespace.cs.
  569. * XmlReflectionImporter,
  570. XmlSerializationReaderInterpreter.cs,
  571. XmlSerializationWriterInterpreter.cs,
  572. XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.
  573. 2003-06-16 Atsushi Enomoto <[email protected]>
  574. * XmlSerializationWriter.cs : some QName handling fix.
  575. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  576. * XmlSerializationReader.cs: Fixed error message.
  577. * XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
  578. Thanks to Atsushi!
  579. * XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.
  580. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  581. * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
  582. * XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
  583. * XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
  584. * XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.
  585. 2003-06-13 Lluis Sanchez Gual <[email protected]>
  586. * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
  587. * SoapReflectionImporter.cs: tiny fix.
  588. * XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
  589. XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
  590. * XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
  591. * XmlSerializationWriter.cs: implemented WriteSerializable ().
  592. 2003-06-12 Lluis Sanchez Gual <[email protected]>
  593. * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
  594. * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  595. XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
  596. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
  597. * XmlSerializationWriter.cs: small fix.
  598. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  599. * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
  600. Added support for DefaultValueAttribute.
  601. * XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
  602. the value of an enum.
  603. * XmlTypeMapMember.cs: Added DefaultValue attribute.
  604. * XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
  605. integer values.
  606. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  607. * XmlSerializationReader.cs: Minor fix.
  608. 2003-06-11 Lluis Sanchez Gual <[email protected]>
  609. * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
  610. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  611. * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  612. * XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
  613. * XmlCustomFormatter.cs: small fixes.
  614. * XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
  615. * XmlSerializationWriter.cs: Implemented TopLevelElement().
  616. WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
  617. WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
  618. * XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
  619. root elements.
  620. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  621. * SoapReflectionImporter.cs: implemented.
  622. * TypeTranslator.cs: added IsPrimitive() method
  623. * TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
  624. used by that one. Also added Format property, that can be literal or encoded.
  625. * XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
  626. * XmlReflectionMember.cs: added constructor that accepts SoapAttributes
  627. * XmlSerializationReader.cs: implemented many methods needed to support encoded format.
  628. * XmlSerializationReaderInterpreter.cs: added support for encoded format.
  629. * XmlSerializationWriter.cs: added support for encoded format.
  630. * XmlSerializationWriterInterpreter.cs: added support for encoded format.
  631. * XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
  632. * XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
  633. and a map is needed for them).
  634. * XmlTypeMapMemberElement.cs: small fixes.
  635. * XmlTypeMapping.cs: added some properties and methods needed to support encoded format
  636. * ReflectionHelper.cs: added. Has some methods shared by the reflection importers.
  637. 2003-06-01 Miguel de Icaza <[email protected]>
  638. * XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
  639. UnknownElement): Add line number information.
  640. 2003-05-29 Lluis Sanchez Gual <[email protected]>
  641. * TypeData.cs, TypeTranslator.cs: Renamed some properties.
  642. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  643. * XmlMapping.cs: Added internal property.
  644. * XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
  645. * XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
  646. * XmlReflectionMember.cs: XmlAttributes are now created by default
  647. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
  648. * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
  649. Implemented support for XmlMembersMapping.
  650. * XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
  651. 2003-05-28 Lluis Sanchez Gual <[email protected]>
  652. * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
  653. from xml type to clr type.
  654. * XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
  655. * XmlReflectionMember.cs: Added default constructor.
  656. * XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
  657. * XmlSerializationWriter.cs: Several fixes.
  658. * XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
  659. XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
  660. Added support for enums. Added support for XmlElement and XmlNode.
  661. Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
  662. 2003-05-26 Lluis Sanchez Gual <[email protected]>
  663. * TypeData.cs, TypeTranslator.cs: Implemented some methods.
  664. * XmlCustomFormatter.cs: Added formatting methods.
  665. * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
  666. * XmlReflectionMember.cs: Added new constructor.
  667. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
  668. * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
  669. XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
  670. XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
  671. 2003-05-10 Atsushi Enomoto <[email protected]>
  672. * Added TypeTableEntry.cs.
  673. * TypeTranslator.cs : changed for non-static use.
  674. * XmlAttributes.cs : XmlType attribute support for GetAttributeName()
  675. and GetElementName(). Bugfix so that if any XmlElementAttribute
  676. exists after non-typed XmlElementAttribute then it might be ignored.
  677. Added GetElementIsNullable().
  678. * XmlSerializer.cs :
  679. Introduced TypeTablePool and TypeTableEntry and erased ambiguous
  680. Object memberObj[4].
  681. Deserialize() now uses XmlReader.Depth to check its depth.
  682. Serialize() for non-XmlReader arguments now always write xmldecl.
  683. SerializeBuiltin() now explicitly requires Type to support xsi:nil,
  684. and handles XmlQualifiedName.
  685. Separated SerializeType () from Serialize().
  686. Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
  687. IsPropertyTypeSerializable() from SerializeMembers().
  688. SerializeMembers() is now capable of null value and actual type,
  689. which should be included by XmlIncludeAttribute and so on.
  690. Renamed SerializeArray() to SerializeArrayContent(), and added
  691. SerializeCollectionContent().
  692. SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
  693. FillTypeTable() is now aware of XmlInclude attributes.
  694. FillEnum() should not have different type table content from others.
  695. 2003-05-09 Atsushi Enomoto <[email protected]>
  696. * XmlSerializer.cs : this time, only replaced spaces with tabs.
  697. 2003-05-05 Atsushi Enomoto <[email protected]>
  698. * ChangeLog : Added missing ChangeLog of 2003-04-25.
  699. * XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
  700. separators. Added experimental method ToEnum().
  701. * XmlSerializationReader.cs : unconfirmed implementation of
  702. ReadSerializable() and ToEnum().
  703. * XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
  704. is null then no output will be written.
  705. Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
  706. to use custom formatted name.
  707. 2003-05-02 Miguel de Icaza <[email protected]>
  708. * XmlReflectionImporter.cs: one of theImportTypeMapping mappings
  709. had a void return value.
  710. 2003-04-26 Miguel de Icaza <[email protected]>
  711. * XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
  712. `AllowMultiple' flags.
  713. 2003-04-25 Atsushi Enomoto <[email protected]>
  714. * TypeTranslator.cs : patch by Erik LeBel. Array consideration.
  715. * XmlReflectionImporter.cs : patch by Erik LeBel.
  716. Now uses XmlRootAttribute to determine element name.
  717. 2003-03-17 Miguel de Icaza <[email protected]>
  718. * XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
  719. Kill Bublesort.
  720. 2003-03-22 Atsushi Enomoto <[email protected]>
  721. * XmlSerializer.cs : patch by Sean Cier. Serialize() other than
  722. XmlWriter argument should call WriteEndDocument.
  723. 2003-03-19 Atsushi Enomoto <[email protected]>
  724. * XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
  725. not WriteState.Start, and never call WriteEndDocument().
  726. 2003-03-12 Elan Feingold <[email protected]>
  727. * XmlCustomFormatter.cs: Correct signature, Implement
  728. ToByteArrayBase64
  729. * XmlSerializationWriter.cs: Fix prototype.
  730. * XmlSerializer.cs: Implements Deserialize().
  731. 2003-02-16 Atsushi Enomoto <[email protected]>
  732. * XmlSerializer.cs : serializing now works for interface member.
  733. 2003-01-26 Atsushi Enomoto <[email protected]>
  734. * XmlSerializer.cs : some fix handling xml node object more correct.
  735. 2003-01-16 Ajay kumar Dwivedi <[email protected]>
  736. * XmlSerializer.cs: Array serialization for 1D arrays works
  737. * TypeTranslator: Added for translations`
  738. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  739. * XmlCustomFormatter.cs: finished.
  740. * XmlSerializationReader.cs: implemented some more methods.
  741. 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
  742. * XmlSerializationReader.cs: implemented a few methods.
  743. * XmlAnyElementAttribute.cs:
  744. * XmlArrayAttribute.cs:
  745. * XmlChoiceIdentifierAttribute.cs:
  746. * XmlElementAttribute.cs:
  747. * XmlMemberMapping.cs:
  748. * XmlMembersMapping.cs: class status based fixes.
  749. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  750. * CodeIdentifiers.cs:
  751. * XmlSchemaExporter.cs:
  752. * XmlSchemaImporter.cs:
  753. * XmlSchemas.cs:
  754. * XmlSerializationWriteCallback.cs:
  755. * XmlSerializationWriter.cs:
  756. * XmlSerializer.cs:
  757. * XmlSerializerNamespaces.cs: some class status based fixed and
  758. implemented a couple of methods.
  759. * SoapSchemaExporter.cs: stubbed out.
  760. 2002-08-24 Tim Coleman <[email protected]>
  761. * SoapCodeExporter.cs:
  762. Fix return value of ExportTypeMapping.
  763. * XmlCustomFormatter.cs:
  764. Change methods to be internal instead of public.
  765. * XmlSerializationWriter.cs:
  766. Modify GetPrimitiveTypeName to build on linux.
  767. Modify GetQualifiedName to return an incrementing prefix
  768. instead of the same one all the time (still need to manage
  769. conflicts)
  770. Modify WriteElementString to only do special stuff is XsiType
  771. is not defined.
  772. Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
  773. an XmlQualifiedName.
  774. 2002-08-22 Tim Coleman <[email protected]>
  775. * XmlSerializationReader.cs:
  776. Some implementation
  777. * XmlSerializationWriter.cs:
  778. More implementation
  779. * XmlCustomFormatter.cs:
  780. Implemented this class.
  781. 2002-08-20 Tim Coleman <[email protected]>
  782. * XmlSerializationWriter.cs:
  783. Some implementation.
  784. 2002-08-19 Tim Coleman <[email protected]>
  785. * XmlSerializer.cs:
  786. New stubs added.
  787. * XmlSerializationWriter.cs:
  788. New stubs added.
  789. 2002-08-14 Tim Coleman <[email protected]>
  790. * XmlSerializer.cs:
  791. More reformatting of source code so I can
  792. better understand what it does.
  793. 2002-08-06 Tim Coleman <[email protected]>
  794. * XmlSerializer.cs:
  795. Some reformatting of code for readability.
  796. Modify to correctly serialize ICollection objects
  797. such as the BindingCollection of a ServiceDescription
  798. for example.
  799. 2002-08-03 Tim Coleman <[email protected]>
  800. * XmlSerializer.cs:
  801. Changed Implements() to check based on name rather
  802. than FullName. FullName was never working correctly.
  803. 2002-07-26 Tim Coleman <[email protected]>
  804. * XmlSerializer.cs:
  805. The constructor now looks for an XmlRootAttribute attribute
  806. if one is not passed in. Various changes to make it emit
  807. proper XML, such as handling an element without a namespace
  808. prefix, and using WriteEndDocument where it should be.
  809. 2002-07-24 Tim Coleman <[email protected]>
  810. * CodeIdentifier.cs:
  811. * IXmlSerializable.cs:
  812. * XmlSerializationCollectionFixupCallback.cs:
  813. * XmlSerializationFixupCallback.cs:
  814. * XmlSerializationReadCallback.cs:
  815. * XmlSerializationReader.cs:
  816. * XmlSerializationWriteCallback.cs:
  817. Add new classes.
  818. * XmlSchemas.cs
  819. * CodeIdentifiers.cs:
  820. Implement some of these classes
  821. * XmlCodeExporter.cs:
  822. Fix return type of a function
  823. 2002-07-24 Tim Coleman <[email protected]>
  824. * SoapReflectionImporter.cs:
  825. New class added to build
  826. System.Web.Services.Description.ServiceDescription.cs
  827. 2002-07-22 Tim Coleman <[email protected]>
  828. * CodeIdentifiers.cs:
  829. * SoapCodeExporter.cs:
  830. * SoapSchemaExporter.cs:
  831. * XmlCodeExporter.cs:
  832. * XmlMemberMapping.cs:
  833. * XmlMembersMapping.cs:
  834. * XmlReflectionImporter.cs:
  835. * XmlReflectionMember.cs:
  836. * XmlSchemaExporter.cs:
  837. * XmlSchemaImporter.cs:
  838. * XmlSchemas.cs:
  839. New stubbs added to aid in the linux build of
  840. System.Web.Services.
  841. 2002-07-05 Ajay kumar Dwivedi <[email protected]>
  842. * XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
  843. * XmlSerializerNamespaces: Reverted to use of a single Hashtable.
  844. 2002-07-02 Ajay kumar Dwivedi <[email protected]>
  845. * XmlSeriailizer: Updated Serialize() method.
  846. 2002-06-27 Ajay kumar Dwivedi <[email protected]>
  847. * XmlSerializer: Serialize() method Partially Implemented.
  848. 2002-06-20 Ajay kumar Dwivedi <[email protected]>
  849. * Soap & XmlOverrides: Implemented using TypeMember as key with
  850. suggestions from Rafael.