ChangeLog 32 KB

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