ChangeLog 33 KB

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