ChangeLog 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. 2004-03-04 Alon Gazit <[email protected]>
  2. * XmlSchemaUnique.cs : Changed Read implementation.
  3. Currently can read "field" element before "selector" element (like MS).
  4. 2004-02-26 Atsushi Enomoto <[email protected]>
  5. * XmlSchemaCollection.cs : Implemented SyncRoot and IsSynchronized
  6. (as always synchronized).
  7. 2004-02-16 Atsushi Enomoto <[email protected]>
  8. * XmlSchema.cs,
  9. XmlSchemaAttribute.cs
  10. XmlSchemaAttributeGroup.cs,
  11. XmlSchemaComplexContent.cs,
  12. XmlSchemaComplexType.cs,
  13. XmlSchemaContent.cs,
  14. XmlSchemaDatatype.cs,
  15. XmlSchemaNotation.cs,
  16. XmlSchemaObject.cs,
  17. XmlSchemaParticle.cs : extra TODO removal. foreach elimination.
  18. Moved attribute group recursion check field from XmlSchemaObject
  19. to XmlSchemaAttributeGroup.
  20. Fixed XmlSchemaParticle.EmptyParticle class access modifier.
  21. * XmlSchemaSimpleType.cs,
  22. XmlSchemaSimpleTypeContent.cs,
  23. XmlSchemaSimpleTypeList.cs,
  24. XmlSchemaSimpleTypeRestriction.cs,
  25. XmlSchemaSimpleTypeUnion.cs : Removed "actualBaseSchemaType" field
  26. and the owner simpleType should hold the corresponding type info.
  27. Collect base type info in prior to validation.
  28. 2004-02-05 Atsushi Enomoto <[email protected]>
  29. * BUGS-MS.txt : fixed incorrect thought on case 008. Added case 014.
  30. * BUGS.txt : FYI.
  31. 2004-02-03 Atsushi Enomoto <[email protected]>
  32. * BuiltInDatatype.cs : Fixed some Parse() for token based datatypes.
  33. * XmlSchemaAny.cs : set properties for cloned particle. This will fix
  34. bugzilla #53668.
  35. * XmlSchemaParticle.cs : copy occurence string after computation of
  36. validated min/max occurence. This will fix bug #53667.
  37. 2004-01-26 Atsushi Enomoto <[email protected]>
  38. * XmlSchema.cs : Raise warning event when external schema could not
  39. be resolved.
  40. * XmlSchemaAll.cs : Fixed incorrect IsEmptiable computation.
  41. * XmlSchemaAny.cs : Fixed incorrect occurence computation.
  42. * XmlSchemaChoice.cs : compiledItems were incorrectly appended.
  43. * XmlSchemaComplexType.cs : Now validatableParticle became extraneous.
  44. * XmlSchemaGroupBase.cs : Here we should not get optimized particle
  45. because it might cause infinite loop.
  46. * XmlSchemaGroupRef.cs : Fixed Validate() to avoid null reference
  47. exception (only occur with ValidationEventHandler). Fixed Occurence
  48. embedding logic that was useless because of particle optimization.
  49. 2004-01-22 Atsushi Enomoto <[email protected]>
  50. * BuiltInDatatype.cs : On parsing QName, we don't have to spend costs
  51. on Add()ing parsed name to name table.
  52. * XmlSchemaUtil.cs : Added IsBuiltInDatatypeName().
  53. * XmlSchemaAttribute.cs, XmlSchemaComplexType.cs,
  54. XmlSchemaElement.cs, XmlSchemaSimpleContentExtension.cs,
  55. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeList.cs :
  56. Use the method above instead of Namespace string comparison.
  57. (it will be required to validate schema for schemas.)
  58. * XmlSchemaComplexType.cs : Type Derivation OK (3.4.6) should also
  59. treat null base type as anyType. Derivation Valid Restriction
  60. (3.4.6) should allow base type wildcard absense in case of anyType.
  61. 2004-01-22 Atsushi Enomoto <[email protected]>
  62. * XmlSchema.cs : When we have schema A which includes schema B which
  63. includes schema C (i.e. A->B->C), C components should be compiled.
  64. Here, same URL inclusions are ignored.
  65. * XmlSchemaElement.cs : Hack for missing substitution-group fix.
  66. * XmlSchemaSimpleTypeContent.cs : make actualBaseSchemaType private
  67. and initialize. This fixes bug #53178.
  68. * XmlSchemaSimpleTypeUnion.cs : Forgot to commit ;)
  69. 2004-01-22 Atsushi Enomoto <[email protected]>
  70. * XmlSchemaSimpleTypeRestriction.cs : regexp improvements. Modify
  71. pattern string as "^str$" and convert WXS specific char classes into
  72. .NET regexp patterns.
  73. 2004-01-21 Atsushi Enomoto <[email protected]>
  74. * XmlSchema.cs :
  75. - Removed extra property Language. Fill substitution-group info
  76. before ContentTypeParticle is computed.
  77. * XmlSchemaComplexType.cs : ContentType and ContentTypeParticle are
  78. now computer before Validate() (to exclude 3.4.2 from 3.4.6
  79. component constraint check).
  80. * XmlSchemaObject.cs, XmlSchemaParticle.cs :
  81. Added CopyInfo() for cloning objects.
  82. * XmlSchemaObjectTable.cs :
  83. Add() doesn't have to reject same named items.
  84. * XmlSchemaParticle.cs :
  85. - Renamed internal class XmlSchemaParticleEmpty to EmptyParticle
  86. (for ease of post compilation infoset comparison).
  87. - GetMinEffectiveTotalRange() should return max occurs for element and
  88. any.
  89. * XmlSchemaParticle.cs,
  90. XmlSchemaAll.cs,
  91. XmlSchemaAny.cs,
  92. XmlSchemaChoice.cs,
  93. XmlSchemaElement.cs,
  94. XmlSchemaGroupBase.cs,
  95. XmlSchemaGroupRef.cs,
  96. XmlSchemaSequence.cs :
  97. - Removed ActualParticle property.
  98. - Added GetOptimizedParticle() to get ContentTypeParticle.
  99. - ContentTypeParticle is now created as different object from
  100. user-specified "Particle" property.
  101. - Return Empty particle when model groups contains no Items.
  102. - When Items contains exactly 1 item, return the item (unless it is
  103. top level choice model group - it causes DBR problem).
  104. - ValidateDerivationValidRestriction() and related WXS 3.9.6 DBR
  105. check methods such as ValidateNSRecurseCheckCardinality() now
  106. returns a bool value and avoids exceptions on each failure time.
  107. - ValidateRecurse() now doesn't progress base particle incorrectly.
  108. (it caused incorrect order-preserving-mapping error.)
  109. - 3.9.6 Recurse, RecurseLax, MapAndSum are now treated as different.
  110. * XmlSchemaAll.cs : occurence validation shoud be done against values
  111. after computation (ValidatedMaxOccurs).
  112. * XmlSchemaChoice.cs : When Items is empty, then invoke warning event.
  113. * XmlSchemaElement.cs :
  114. - Consider referencedElement also for SubstitutionGroupElement.
  115. - Removed SubstitutingChoice which is not in use.
  116. - when it was targeted as substitution group by other elements, its
  117. ContentTypeParticle should be substitution choice (see 3.9.6
  118. Particle Valid (Restriction) term 2.1).
  119. - Added FillsubstitutionElementInfo() (see XmlSchema.cs above).
  120. * XmlSchemaGroup.cs : Removed extra check on model group (because it
  121. is impossible to specify non-model-group particle).
  122. * XmlSchemaIdentityConstraint.cs,
  123. XmlSchemaKey.cs,
  124. XmlSchemaKeyRef.cs,
  125. XmlSchemaUnique.cs : Removed extraneous MonoTODO.
  126. * XmlSchemaSimpleContent.cs : Made actualSchemaType as internal.
  127. * XmlSchemaSimpleType.cs : Removed extraneous new Datatype property.
  128. * XmlSchemaSimpleTypeRestriction.cs : Renamed actualBaseSchemaType to
  129. ActualBaseSchemaType.
  130. * XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
  131. Removed unused actualBaseSchemaType code.
  132. * XmlSchemaType.cs : use recently introduced BaseXmlSchemaType.
  133. * XmlSchemaUtil.cs : Removed unused CheckLanguage().
  134. 2004-01-21 Atsushi Enomoto <[email protected]>
  135. * XmlSchemaXPath.cs : wildcard with prefix (e.g. @foo:*) was
  136. incorrectly treated.
  137. 2004-01-20 Atsushi Enomoto <[email protected]>
  138. * SchemaDataValueType.cs : UriValueType.ToString() should return
  139. actual URI string (as MS's XmlSchemaUri class does).
  140. * XmlSchemaReader.cs : Make it internal.
  141. 2004-01-16 David Sheldon <[email protected]>
  142. * BuiltInDatatype.cs: added guard to stop index out of range error for
  143. invalid Base64 characters.
  144. 2004-01-15 Jackson Harper <[email protected]>
  145. * XmlSchemaContent.cs: Make actualBaseSchemaType protected (fixes
  146. build).
  147. 2004-01-15 Atsushi Enomoto <[email protected]>
  148. * XmlSchemaComplexContentExtension.cs,
  149. XmlSchemaSimpleContentExtension.cs,
  150. XmlSchemaSimpleContentExtension.cs,
  151. XmlSchemaSimpleContentRestriction.cs,
  152. XmlSchemaContent.cs : Added IsExtension. GetXXX() became nonvirtual.
  153. * XmlSchemaType.cs :
  154. - Added NET_1_2 BaseXmlSchemaType (other members are commented out).
  155. - Now BaseSchemaType redirects to new property BaseXmlSchemaType.
  156. * XmlSchemaComplexType.cs :
  157. - Now it fully uses BaseXmlSchemaType above.
  158. - Since ValidateXXX() became too huge, I divided them into
  159. CollectXXX() [spec 3.4.1] and ValidateXXX() [spec 3.4.3 / 3.4.6].
  160. Schema Components are contributed before constraint check.
  161. - Now ContentTypeParticle is distinguished from validating particle
  162. which is newly introduced as "ValidatableParticle" (only used in
  163. XsdValidatingReader).
  164. * XmlSchemaSimpleType.cs : Now it uses BaseXmlSchemaType.
  165. capitalized internal members a bit.
  166. 2004-01-14 David Sheldon <[email protected]>
  167. * XmlSchemaSimpleTypeRestriction: Convert pattern facets to be ORed,
  168. as per: http://www.w3.org/TR/xmlschema-2/#src-multiple-patterns
  169. Fixes bug 52841
  170. 2004-01-14 David Sheldon <[email protected]>
  171. * BuiltInDatatype.cs:
  172. XsdAnySimpleType - Added Length that returns the string length.
  173. XsdBase64Binary - Added Length, and used more direct, less fussy,
  174. Base64 decoder.
  175. XsdHexBinary - Added Length method
  176. * XmlSchemaSimpleTypeRestriction: use DataType Length method to
  177. determine length to compare against. Stop testing Lenght facets on
  178. QName and Notation types (as per errata)
  179. 2004-01-14 Atsushi Enomoto <[email protected]>
  180. * XmlSchemaComplexType.cs : forgot to commit ;)
  181. * XmlSchemaUtil.cs : Fixed IsSchemaDatatypeEquals() to return false
  182. for comparison between ID and IDREF.
  183. 2004-01-14 Atsushi Enomoto <[email protected]>
  184. * Added SchemaDataValueType.cs.
  185. * BuiltInDatatype.cs, XmlSchemaDatatype.cs : Adde ParseValueType() on
  186. all derived datatype classes.
  187. * XmlSchemaComplexType.cs : Fixed ContentType value for simple types.
  188. Errata-considered simple content derivation check and simple content
  189. restriction should check this too.
  190. 2004-01-13 Jackson Harper <[email protected]>
  191. * XmlSchemaComplexType.cs: Comment out line that was breaking the build.
  192. 2004-01-13 Atsushi Enomoto <[email protected]>
  193. * XmlSchemaSimpleTypeUnion.cs : The same reason as the previous patch.
  194. * XmlSchemaComplexType.cs : Now it handles ContentTypeParticle and
  195. ContentType much more presise than before.
  196. * XmlSchemaElement.cs :
  197. Simplified property handling for reference element.
  198. 2004-01-13 Atsushi Enomoto <[email protected]>
  199. * XmlSchema.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs :
  200. Invalid attribute should raise an error, not a warning.
  201. 2004-01-13 Atsushi Enomoto <[email protected]>
  202. * XmlSchemaObject.cs : Fixed error() not to set severity as Warning.
  203. * ValidationHandler.cs,
  204. XmlSchemaSet.cs,
  205. XmlSchemaCollection.cs : Throw exception only in case of errors.
  206. * XmlSchemaCollection.cs : Remove schema from schemaset if exist.
  207. (It might not be good to use schemaset, but keep for a while)
  208. * XmlSchemaContent.cs,
  209. XmlSchemaComplexContentExtension.cs,
  210. XmlSchemaComplexContentRestriction.cs,
  211. XmlSchemaSimpleContentExtension.cs,
  212. XmlSchemaSimpleContentRestriction.cs,
  213. : added GetBaseTypeName() and GetParticle() (not used yet).
  214. 2004-01-11 Atsushi Enomoto <[email protected]>
  215. * BuiltInDatatype.cs : internal type should not appear in protected
  216. members' signature.
  217. 2004-01-11 David Sheldon <[email protected]>
  218. * BuiltInDatatype.cs : Added XsdOrdering enum, and Compare methods
  219. to the data-types. Changed AllowedFacets to be a bitfield.
  220. * XmlSchemaFacet.cs : Added Facet enumeration to represent bitfield.
  221. * XmlSchemaEnumerationFacet.cs,
  222. XmlSchemaFractionDigitsFacet.cs,
  223. XmlSchemaLengthFacet.cs,
  224. XmlSchemaMaxExclusiveFacet.cs,
  225. XmlSchemaMaxInclusiveFacet.cs,
  226. XmlSchemaMaxLengthFacet.cs,
  227. XmlSchemaMinExclusiveFacet.cs,
  228. XmlSchemaMinInclusiveFacet.cs,
  229. XmlSchemaMinLengthFacet.cs,
  230. XmlSchemaNumericFacet.cs,
  231. XmlSchemaPatternFacet.cs,
  232. XmlSchemaTotalDigitsFacet.cs,
  233. XmlSchemaWhiteSpaceFacet.cs : Added ThisFacet Property to return facet type
  234. * XmlSchemaSimpleTypeRestriction.cs: Inherited facets from base types,
  235. checked which which were allowed on different types. Validated fixed
  236. facets, duplicated facets and derivation by restriction. Added checking
  237. for min/max Inclusive/Exclusive, totalDigits and fractionDigits facets in
  238. validation.
  239. 2004-01-09 Atsushi Enomoto <[email protected]>
  240. * XmlSchemaSet.cs : implemented some members.
  241. * XmlSchemaCollection.cs : modified to use internal schema set (This
  242. class provides more precise schema validation feature and will be
  243. commonly used for XPathNavigator2).
  244. Added .NET 1.1 .ctor() which takes XmlResolver.
  245. * XmlSchema.cs : fix related to above changes.
  246. Use validation event handler on Read() at all required places.
  247. Added .NET 1.1 .ctor() which takes XmlResolver.
  248. * XmlSchemaComplexType.cs : content type comparison was incorrect.
  249. Renamed confusing method.
  250. * XmlSchemaElement.cs : don't use ContentTypeParticle in
  251. CheckRecursion(), where that property might not be determined yet.
  252. * XmlSchemaGroupBase.cs : Modified ValidateRecurse() a bit (currently
  253. no effect)
  254. * XmlSchemaGroupBase.cs,
  255. XmlSchemaChoice.cs,
  256. XmlSchemaAll.cs,
  257. XmlSchemaSequence.cs : moved CheckRecursion to XmlSchemaGroupBase.
  258. * XmlSchemaObjectTable.cs : Fixed missing error info.
  259. * BUGS-MS.txt : Added info a bit.
  260. 2004-01-08 Atsushi Enomoto <[email protected]>
  261. * BUGS-MS.txt : added list derivation and facet case.
  262. * XmlSchemaComplexType.cs :
  263. Added some description. Avoided null reference exception in
  264. some places.
  265. Fixed incorrect 3.4.6 Derivation Valid (Extension) 1.4.1.2.2 and
  266. 3.9.6 Particle Valid (Extension) 2.
  267. * XmlSchemaGroupBase.cs : Fixed ParticleEquals() which didn't work
  268. properly against sequence and all.
  269. 2004-01-08 Atsushi Enomoto <[email protected]>
  270. * XmlSchemaObjectTable.cs : Modified enumerator's Current to return
  271. DictionaryEntry.
  272. * XmlSchemaComplexType.cs, XmlSchemaUtil.cs :
  273. In reflection to object table enumerator change.
  274. 2004-01-08 Atsushi Enomoto <[email protected]>
  275. * XmlSchemaElement.cs : Fixed incorrect unique particle attribution
  276. check on ##other and target namespace element.
  277. 2004-01-08 Nick Drochak <[email protected]>
  278. * XmlSchemaSimpleType.cs: Needed a 'new' on the property
  279. * XmlSchemaXPath.cs: Removed unreachable code.
  280. 2004-01-03 Atsushi Enomoto <[email protected]>
  281. * XmlSchemaDatatype.cs : trivial allocation fix.
  282. 2003-12-17 David Sheldon <[email protected]>
  283. * BuiltInDatatype.cs : Added whitespace=collapse to data types
  284. such as date, dateTime, .... gDay. I think I have them all now.
  285. 2003-12-15 Atsushi Enomoto <[email protected]>
  286. * BuiltInDatatype.cs : anySimpleType should allow facets.
  287. 2003-12-14 David Sheldon <[email protected]>
  288. * BuiltInDatatype.cs : Added code to tell which facets were valid on
  289. types derived from each basetype.
  290. * XmlSchemaSimpleTypeRestriction.cs : Complain if an invalid facet
  291. has been added to a restriction.
  292. 2003-12-14 David Sheldon <[email protected]>
  293. * XmlSchemaSimpleTypeRestriction.cs : Check that min/max/lengths
  294. specified are integers. Also made some error messages more useful.
  295. 2003-12-08 Atsushi Enomoto <[email protected]>
  296. * XmlSchemaSimpleTypeRestriction.cs : patch by David Sheldon. Check
  297. if max/min length range is valid.
  298. 2003-12-07 Atsushi Enomoto <[email protected]>
  299. * BuiltInDatatype.cs : XsdDecimal and XsdInteger defaults whitespace
  300. facet as collapse (patch by David Sheldon).
  301. * XmlSchemaAnnotations.cs, XmlSchemaAny.cs : No more MonoTODOs ;-)
  302. * XmlSchemaSequence.cs : MapAndSum implementation.
  303. 2003-11-17 Atsushi Enomoto <[email protected]>
  304. * XmlSchemaSet.cs, XmlSchemaBuiltInType.cs : Added .NET 1.2 classes
  305. (for convenience of ObjectSpaces stubbing).
  306. 2003-10-25 Atsushi Enomoto <[email protected]>
  307. * BuiltInDatatype.cs : XsdByte was incorrectly typed as byte, while
  308. the correct binding is sbyte.
  309. * XmlSchemaAll.cs,
  310. XmlSchemaChoice.cs,
  311. XmlSchemaSequence.cs,
  312. XmlSchemaGroupBase.cs : ActualParticle now considers pointlessness
  313. described in WXS structures 3.9.6.
  314. Added ValidateRecurse() to support 'Recurse' validation.
  315. * XmlSchemaComplexType.cs : Removed incorrect content type conformity
  316. check.
  317. * XmlSchemaElement.cs : Implemented 'RecurseAsIfGroup' validation
  318. described in WXS structures 3.9.6. Fixed type derivation check to
  319. do only if the base type is not anyType.
  320. * XmlSchemaSimpleTypeRestriction.cs : Should catch Regex()
  321. construction exception. ValidateList... and ValidateNonList... was
  322. in reverse.
  323. * XmlSchemaUtil.cs : Removed extra MonoTODO. Removed CheckToken().
  324. 2003-10-25 Atsushi Enomoto <[email protected]>
  325. * BuiltInDatatype.cs : Fixed incorrect inheritance of date and time.
  326. Fixed most of date-time related types' ParseValue().
  327. Applied Normalize() before parsing values in some ParseValue().
  328. 2003-10-23 Atsushi Enomoto <[email protected]>
  329. * XmlSchemaAll.cs,
  330. XmlSchemaChoice.cs,
  331. XmlSchemaGroupBase.cs,
  332. XmlSchemaSequence.cs : Now CompiledItems went to XmlSchemaGroupBase.
  333. * XmlSchemaAny.cs,
  334. XmlSchemaElement.cs,
  335. XmlSchemaGroupBase.cs,
  336. XmlSchemaGroupRef.cs,
  337. XmlSchemaParticle.cs,
  338. XmlSchemaSequence.cs : Added ParticleEquals() method to compare
  339. whether the particles are equal in the context of WXS part 1 - 3.9.6.
  340. * XmlSchemaAny.cs : Implemented ValidateDerivationByRestriction().
  341. * XmlSchemaAnyAttribute.cs : Removed extraneous lines and added my
  342. responsibility on this class.
  343. Added ValidateWildcardAllowsNamespaceName().
  344. * XmlSchemaAttribute.cs : Added ValidatedUse which holds post-
  345. compilation value of "Use".
  346. * XmlSchemaAttributeGroup.cs,
  347. XmlSchemaAttributeGroupRef.cs : Removed MonoTODO (same as some other
  348. classes) since there is no more errors on attribute stuff ;-)
  349. * XmlSchemaComplexType.cs : complex content extension must block
  350. derivation from any built-in primitive types.
  351. Fixed wildcard derivation by restriction.
  352. ValidateDerivationByRestriction() now checks attribute related
  353. validity of DBR (derivation by restriction).
  354. Now uses ParticleEquals() for particle DBR check.
  355. * XmlSchemaSequence.cs : Fixed to use CompiledItems instead of Items.
  356. 2003-10-21 Atsushi Enomoto <[email protected]>
  357. * XmlSchema.cs,
  358. XmlSchemaUtil.cs : Reduced warning message.
  359. * XmlSchemaAttribute.cs : NotImplementedException should no more exist.
  360. (All things are going to be implemented.)
  361. * BuiltInDatatype.cs : XsdInteger should not allow non-integer decimal.
  362. * XmlSchemaSimpleType.cs : Added internal Datatype property. Implemented
  363. list type derivation validation. Added Normalize().
  364. * XmlSchemaSimpleTypeContent.cs : Added Normalize(). Replaced anyType
  365. with anySimpleType.
  366. * XmlSchemaSimpleTypeRestriction.cs : Implemented some facet validation,
  367. such as pattern, enumeration, and length etc.
  368. 2003-10-19 Atsushi Enomoto <[email protected]>
  369. * BuiltInDatatype.cs : Implemented XsdHexBinary.Parse().
  370. * XmlSchemaCollection.cs : Implemented CopyTo().
  371. * XmlSchemaDatatype.cs : Added Normalize() with whitespace handling.
  372. Added support for anySimpleType.
  373. * XmlSchemaSimpleType.cs : Type specification named as anyType should
  374. be mapped to anySimpleType.
  375. * BUGS-MS.txt : Added more case note.
  376. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  377. * XmlSchema.cs: If the schema element is an empty element, skip it after
  378. reading the attributes.
  379. 2003-10-09 Atsushi Enomoto <[email protected]>
  380. * BuiltInDatatype.cs : Added CLSCompliant attributes to some classes.
  381. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  382. * XmlSchemaUtil.cs: arrayType attribute needs special handling.
  383. 2003-10-01 Atsushi Enomoto <[email protected]>
  384. * XmlSchema.cs : Forgot to update with previous files.
  385. 2003-10-01 Atsushi Enomoto <[email protected]>
  386. * XmlSchemaAttribute.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs,
  387. XmlSchemaGroupRef.cs, XmlSchemaSimpleContentExtension.cs,
  388. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeContent.cs,
  389. XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
  390. Fixed missing sub components check. It should fix soap stuff.
  391. * XmlSchemaAny.cs, XmlSchemaAttribute.cs,
  392. XmlSchemaAttributeGroupRef.cs, XmlSchemaContent.cs :
  393. Added my responsibility on them ;-)
  394. 2003-10-01 Atsushi Enomoto <[email protected]>
  395. * XmlSchema.cs : Read() should keep current position of XmlReader if
  396. it was already positioned to 'schema' element.
  397. 2003-09-30 Atsushi Enomoto <[email protected]>
  398. * Forgot to append 8/24/2003 ChangeLog.
  399. * BUGS.txt, BUGS-MS.txt : Appended additional bug info.
  400. * BuiltInDatatype.cs, ValidationHandler.cs, XmlSchema.cs,
  401. XmlSchemaAll.cs, XmlSchemaAnnotation.cs. XmlSchemaAny.cs,
  402. XmlSchemaAnyAttribute.cs, XmlSchemaAttribute.cs,
  403. XmlSchemaAttributeGroup.cs, XmlSchemaAttributeGroupRef.cs,
  404. XmlSchemaChoice.cs, XmlSchemaCollection.cs,
  405. XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
  406. XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
  407. XmlSchemaContent.cs, XmlSchemaDatatype.cs, XmlSchemaElement.cs,
  408. XmlSchemaException.cs, XmlSchemaGroup.cs, XmlSchemaGroupBase.cs,
  409. XmlSchemaGroupRef.cs, XmlSchemaIdentityConstraint.cs,
  410. XmlSchemaKey.cs, XmlSchemaKeyref.cs, XmlSchemaNotation.cs,
  411. XmlSchemaObject.cs, XmlSchemaObjectTable.cs, XmlSchemaParticle.cs,
  412. XmlSchemaReader.cs, XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
  413. XmlSchemaSimpleContentExtension.cs,
  414. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
  415. XmlSchemaSimpleTypeContent.cs, XmlSchemaSimpleTypeList.cs,
  416. XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleTypeUnion.cs,
  417. XmlSchemaType.cs, XmlSchemaUnique.cs, XmlSchemaUtil.cs,
  418. XmlSchemaXPath.cs :
  419. - Almost all classes are changed to implement schema component
  420. constraints, and schema validation using XsdValidatingReader.
  421. - better exception messages.
  422. - More datatype support.
  423. and so on.
  424. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  425. * XmlSchema.cs: Do not add schema namespace declaration if it is already
  426. declared.
  427. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  428. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added double type.
  429. 2003-08-24 Atsushi Enomoto <[email protected]>
  430. * BuiltInDatatype.cs : XsdDecimal.TokenizedType should be None.
  431. * XmlSchemaCollection.cs : Add(uri) should not reject chameleon schema.
  432. Add() should compile specified schema.
  433. 2003-08-08 Lluis Sanchez Gual <[email protected]>
  434. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added XsdAnyURI,
  435. XsdDateTime, XsdDate, XsdTime.
  436. 2003-08-07 Atsushi Enomoto <[email protected]>
  437. * BuiltInDatatypes.cs : Fixed whitespace facet in XsdToken.
  438. Tokenized type of nmtokens and entities is string [].
  439. * XmlSchema.cs : Changed IsCompile implementation a bit.
  440. Compile() should reset compiled contents.
  441. * XmlSchemaDatatype.cs : Fixed collapsing Normalize().
  442. * XmlSchemaObject.cs : added CompilationId initialization.
  443. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  444. * XmlSchema.cs: Set IsCompiled to true after compiling.
  445. In Compile(): ignore included schemas that do not have a value
  446. in SchemaLocation. It means that FindElement can return null
  447. if the referred schema was ignored. Added check for that case.
  448. Compile schema after reading it.
  449. * XmlSchemaCollection.cs: The targetNamespace of a schema may
  450. be null. Make XmlSchemaCollection work for this case.
  451. * BuiltInDataType.cs, XmlSchemaDataType.cs: added new primitive
  452. types: float, base64Binary, boolean.
  453. 2003-08-02 Atsushi Enomoto <[email protected]>
  454. * XmlSchema.cs :
  455. - Changed missingElementTypeRefs from Hashtable to ArrayList.
  456. - Added internal XmlSchemas for keeping imported schemas.
  457. - Added private Compile() that takes the original rootSchema and
  458. schema location stack for nested inclusion check.
  459. - Added basic xs:import and xs:include support.
  460. - Compile() is now aware of included XmlSchemaObject items.
  461. - Changed Compile() to fill missing elements' types and that of
  462. referencing elements.
  463. - Read() now adds SourceUri property (although only to itself).
  464. * XmlSchemaCollection.cs : Implemented Add().
  465. * XmlSchemaCollectionEnumerator.cs :
  466. Changed .ctor() to use schema collection as its argument.
  467. Fixed Current to return hashtable's Value, instead of Current
  468. (which returns DictionaryEntry).
  469. * XmlSchemaComplexType.cs :
  470. Added internal static AnyType.
  471. Compile() is now searches for its base type into other schemas.
  472. * XmlSchemaElement.cs : anyType is supported.
  473. It now searches for type information after Compile().
  474. SetReferedElementInfo() is now changed to SetSchemaType().
  475. * XmlSchemaObjectTable.cs :
  476. It had problems similar to schema collection. Now it uses internal
  477. class XmlSchemaObjectTableEnumerator to support GetEnumerator().
  478. * XmlSchemaParticle.cs : added internal class XmlSchemaParticleEmpty
  479. and internal static Empty.
  480. 2003-07-26 Atsushi Enomoto <[email protected]>
  481. * BuiltInDatatype.cs : XsdIDRefs.ParseValue () should be implemented.
  482. * XmlSchemaDatatype.cs : public Whitespace and protected Normalize()
  483. should be internal.
  484. 2003-07-24 Atsushi Enomoto <[email protected]>
  485. * XmlSchema.cs : Read() now uses XmlSerializer.Deserialize().
  486. 2003-07-21 Atsushi Enomoto <[email protected]>
  487. * XmlSchema.cs, XmlSchemaElement.cs :
  488. added internal MissingElementTypeRefs and support for refering
  489. element's elementType.
  490. 2003-07-20 Atsushi Enomoto <[email protected]>
  491. * XmlSchema.cs : added support for collecting missing type references
  492. at compilation-time.
  493. * XmlSchemaType.cs, XmlSchemaComplexType.cs, XmlSchemaSimpleType.cs:
  494. - Renamed qName to QNameInternal.
  495. - Added BaseSchemaType and ContentTypeParticle support.
  496. 2003-07-19 Atsushi Enomoto <[email protected]>
  497. * XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotated.cs,
  498. XmlSchemaAnnotation.cs, XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs,
  499. XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs,
  500. XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs,
  501. XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
  502. XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
  503. XmlSchemaElement.cs, XmlSchemaGroup.cs, XmlSchemaGroupRef.cs,
  504. XmlSchemaIdentityConstraint.cs, XmlSchemaImport.cs,
  505. XmlSchemaInclude.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs,
  506. XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaRedefine.cs,
  507. XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
  508. XmlSchemaSimpleContentExtension.cs,
  509. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
  510. XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs,
  511. XmlSchemaSimpleTypeUnion.cs, XmlSchemaUnique.cs,
  512. XmlSchemaXPath.cs,
  513. As to Compile() and Validate(),
  514. - Added CompilationId and check it while compiling schema components.
  515. - Code refactory. Replaced literal xmlns with XmlSchema.Namespace
  516. - Replaced XmlSchemaInfo with compiling XmlSchema itself (XmlSchema
  517. also has PSVI components inside it, so passing itself seems enough).
  518. - Related to above change, IDCollection was moved to XmlSchema, and
  519. blockDefault/finalDefault/blockResolved/finalResolved resolution
  520. was changed to reference only to schema.BlockDefault/FinalDefault.
  521. - The similar change has done against XmlSchemaForm related stuff.
  522. - Changed compilation order of schema type definitions (it is
  523. workaround). First it compiles types, and then it compiles others.
  524. * XmlSchemaElement.cs : added ElementType PSVI contribution support.
  525. 2003-07-19 Atsushi Enomoto <[email protected]>
  526. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs :
  527. Added decimal and its derived datatypes.
  528. Added abstract XsdAnySimpleType.
  529. 2003-07-15 Lluis Sanchez Gual <[email protected]>
  530. * BuiltInDatatype.cs,
  531. XmlSchemaDatatype.cs : added unsignedByte type support.
  532. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  533. * XmlSchemaDatatype.cs: Fixed compiler warning.
  534. 2003-07-12 Atsushi Enomoto <[email protected]>
  535. * BuiltInDatatype.cs,
  536. XmlSchemaDatatype.cs : added NOTATION type support.
  537. 2003-07-06 Atsushi Enomoto <[email protected]>
  538. * added BuiltInDatatype.cs.
  539. * XmlSchemaDatatype.cs : [GetType()] added support for some
  540. built-in datatypes.
  541. 2003-05-05 Atsushi Enomoto <[email protected]>
  542. * XmlSchemaAnnotation.cs : It depended on incorrect ReadNode().
  543. 2003-02-19 Atsushi Enomoto <[email protected]>
  544. * XmlSchemaAnnotation.cs : expect the correct closing tag on <appinfo>
  545. and <documentation> elements. (patch by Peter Pentchev)
  546. * XmlSchemaObjectEnumerator.cs : cast properly to XmlSchemaObject
  547. instead of XmlSchema. (patch by Peter Pentchev)
  548. 2002-07-23 Duncan Mak <[email protected]>
  549. * XmlSchemaException.cs: Partiall implement the ISerializable
  550. methods. It's not clear now SourceSchemaObject should be deserialized.
  551. 2002-07-22 Tim Coleman <[email protected]>
  552. * XmlSchema.cs: Removed isCompiled which is defined as internal
  553. in XmlSchemaObject.
  554. 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
  555. * XmlSchema: Started work on Validate methods
  556. 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
  557. * XmlSchema: The Read and Write methods are no more [MonoTODO] :)
  558. * XmlSchemaAppInfo: Xml Markup is now being read.
  559. * XmlSchemaDocumentation: Xml Markup is now being read.
  560. * All: Unhandled attributes are being handled properly.
  561. * All: Reordered the properties in all cs files to match with MS
  562. Implementation. This was required since the order is importatnt
  563. for the XmlSerializer.
  564. 2002-06-14 Dwivedi, Ajay kumar <[email protected]>
  565. * General: Fixed a few more Bugs
  566. 2002-06-10 Dwivedi, Ajay kumar <[email protected]>
  567. * XmlSchemaReader: A Wrapper class around XmlReader with customized
  568. methods to suit reading a schema.
  569. * General: Implemented Read() method for the schema. There are only
  570. a few minor bugs remaining.
  571. 2002-05-25 Dwivedi, Ajay kumar <[email protected]>
  572. * BUGS.txt: New file to keep track of bugs
  573. * ALL: All classes are initialized exactly as in .NET except
  574. 1. inclusion of language attribute in schema
  575. 2. ComplexContent's Particle is initialized to null whereas .NET
  576. to some internal implementation. IMO Null is more appropriate
  577. * ALL: Changed the Compile methods to return the count of errors.
  578. * ALL: Complile methods are almost complete. Pass 1453 of 3061 tests.
  579. This number should shoot up if we write a parser to read the
  580. Schema instead of using reflection (which is slower too)
  581. 2002-05-04 Dwivedi, Ajay kumar <[email protected]>
  582. * XmlSchemaUtil.cs: New file added.
  583. * Parser.cs: New file Added. Unused at the moment.
  584. * XmlSchemaObjectCollection: Fixed GetEnumerator
  585. * General: Preprocessing for Attributes and SimpleTypes completed.
  586. 2002-04-26 Duncan Mak <[email protected]>
  587. * ValidationHandler.cs: New file.
  588. * XmlSchemaInfo.cs: New file.
  589. * *.cs: More updates from Ajay.
  590. 2002-03-27 Duncan Mak <[email protected]>
  591. * *.cs: Updates from Ajay Dwivedi <[email protected]>.