ChangeLog 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. 2003-09-30 Atsushi Enomoto <[email protected]>
  2. * Forgot to append 8/24/2003 ChangeLog.
  3. * BUGS.txt, BUGS-MS.txt : Appended additional bug info.
  4. * BuiltInDatatype.cs, ValidationHandler.cs, XmlSchema.cs,
  5. XmlSchemaAll.cs, XmlSchemaAnnotation.cs. XmlSchemaAny.cs,
  6. XmlSchemaAnyAttribute.cs, XmlSchemaAttribute.cs,
  7. XmlSchemaAttributeGroup.cs, XmlSchemaAttributeGroupRef.cs,
  8. XmlSchemaChoice.cs, XmlSchemaCollection.cs,
  9. XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
  10. XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
  11. XmlSchemaContent.cs, XmlSchemaDatatype.cs, XmlSchemaElement.cs,
  12. XmlSchemaException.cs, XmlSchemaGroup.cs, XmlSchemaGroupBase.cs,
  13. XmlSchemaGroupRef.cs, XmlSchemaIdentityConstraint.cs,
  14. XmlSchemaKey.cs, XmlSchemaKeyref.cs, XmlSchemaNotation.cs,
  15. XmlSchemaObject.cs, XmlSchemaObjectTable.cs, XmlSchemaParticle.cs,
  16. XmlSchemaReader.cs, XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
  17. XmlSchemaSimpleContentExtension.cs,
  18. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
  19. XmlSchemaSimpleTypeContent.cs, XmlSchemaSimpleTypeList.cs,
  20. XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleTypeUnion.cs,
  21. XmlSchemaType.cs, XmlSchemaUnique.cs, XmlSchemaUtil.cs,
  22. XmlSchemaXPath.cs :
  23. - Almost all classes are changed to implement schema component
  24. constraints, and schema validation using XsdValidatingReader.
  25. - better exception messages.
  26. - More datatype support.
  27. and so on.
  28. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  29. * XmlSchema.cs: Do not add schema namespace declaration if it is already
  30. declared.
  31. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  32. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added double type.
  33. 2003-08-24 Atsushi Enomoto <[email protected]>
  34. * BuiltInDatatype.cs : XsdDecimal.TokenizedType should be None.
  35. * XmlSchemaCollection.cs : Add(uri) should not reject chameleon schema.
  36. Add() should compile specified schema.
  37. 2003-08-08 Lluis Sanchez Gual <[email protected]>
  38. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added XsdAnyURI,
  39. XsdDateTime, XsdDate, XsdTime.
  40. 2003-08-07 Atsushi Enomoto <[email protected]>
  41. * BuiltInDatatypes.cs : Fixed whitespace facet in XsdToken.
  42. Tokenized type of nmtokens and entities is string [].
  43. * XmlSchema.cs : Changed IsCompile implementation a bit.
  44. Compile() should reset compiled contents.
  45. * XmlSchemaDatatype.cs : Fixed collapsing Normalize().
  46. * XmlSchemaObject.cs : added CompilationId initialization.
  47. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  48. * XmlSchema.cs: Set IsCompiled to true after compiling.
  49. In Compile(): ignore included schemas that do not have a value
  50. in SchemaLocation. It means that FindElement can return null
  51. if the referred schema was ignored. Added check for that case.
  52. Compile schema after reading it.
  53. * XmlSchemaCollection.cs: The targetNamespace of a schema may
  54. be null. Make XmlSchemaCollection work for this case.
  55. * BuiltInDataType.cs, XmlSchemaDataType.cs: added new primitive
  56. types: float, base64Binary, boolean.
  57. 2003-08-02 Atsushi Enomoto <[email protected]>
  58. * XmlSchema.cs :
  59. - Changed missingElementTypeRefs from Hashtable to ArrayList.
  60. - Added internal XmlSchemas for keeping imported schemas.
  61. - Added private Compile() that takes the original rootSchema and
  62. schema location stack for nested inclusion check.
  63. - Added basic xs:import and xs:include support.
  64. - Compile() is now aware of included XmlSchemaObject items.
  65. - Changed Compile() to fill missing elements' types and that of
  66. referencing elements.
  67. - Read() now adds SourceUri property (although only to itself).
  68. * XmlSchemaCollection.cs : Implemented Add().
  69. * XmlSchemaCollectionEnumerator.cs :
  70. Changed .ctor() to use schema collection as its argument.
  71. Fixed Current to return hashtable's Value, instead of Current
  72. (which returns DictionaryEntry).
  73. * XmlSchemaComplexType.cs :
  74. Added internal static AnyType.
  75. Compile() is now searches for its base type into other schemas.
  76. * XmlSchemaElement.cs : anyType is supported.
  77. It now searches for type information after Compile().
  78. SetReferedElementInfo() is now changed to SetSchemaType().
  79. * XmlSchemaObjectTable.cs :
  80. It had problems similar to schema collection. Now it uses internal
  81. class XmlSchemaObjectTableEnumerator to support GetEnumerator().
  82. * XmlSchemaParticle.cs : added internal class XmlSchemaParticleEmpty
  83. and internal static Empty.
  84. 2003-07-26 Atsushi Enomoto <[email protected]>
  85. * BuiltInDatatype.cs : XsdIDRefs.ParseValue () should be implemented.
  86. * XmlSchemaDatatype.cs : public Whitespace and protected Normalize()
  87. should be internal.
  88. 2003-07-24 Atsushi Enomoto <[email protected]>
  89. * XmlSchema.cs : Read() now uses XmlSerializer.Deserialize().
  90. 2003-07-21 Atsushi Enomoto <[email protected]>
  91. * XmlSchema.cs, XmlSchemaElement.cs :
  92. added internal MissingElementTypeRefs and support for refering
  93. element's elementType.
  94. 2003-07-20 Atsushi Enomoto <[email protected]>
  95. * XmlSchema.cs : added support for collecting missing type references
  96. at compilation-time.
  97. * XmlSchemaType.cs, XmlSchemaComplexType.cs, XmlSchemaSimpleType.cs:
  98. - Renamed qName to QNameInternal.
  99. - Added BaseSchemaType and ContentTypeParticle support.
  100. 2003-07-19 Atsushi Enomoto <[email protected]>
  101. * XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotated.cs,
  102. XmlSchemaAnnotation.cs, XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs,
  103. XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs,
  104. XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs,
  105. XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
  106. XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
  107. XmlSchemaElement.cs, XmlSchemaGroup.cs, XmlSchemaGroupRef.cs,
  108. XmlSchemaIdentityConstraint.cs, XmlSchemaImport.cs,
  109. XmlSchemaInclude.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs,
  110. XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaRedefine.cs,
  111. XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
  112. XmlSchemaSimpleContentExtension.cs,
  113. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
  114. XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs,
  115. XmlSchemaSimpleTypeUnion.cs, XmlSchemaUnique.cs,
  116. XmlSchemaXPath.cs,
  117. As to Compile() and Validate(),
  118. - Added CompilationId and check it while compiling schema components.
  119. - Code refactory. Replaced literal xmlns with XmlSchema.Namespace
  120. - Replaced XmlSchemaInfo with compiling XmlSchema itself (XmlSchema
  121. also has PSVI components inside it, so passing itself seems enough).
  122. - Related to above change, IDCollection was moved to XmlSchema, and
  123. blockDefault/finalDefault/blockResolved/finalResolved resolution
  124. was changed to reference only to schema.BlockDefault/FinalDefault.
  125. - The similar change has done against XmlSchemaForm related stuff.
  126. - Changed compilation order of schema type definitions (it is
  127. workaround). First it compiles types, and then it compiles others.
  128. * XmlSchemaElement.cs : added ElementType PSVI contribution support.
  129. 2003-07-19 Atsushi Enomoto <[email protected]>
  130. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs :
  131. Added decimal and its derived datatypes.
  132. Added abstract XsdAnySimpleType.
  133. 2003-07-15 Lluis Sanchez Gual <[email protected]>
  134. * BuiltInDatatype.cs,
  135. XmlSchemaDatatype.cs : added unsignedByte type support.
  136. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  137. * XmlSchemaDatatype.cs: Fixed compiler warning.
  138. 2003-07-12 Atsushi Enomoto <[email protected]>
  139. * BuiltInDatatype.cs,
  140. XmlSchemaDatatype.cs : added NOTATION type support.
  141. 2003-07-06 Atsushi Enomoto <[email protected]>
  142. * added BuiltInDatatype.cs.
  143. * XmlSchemaDatatype.cs : [GetType()] added support for some
  144. built-in datatypes.
  145. 2003-05-05 Atsushi Enomoto <[email protected]>
  146. * XmlSchemaAnnotation.cs : It depended on incorrect ReadNode().
  147. 2003-02-19 Atsushi Enomoto <[email protected]>
  148. * XmlSchemaAnnotation.cs : expect the correct closing tag on <appinfo>
  149. and <documentation> elements. (patch by Peter Pentchev)
  150. * XmlSchemaObjectEnumerator.cs : cast properly to XmlSchemaObject
  151. instead of XmlSchema. (patch by Peter Pentchev)
  152. 2002-07-23 Duncan Mak <[email protected]>
  153. * XmlSchemaException.cs: Partiall implement the ISerializable
  154. methods. It's not clear now SourceSchemaObject should be deserialized.
  155. 2002-07-22 Tim Coleman <[email protected]>
  156. * XmlSchema.cs: Removed isCompiled which is defined as internal
  157. in XmlSchemaObject.
  158. 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
  159. * XmlSchema: Started work on Validate methods
  160. 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
  161. * XmlSchema: The Read and Write methods are no more [MonoTODO] :)
  162. * XmlSchemaAppInfo: Xml Markup is now being read.
  163. * XmlSchemaDocumentation: Xml Markup is now being read.
  164. * All: Unhandled attributes are being handled properly.
  165. * All: Reordered the properties in all cs files to match with MS
  166. Implementation. This was required since the order is importatnt
  167. for the XmlSerializer.
  168. 2002-06-14 Dwivedi, Ajay kumar <[email protected]>
  169. * General: Fixed a few more Bugs
  170. 2002-06-10 Dwivedi, Ajay kumar <[email protected]>
  171. * XmlSchemaReader: A Wrapper class around XmlReader with customized
  172. methods to suit reading a schema.
  173. * General: Implemented Read() method for the schema. There are only
  174. a few minor bugs remaining.
  175. 2002-05-25 Dwivedi, Ajay kumar <[email protected]>
  176. * BUGS.txt: New file to keep track of bugs
  177. * ALL: All classes are initialized exactly as in .NET except
  178. 1. inclusion of language attribute in schema
  179. 2. ComplexContent's Particle is initialized to null whereas .NET
  180. to some internal implementation. IMO Null is more appropriate
  181. * ALL: Changed the Compile methods to return the count of errors.
  182. * ALL: Complile methods are almost complete. Pass 1453 of 3061 tests.
  183. This number should shoot up if we write a parser to read the
  184. Schema instead of using reflection (which is slower too)
  185. 2002-05-04 Dwivedi, Ajay kumar <[email protected]>
  186. * XmlSchemaUtil.cs: New file added.
  187. * Parser.cs: New file Added. Unused at the moment.
  188. * XmlSchemaObjectCollection: Fixed GetEnumerator
  189. * General: Preprocessing for Attributes and SimpleTypes completed.
  190. 2002-04-26 Duncan Mak <[email protected]>
  191. * ValidationHandler.cs: New file.
  192. * XmlSchemaInfo.cs: New file.
  193. * *.cs: More updates from Ajay.
  194. 2002-03-27 Duncan Mak <[email protected]>
  195. * *.cs: Updates from Ajay Dwivedi <[email protected]>.