ChangeLog 34 KB

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