ChangeLog 12 KB

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