ChangeLog 35 KB

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