ChangeLog 100 KB

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