ChangeLog 34 KB

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