ChangeLog 15 KB

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