ChangeLog 17 KB

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