ChangeLog 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350
  1. 2005-09-25 Atsushi Enomoto <[email protected]>
  2. * XmlSchemaValidationFlags.cs, XmlSchemaValidator.cs :
  3. NET_2_0 API updates.
  4. 2005-08-31 Sebastien Pouliot <[email protected]>
  5. * XmlSchemaException.cs: Added a Demand for SerializationFormatter
  6. on GetObjectData method.
  7. 2005-08-25 Atsushi Enomoto <[email protected]>
  8. * XmlSchemaSimpleTypeRestriction.cs : normalize EOL.
  9. Remove non-ASCII letters.
  10. 2005-08-08 Atsushi Enomoto <[email protected]>
  11. * XmlSchemaComplexType.cs : Fixed ValidateTypeDerivationOK (complex)
  12. that missed primitive simple types as base types (BaseXmlSchemaType
  13. is not working fine; it is the actual culprit to be fixed).
  14. * XmlSchemaUtil.cs,
  15. XmlSchemaAttributeGroup.cs,
  16. XmlSchemaComplexType.cs :
  17. fixed XmlSchemaUtil.ValidateAttributesResolved(). If there is a
  18. corresponding attribute definition in the derived extension type,
  19. then it should be allowed.
  20. 2005-08-06 Gert Driesen <[email protected]>
  21. * XmlSchema.cs: XmlElementAttribute, XmlAttributeAttribute and
  22. DefaultValueAttribute corrections to match MS.NET.
  23. * XmlSchemaAll.cs:
  24. * XmlSchemaAnnotated.cs:
  25. * XmlSchemaAnnotation.cs:
  26. * XmlSchemaAppInfo.cs:
  27. * XmlSchemaAttribute.cs:
  28. * XmlSchemaAttributeGroup.cs:
  29. * XmlSchemaChoice.cs:
  30. * XmlSchemaComplexContent.cs:
  31. * XmlSchemaComplexContentExtension.cs:
  32. * XmlSchemaComplexContentRestriction.cs:
  33. * XmlSchemaComplexType.cs:
  34. * XmlSchemaDocumentation.cs:
  35. * XmlSchemaElement.cs:
  36. * XmlSchemaExternal.cs:
  37. * XmlSchemaGroup.cs:
  38. * XmlSchemaIdentityConstraint.cs:
  39. * XmlSchemaImport.cs:
  40. * XmlSchemaInclude.cs:
  41. * XmlSchemaRedefine.cs:
  42. * XmlSchemaSequence.cs:
  43. * XmlSchemaSimpleContent.cs:
  44. * XmlSchemaSimpleContentExtension.cs:
  45. * XmlSchemaSimpleContentRestriction.cs:
  46. * XmlSchemaSimpleType.cs:
  47. * XmlSchemaSimpleTypeList.cs:
  48. * XmlSchemaSimpleTypeRestriction.cs:
  49. * XmlSchemaSimpleTypeUnion.cs:
  50. * XmlSchemaXPath.cs:
  51. 2005-08-03 Gert Driesen <[email protected]>
  52. * XmlSchemaInference.cs: Is sealed in Beta 2.
  53. * XmlSchemaInfo.cs: Added ContentType property.
  54. * XmlSchemaObjectEnumerator.cs: No longer sealed in Beta 2.
  55. * XmlSchemaSet.cs: No longer sealed in Beta 2. XmlResolver property
  56. is now CLSCompliant.
  57. 2005-07-04 Atsushi Enomoto <[email protected]>
  58. * XmlSchemaDatatype.cs, XmlSchemaParticle.cs, XmlSchemaContent.cs,
  59. XmlSchemaFacet.cs : eliminated internal abstract members.
  60. 2005-06-11 Atsushi Enomoto <[email protected]>
  61. * XmlSchemaCollection.cs, XmlSchemaCollectionEnumerator.cs :
  62. GetEnumerator() was not in sync with the internal change to
  63. XmlSchemaSet. Fixed bug #75126. Patch by Crestez Leonard.
  64. 2005-06-07 Atsushi Enomoto <[email protected]>
  65. * XmlSchemaValidationFlags.cs : it is NET_2_0.
  66. 2005-05-23 Atsushi Enomoto <[email protected]>
  67. * XmlSchemaInference.cs : For each resulting schema, it has to emit
  68. xs:import when it has a reference to external schema components.
  69. 2005-05-22 Atsushi Enomoto <[email protected]>
  70. * XmlSchemaInference.cs : When doing lax inference, set minOccurs="0"
  71. of those elements in a sequence. Fixed misspellings.
  72. 2005-05-05 Atsushi Enomoto <[email protected]>
  73. * XmlAtomicValue.cs : moved from XPathAtomicValue, removed some stuff.
  74. 2005-05-05 Atsushi Enomoto <[email protected]>
  75. * XmlSchemaType.cs, XmlSchemaSimpleType.cs : removed ValueConverter.
  76. * XmlSchemaDatatype.cs,
  77. XmlSchemaComplexType.cs : removed removed member in .net 2.0 beta2.
  78. 2005-04-12 Lluis Sanchez Gual <[email protected]>
  79. * XmlSchemaParticle.cs: Set MaxOccurs to unbounded when set to
  80. decimal.MaxValue.
  81. 2005-03-22 Atsushi Enomoto <[email protected]>
  82. * XmlSchemaChoice.cs : commented out warned code.
  83. * XmlSchemaCollection.cs : removed warned code (now it all depends on
  84. XmlSchemaSet).
  85. 2005-01-25 Martin Baulig <[email protected]>
  86. * XmlSchemaSet.cs (XmlSchemaSet.XmlResolver): Mark this as
  87. not CLS-compliant to avoid a CS3025.
  88. * XmlSchemaType.cs (XmlSchemaType.ValueConverter): Mark this as
  89. not CLS-compliant to avoid a CS3025.
  90. 2005-01-17 Atsushi Enomoto <[email protected]>
  91. * XmlSchema.cs : XmlSchema.Write() should not write duplicating
  92. top-level entry in XmlSerializerNamespaces and XmlNamespaceManager.
  93. This fixes some DataSet bugs.
  94. 2005-01-17 Atsushi Enomoto <[email protected]>
  95. * XmlSchemaValidator.cs : in case of open start tag,
  96. ValidateEndElement() calls ValidateEndOfAttributes().
  97. 2005-01-17 Atsushi Enomoto <[email protected]>
  98. * xmlschemagen.config,
  99. XmlSchemaSerializer.cs : replacement of CustomSerializer.cs which was
  100. based on genxs but manually modified.
  101. * CustomSerializer.cs : removed.
  102. 2005-01-11 Atsushi Enomoto <[email protected]>
  103. * XmlSchema.cs : Write() should handle carefully output
  104. namespace/prefix mapping.
  105. 2004-12-26 Atsushi Enomoto <[email protected]>
  106. * XmlSchemaSet.cs : added Remove(), RemoveRecursive(), Reprocess().
  107. * XmlValueConverter.cs : implemented almost all the feature.
  108. * XmlSchemaSimpleType.cs : fixed some built-in types.
  109. * XmlSchemaType.cs : added ValueConverter property.
  110. 2004-12-22 Atsushi Enomoto <[email protected]>
  111. * XmlSchema.cs : XmlResolver.ResolveUri() may return null.
  112. 2004-12-16 Atsushi Enomoto <[email protected]>
  113. * XmlSchemaValidator.cs : ValidateElement() was not LAMESPEC. Added
  114. some comments on ValidateEndElement().
  115. 2004-12-16 Atsushi Enomoto <[email protected]>
  116. * XmlSchemaValidator.cs : fill schemaInfo as long as possible right now.
  117. 2004-12-16 Atsushi Enomoto <[email protected]>
  118. * XmlSchemaInfo.cs : added internal copy constructor.
  119. 2004-12-16 Atsushi Enomoto <[email protected]>
  120. * XmlSchemaValidator.cs : implemented GetExpectedParticles() and
  121. SkipToEndElement ().
  122. 2004-12-15 Atsushi Enomoto <[email protected]>
  123. * XmlSchemaSet.cs : set default resolver. Clear components before
  124. recompilation.
  125. * XmlSchemaValidator.cs :
  126. SourceUri is System.Uri.
  127. GetUnspecifiedDefaultAttributes() is allowed only when it is inside
  128. start tag.
  129. Added AddSchema().
  130. Added duplicate attribute check.
  131. Added ValidateElement() that takes xsi:* parameters.
  132. (http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackId=7fc38ea1-c306-4fb7-8631-0e174b0ff3c6)
  133. HandleXsiNil() now just takes string parameter.
  134. 2004-12-14 Atsushi Enomoto <[email protected]>
  135. * XmlSchemaValidator.cs : implemented basic validation feature.
  136. 2004-12-14 Atsushi Enomoto <[email protected]>
  137. * XmlSchemaUtil.cs : added FindAttributeDeclaration() and
  138. AttributeWildcardItemValid().
  139. 2004-12-11 Atsushi Enomoto <[email protected]>
  140. * XmlSchemaUtil.cs : added static ReadTypedValie().
  141. * XmlSchemaInference.cs : compile at the end of inference.
  142. 2004-12-08 Atsushi Enomoto <[email protected]>
  143. * XmlValueGetter.cs,
  144. XmlSchemaValidationFlags.cs,
  145. XmlSchemaValidator.cs : added.
  146. * XmlSchemaSet.cs : XmlResolver is now internally gettable.
  147. 2004-12-04 Atsushi Enomoto <[email protected]>
  148. * XmlSchemaObject.cs : added Parent.
  149. * XmlSchema.cs,
  150. XmlSchemaElement.cs,
  151. XmlSchemaAttribute.cs,
  152. XmlSchemaAttributeGroup.cs,
  153. XmlSchemaGroup.cs,
  154. XmlSchemaComplexType.cs,
  155. XmlSchemaSequence.cs,
  156. XmlSchemaChoice.cs,
  157. XmlSchemaAll.cs,
  158. XmlSchemaIdentityConstraint.cs,
  159. XmlSchemaComplexContent.cs,
  160. XmlSchemaSimpleContent.cs,
  161. XmlSchemaSimpleContentExtension.cs,
  162. XmlSchemaSimpleContentRestriction.cs,
  163. XmlSchemaComplexContentExtension.cs,
  164. XmlSchemaComplexContentRestriction.cs,
  165. XmlSchemaSimpleType.cs,
  166. XmlSchemaSimpleTypeRestriction.cs,
  167. XmlSchemaSimpleTypeList.cs,
  168. XmlSchemaSimpleTypeUnion.cs : Fill Parent on Compilation.
  169. * XmlSchemaException.cs,
  170. XmlSchemaInferenceException.cs,
  171. XmlSchemaValidationException.cs : added SecurityPermissionAttribute.
  172. 2004-12-04 Atsushi Enomoto <[email protected]>
  173. * XmlSchemaComplexType.cs : simplify Compile().
  174. 2004-11-25 Atsushi Enomoto <[email protected]>
  175. * XmlSchemaElement.cs,
  176. XmlSchemaComplexType.cs,
  177. XmlSchema.cs,
  178. XmlSchemaChoice.cs,
  179. XmlSchemaSimpleType.cs,
  180. XmlSchemaObjectTable.cs,
  181. XmlSchemaObjectCollection.cs,
  182. XmlSchemaCollection.cs,
  183. : All changes are just for warning removal.
  184. 2004-11-24 Atsushi Enomoto <[email protected]>
  185. * XmlSchemaDatatype.cs : added ParseValue() override.
  186. * XmlSchemaSimpleTypeList.cs,
  187. XmlSchemaSimpleTypeUnion.cs : #if NET_2_0 some private fields,
  188. just for eliminating warnings :(
  189. * XmlSchemaSet.cs : commented some fields currently not in use.
  190. It is for eliminating warnings.
  191. * XmlSchemaSimpleTypeRestriction.cs : removed exception field name
  192. to eliminate warning.
  193. * XmlSchemaException.cs : hasLineInfo is also runtime serialized now.
  194. 2004-11-22 Atsushi Enomoto <[email protected]>
  195. * XmlSchemaException.cs : Message is only 1.x (not 2.0).
  196. * XmlSchemaInference.cs : use more static readonly QName fields.
  197. Type merge inference now traverses every base types.
  198. * XmlSchemaInfo.cs : added new file.
  199. 2004-11-18 Atsushi Enomoto <[email protected]>
  200. * XmlSchemaException.cs : added .ctor(string).
  201. * XmlSchemaInferenceException.cs : use base.ctor(string).
  202. * XmlSchemaValidationException.cs : It is 2.0 class. Added some .ctor()
  203. 2004-11-18 Atsushi Enomoto <[email protected]>
  204. * XmlSchemaCollection.cs : obsolete.
  205. * XmlSchemaInference.cs :
  206. Fixed typo in enum. It is still MonoTODO. Reformatted code a bit.
  207. 2004-11-17 Atsushi Enomoto <[email protected]>
  208. * XmlSchemaSet.cs : don't set TargetNamespace = "".
  209. 2004-11-17 Atsushi Enomoto <[email protected]>
  210. * XmlSchemaInferenceDesign.txt : added (incomplete though.)
  211. 2004-11-17 Atsushi Enomoto <[email protected]>
  212. * XmlSchemaValidationException.cs : added.
  213. 2004-11-17 Atsushi Enomoto <[email protected]>
  214. * XmlSchemaInference.cs,
  215. XmlSchemaInferenceException.cs : added.
  216. 2004-11-17 Atsushi Enomoto <[email protected]>
  217. * XmlSchemaException.cs : removed get_Message in 2.0 profile (all done
  218. in .ctor()).
  219. 2004-11-08 Atsushi Enomoto <[email protected]>
  220. * XmlSchemaSet.cs : use NameTable when creating XmlTextReader.
  221. 2004-11-05 Atsushi Enomoto <[email protected]>
  222. * XmlSchemaSet.cs : reduced extraneous XmlSchemaObjectTable creation.
  223. 2004-11-05 Atsushi Enomoto <[email protected]>
  224. * XmlSchemaSimpleTypeList.cs,
  225. XmlSchemaSimpleTypeUnion.cs : XmlIgnore.
  226. 2004-10-29 Atsushi Enomoto <[email protected]>
  227. * XmlSchemaAttribute.cs : AttributeSchemaType could be determined on
  228. compilation time. AttributeType is obsolete.
  229. * XmlSchemaElement.cs : ditto for ElementSchemaType and ElementType.
  230. 2004-10-29 Atsushi Enomoto <[email protected]>
  231. * XmlSchemaComplexType.cs : added LocalElements, with the description
  232. why it can never be correct implementation.
  233. * XmlSchemaUtil.cs : use IHasXmlParserContext.
  234. 2004-10-29 Atsushi Enomoto <[email protected]>
  235. * XmlSchemaSimpleTypeUnion.cs : Added 2.0 BaseMemberTypes property
  236. (this property name is also ambiguous and should be changed too.)
  237. 2004-10-29 Atsushi Enomoto <[email protected]>
  238. * XmlSchemaSimpleTypeList.cs : Added 2.0 BaseItemType property (BTW
  239. this property name is really ambiguous and should be changed.)
  240. 2004-10-28 Atsushi Enomoto <[email protected]>
  241. * XmlSchemaAttributeGroup.cs, XmlSchemaGroup.cs :
  242. in 2.0, QualifiedName properties are public.
  243. * XmlSchemaType.cs : TypeCode is [XmlIgnore] (anyways ignored though).
  244. 2004-10-22 Atsushi Enomoto <[email protected]>
  245. * XmlSchemaType.cs : Implemented GetBuiltInComplexType(XmlTypeCode).
  246. 2004-09-22 Atsushi Enomoto <[email protected]>
  247. * XmlSchemaDatatype.cs : handle xdt:* types in FromName().
  248. 2004-09-16 Atsushi Enomoto <[email protected]>
  249. * BuiltInDatatype.cs, SchemaDataValueType.cs :
  250. ParseValue() for xs:AnyURI should return System.Uri. MS.NET returns
  251. XmlSchemaUri, but it is derived from System.Uri, while ours was not.
  252. 2004-09-07 Atsushi Enomoto <[email protected]>
  253. * IXmlType.cs : deprecated in .NET 2.0.
  254. 2004-09-03 Atsushi Enomoto <[email protected]>
  255. * XmlSchema.cs : When schema inclusion results in a recursion, just
  256. skip recursed schema.
  257. * BUGS-MS.txt : added another entry. Reflected response from Microsoft.
  258. 2004-08-30 Atsushi Enomoto <[email protected]>
  259. * XmlSchemaType.cs : quick build fix.
  260. 2004-08-30 Atsushi Enomoto <[email protected]>
  261. * XmlSchemaDatatype.cs : Removed FromName(localName) that cannot
  262. handle xdt:* types.
  263. * XmlSchemaType.cs : added internal GetBuiltInType() methods that
  264. mix GetBuiltInSimpleType() and GetBuiltInComplexType().
  265. 2004-08-25 Atsushi Enomoto <[email protected]>
  266. * XmlSchemaSimpleType.cs : Fill list types such as xs:IDREFS.
  267. * XmlSchemaType.cs :
  268. Fixed TypeCode more (broken on predefined list types and xs:anyType).
  269. 2004-08-25 Atsushi Enomoto <[email protected]>
  270. * XmlSchemaType.cs :
  271. anyType was anonymous, thus GetBuiltInComplexType() didn't work.
  272. 2004-08-24 Atsushi Enomoto <[email protected]>
  273. * XmlSchemaType.cs : return XmlTypeCode.AnyAtomicType for
  274. anySimpleType's TypeCode property.
  275. 2004-08-10 Atsushi Enomoto <[email protected]>
  276. * XmlSchema.cs : Replace XmlSchemaCollection with XmlSchemaSet that
  277. used to maintain compiled schema state.
  278. Simplified code a bit (Include processing).
  279. Set IsCompiled = true only when successfully compiled.
  280. * XmlSchemaCollection.cs : Now it totally delegates its processing
  281. to XmlSchemaSet. Removed unused methods.
  282. * XmlSchemaElement.cs : Added post-compiled information initializer
  283. method, and call it before (re)Compile().
  284. * XmlSchemaSet.cs :
  285. - Replaced internal store from Dictionary to List, since schema
  286. resources for one target namespace can be more than one (that's why
  287. - Schemas(string targetNamespace) returns ICollection).
  288. - Now global schemaset members are added per schema addition (it is
  289. more MS compatible than before).
  290. - Use GetSafeNs() to do targetNamespace comparison correctly.
  291. XmlSchemaSet looks still unstable, so it will be changed again.
  292. * XmlSchemaSimpleTypeRestriction.cs,
  293. XmlSchemaSimpleTypeUnion.cs,
  294. * XmlSchemaUtil.cs : Consider xdt namespace.
  295. 2004-08-10 Atsushi Enomoto <[email protected]>
  296. * XmlSchemaCollection.cs : replaced CRLF to LF (they were mixed).
  297. 2004-08-10 Atsushi Enomoto <[email protected]>
  298. * XmlSchema.cs : code reformatting. convert CRLF to LF.
  299. Use String.Format() instead of +. Removed commented code.
  300. 2004-07-28 Atsushi Enomoto <[email protected]>
  301. * BuiltInDatatype.cs : use XmlQualifiedName.Parse().
  302. 2004-07-23 Atsushi Enomoto <[email protected]>
  303. * XmlSchema.cs : Added internal XdtNamespace constant. don't fill
  304. schemaset compoenents here.
  305. * XmlSchemaAttribute.cs : Implemented AttributeSchemaType.
  306. * XmlSchemaElement.cs : Implemented ElementSchemaType.
  307. * XmlSchemaSimpleType.cs : Added predefined simple types
  308. * XmlSchemaType.cs : Implemented GetBuiltInSimpleType().
  309. * XmlSchemaDatatype.cs : Allow Xdt namespaces too (not completed;
  310. quick fix for GetBuiltInSimpleType()).
  311. 2004-07-21 Atsushi Enomoto <[email protected]>
  312. * BUGS-MS.txt : updated including answer excerpts from MS team.
  313. * BUGS.txt : it turned out that some bugs I wrote as "MS bugs" are
  314. actually my bug. Noted them.
  315. * BuiltInDatatype.cs :
  316. Commented out extraneous [CLSCompliant].
  317. Switch ParseValue() argument as IXmlNamespaceResolver for 2.0, and
  318. XmlNamespaceManager for 1.x.
  319. Added TypeCode overrides.
  320. * XmlSchemaDatatype.cs : Added 2.0 members.
  321. Switch IXmlNamespaceResolver and XmlNamespaceManager.
  322. * XmlSchemaType.cs : Added some NET_2_0 members. removed old 1.2 stuff.
  323. 2004-07-13 Atsushi Enomoto <[email protected]>
  324. * XmlSchemaBuiltInType.cs, XmlSchemaValidity.cs, XmlTypeCode.cs
  325. : fixed annoying enum errors.
  326. * XmlSchemaCollection.cs : completely delegate to XmlSchemaSet.
  327. * XmlSchemaSet.cs : sealed classes. Use ListDictionary (avoid annoying
  328. order preservation matter). NameTable null check for .ctor().
  329. Fill GlobalAttributes, GlobalElements, GlobalTypes correctly.
  330. Add(string, XmlReader) checks namespace conflicts, while
  331. Add(XmlSchema) does not. Fixed Schemas() return type.
  332. 2004-07-11 Atsushi Enomoto <[email protected]>
  333. * XmlSchemaDatatypeVariety.cs : Fixed class name typo.
  334. * XmlValueConverter.cs : fixed return types.
  335. 2004-06-18 Atsushi Enomoto <[email protected]>
  336. * CustomSerializer.cs, XmlSchemaException.cs,
  337. XmlSchemaParticle.cs, XmlSchemaSimpleTypeRestriction.cs
  338. : Globalization.
  339. 2004-06-10 Atsushi Enomoto <[email protected]>
  340. * XmlSchemaFacet.cs : Fixed internal protected --> internal.
  341. 2004-06-06 Atsushi Enomoto <[email protected]>
  342. * XmlSchema.cs : Make sure to close url-based XmlTextReader.
  343. 2004-06-03 Atsushi Enomoto <[email protected]>
  344. * BuiltInDatatype.cs,
  345. XmlSchemaFacet.cs,
  346. XmlSchemaSimpleTypeRestriction.cs,
  347. XmlSchemaXPath.cs : modified some enum const to static readonly
  348. (.NET 1.0 does not allow it). Use safe overload of LookupNamespace().
  349. 2004-05-22 Atsushi Enomoto <[email protected]>
  350. * XmlSchemaDatatypeVariety.cs,
  351. XmlSchemaValidity.cs : they are NET_2_0 enums.
  352. 2004-05-22 Atsushi Enomoto <[email protected]>
  353. * XmlValueConverter.cs : missed NET_2_0.
  354. 2004-05-22 Atsushi Enomoto <[email protected]>
  355. * IXmlSchemaInfo.cs,
  356. IXmlType.cs,
  357. XmlSchemaDatatypeVariety.cs,
  358. XmlSchemaValidity.cs,
  359. XmlTypeCode.cs,
  360. XmlValueConverter.cs : added.
  361. * XmlSchemaInfo.cs : removed (.NET 1.2).
  362. * XmlSchemaBuiltInType.cs,
  363. XmlSchemaSet.cs : updated.
  364. 2004-05-19 Atsushi Enomoto <[email protected]>
  365. * CustomSerializer.cs : Added custom serializer for XmlSchema, that is
  366. generated by SerializationCodeGenerator and edited a bit.
  367. * XmlSchema.cs : Use XmlSchemaSerializationWriter.
  368. 2004-05-13 Atsushi Enomoto <[email protected]>
  369. * XmlSchema.cs : Removed FIXME. No PSVI required.
  370. * XmlSchemaAll.cs : Removed FIXME. It was not done.
  371. * XmlSchemaAttributeGroupRef.cs : Removed FIXME. It can be annotated.
  372. * XmlSchemaChoice.cs : not FIXME but LAMESPEC.
  373. * XmlSchemaSimpleTypeRestriction.cs : Added check for non
  374. XmlSchemaFacet items on Compile(). Thus removed FIXME.
  375. * XmlSchemaUtil.cs : Fixed SplitList to handle sequential spaces.
  376. Thus removed FIXME.
  377. * XmlSchemaObjectTable. cs: modified to use HybridDictionary (mostly
  378. for avoiding iterator order difference).
  379. 2004-05-13 Atsushi Enomoto <[email protected]>
  380. * XmlSchemaSimpleTypeRestriction.cs : Removed MonoTODO. done.
  381. 2004-05-12 Atsushi Enomoto <[email protected]>
  382. * BuiltInDatatype.cs : made classes/enums internal.
  383. 2004-05-05 Atsushi Enomoto <[email protected]>
  384. * BuiltInDatatype.cs : trivia fix
  385. 2004-05-05 Atsushi Enomoto <[email protected]>
  386. * BuiltInDatatype.cs : added BUGGY_MS_COMPLIANT condition and that
  387. handles ms-compatible properties.
  388. * XmlSchemaComplexType.cs : ditto for ContentTypeParticle of xs:anyType.
  389. Make sure ContentType for xs:anyType is Mixed.
  390. * XmlSchemaUtil.cs : ditto for <xs:attribute use="prohibited" ..>
  391. 2004-05-05 Atsushi Enomoto <[email protected]>
  392. * XmlSchema.cs : Write() handles schema namespace for xmlserializer
  393. (it does not look to be handled inside xmlserializer).
  394. 2004-04-27 Atsushi Enomoto <[email protected]>
  395. * XmlSchemaComplexType.cs : Set basetype as ur-type for such complex
  396. type that has an immediate Particle (W3C specified as restriction
  397. of ur-type).
  398. 2004-04-27 Atsushi Enomoto <[email protected]>
  399. * XmlSchemaAttribute.cs : When type was inline simple type, it is not
  400. validated correctly.
  401. * XmlSchemaSimpleType.cs : When Content was restriction, DataType was
  402. not indicating base type's Datatype correctly.
  403. 2004-04-06 Atsushi Enomoto <[email protected]>
  404. * XmlSchemaDatatype.cs : optimized Normalize() not to create
  405. extraneous string objects.
  406. 2004-03-15 Atsushi Enomoto <[email protected]>
  407. * reverted the latest XmlSchemaUnique.cs change (MS.NET looks fine to
  408. reject incorrect schemas ;-)
  409. 2004-03-04 Alon Gazit <[email protected]>
  410. * XmlSchemaUnique.cs : Changed Read implementation.
  411. Currently can read "field" element before "selector" element (like MS).
  412. 2004-02-26 Atsushi Enomoto <[email protected]>
  413. * XmlSchemaCollection.cs : Implemented SyncRoot and IsSynchronized
  414. (as always synchronized).
  415. 2004-02-16 Atsushi Enomoto <[email protected]>
  416. * XmlSchema.cs,
  417. XmlSchemaAttribute.cs
  418. XmlSchemaAttributeGroup.cs,
  419. XmlSchemaComplexContent.cs,
  420. XmlSchemaComplexType.cs,
  421. XmlSchemaContent.cs,
  422. XmlSchemaDatatype.cs,
  423. XmlSchemaNotation.cs,
  424. XmlSchemaObject.cs,
  425. XmlSchemaParticle.cs : extra TODO removal. foreach elimination.
  426. Moved attribute group recursion check field from XmlSchemaObject
  427. to XmlSchemaAttributeGroup.
  428. Fixed XmlSchemaParticle.EmptyParticle class access modifier.
  429. * XmlSchemaSimpleType.cs,
  430. XmlSchemaSimpleTypeContent.cs,
  431. XmlSchemaSimpleTypeList.cs,
  432. XmlSchemaSimpleTypeRestriction.cs,
  433. XmlSchemaSimpleTypeUnion.cs : Removed "actualBaseSchemaType" field
  434. and the owner simpleType should hold the corresponding type info.
  435. Collect base type info in prior to validation.
  436. 2004-02-05 Atsushi Enomoto <[email protected]>
  437. * BUGS-MS.txt : fixed incorrect thought on case 008. Added case 014.
  438. * BUGS.txt : FYI.
  439. 2004-02-03 Atsushi Enomoto <[email protected]>
  440. * BuiltInDatatype.cs : Fixed some Parse() for token based datatypes.
  441. * XmlSchemaAny.cs : set properties for cloned particle. This will fix
  442. bugzilla #53668.
  443. * XmlSchemaParticle.cs : copy occurence string after computation of
  444. validated min/max occurence. This will fix bug #53667.
  445. 2004-01-26 Atsushi Enomoto <[email protected]>
  446. * XmlSchema.cs : Raise warning event when external schema could not
  447. be resolved.
  448. * XmlSchemaAll.cs : Fixed incorrect IsEmptiable computation.
  449. * XmlSchemaAny.cs : Fixed incorrect occurence computation.
  450. * XmlSchemaChoice.cs : compiledItems were incorrectly appended.
  451. * XmlSchemaComplexType.cs : Now validatableParticle became extraneous.
  452. * XmlSchemaGroupBase.cs : Here we should not get optimized particle
  453. because it might cause infinite loop.
  454. * XmlSchemaGroupRef.cs : Fixed Validate() to avoid null reference
  455. exception (only occur with ValidationEventHandler). Fixed Occurence
  456. embedding logic that was useless because of particle optimization.
  457. 2004-01-22 Atsushi Enomoto <[email protected]>
  458. * BuiltInDatatype.cs : On parsing QName, we don't have to spend costs
  459. on Add()ing parsed name to name table.
  460. * XmlSchemaUtil.cs : Added IsBuiltInDatatypeName().
  461. * XmlSchemaAttribute.cs, XmlSchemaComplexType.cs,
  462. XmlSchemaElement.cs, XmlSchemaSimpleContentExtension.cs,
  463. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeList.cs :
  464. Use the method above instead of Namespace string comparison.
  465. (it will be required to validate schema for schemas.)
  466. * XmlSchemaComplexType.cs : Type Derivation OK (3.4.6) should also
  467. treat null base type as anyType. Derivation Valid Restriction
  468. (3.4.6) should allow base type wildcard absense in case of anyType.
  469. 2004-01-22 Atsushi Enomoto <[email protected]>
  470. * XmlSchema.cs : When we have schema A which includes schema B which
  471. includes schema C (i.e. A->B->C), C components should be compiled.
  472. Here, same URL inclusions are ignored.
  473. * XmlSchemaElement.cs : Hack for missing substitution-group fix.
  474. * XmlSchemaSimpleTypeContent.cs : make actualBaseSchemaType private
  475. and initialize. This fixes bug #53178.
  476. * XmlSchemaSimpleTypeUnion.cs : Forgot to commit ;)
  477. 2004-01-22 Atsushi Enomoto <[email protected]>
  478. * XmlSchemaSimpleTypeRestriction.cs : regexp improvements. Modify
  479. pattern string as "^str$" and convert WXS specific char classes into
  480. .NET regexp patterns.
  481. 2004-01-21 Atsushi Enomoto <[email protected]>
  482. * XmlSchema.cs :
  483. - Removed extra property Language. Fill substitution-group info
  484. before ContentTypeParticle is computed.
  485. * XmlSchemaComplexType.cs : ContentType and ContentTypeParticle are
  486. now computer before Validate() (to exclude 3.4.2 from 3.4.6
  487. component constraint check).
  488. * XmlSchemaObject.cs, XmlSchemaParticle.cs :
  489. Added CopyInfo() for cloning objects.
  490. * XmlSchemaObjectTable.cs :
  491. Add() doesn't have to reject same named items.
  492. * XmlSchemaParticle.cs :
  493. - Renamed internal class XmlSchemaParticleEmpty to EmptyParticle
  494. (for ease of post compilation infoset comparison).
  495. - GetMinEffectiveTotalRange() should return max occurs for element and
  496. any.
  497. * XmlSchemaParticle.cs,
  498. XmlSchemaAll.cs,
  499. XmlSchemaAny.cs,
  500. XmlSchemaChoice.cs,
  501. XmlSchemaElement.cs,
  502. XmlSchemaGroupBase.cs,
  503. XmlSchemaGroupRef.cs,
  504. XmlSchemaSequence.cs :
  505. - Removed ActualParticle property.
  506. - Added GetOptimizedParticle() to get ContentTypeParticle.
  507. - ContentTypeParticle is now created as different object from
  508. user-specified "Particle" property.
  509. - Return Empty particle when model groups contains no Items.
  510. - When Items contains exactly 1 item, return the item (unless it is
  511. top level choice model group - it causes DBR problem).
  512. - ValidateDerivationValidRestriction() and related WXS 3.9.6 DBR
  513. check methods such as ValidateNSRecurseCheckCardinality() now
  514. returns a bool value and avoids exceptions on each failure time.
  515. - ValidateRecurse() now doesn't progress base particle incorrectly.
  516. (it caused incorrect order-preserving-mapping error.)
  517. - 3.9.6 Recurse, RecurseLax, MapAndSum are now treated as different.
  518. * XmlSchemaAll.cs : occurence validation shoud be done against values
  519. after computation (ValidatedMaxOccurs).
  520. * XmlSchemaChoice.cs : When Items is empty, then invoke warning event.
  521. * XmlSchemaElement.cs :
  522. - Consider referencedElement also for SubstitutionGroupElement.
  523. - Removed SubstitutingChoice which is not in use.
  524. - when it was targeted as substitution group by other elements, its
  525. ContentTypeParticle should be substitution choice (see 3.9.6
  526. Particle Valid (Restriction) term 2.1).
  527. - Added FillsubstitutionElementInfo() (see XmlSchema.cs above).
  528. * XmlSchemaGroup.cs : Removed extra check on model group (because it
  529. is impossible to specify non-model-group particle).
  530. * XmlSchemaIdentityConstraint.cs,
  531. XmlSchemaKey.cs,
  532. XmlSchemaKeyRef.cs,
  533. XmlSchemaUnique.cs : Removed extraneous MonoTODO.
  534. * XmlSchemaSimpleContent.cs : Made actualSchemaType as internal.
  535. * XmlSchemaSimpleType.cs : Removed extraneous new Datatype property.
  536. * XmlSchemaSimpleTypeRestriction.cs : Renamed actualBaseSchemaType to
  537. ActualBaseSchemaType.
  538. * XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
  539. Removed unused actualBaseSchemaType code.
  540. * XmlSchemaType.cs : use recently introduced BaseXmlSchemaType.
  541. * XmlSchemaUtil.cs : Removed unused CheckLanguage().
  542. 2004-01-21 Atsushi Enomoto <[email protected]>
  543. * XmlSchemaXPath.cs : wildcard with prefix (e.g. @foo:*) was
  544. incorrectly treated.
  545. 2004-01-20 Atsushi Enomoto <[email protected]>
  546. * SchemaDataValueType.cs : UriValueType.ToString() should return
  547. actual URI string (as MS's XmlSchemaUri class does).
  548. * XmlSchemaReader.cs : Make it internal.
  549. 2004-01-16 David Sheldon <[email protected]>
  550. * BuiltInDatatype.cs: added guard to stop index out of range error for
  551. invalid Base64 characters.
  552. 2004-01-15 Jackson Harper <[email protected]>
  553. * XmlSchemaContent.cs: Make actualBaseSchemaType protected (fixes
  554. build).
  555. 2004-01-15 Atsushi Enomoto <[email protected]>
  556. * XmlSchemaComplexContentExtension.cs,
  557. XmlSchemaSimpleContentExtension.cs,
  558. XmlSchemaSimpleContentExtension.cs,
  559. XmlSchemaSimpleContentRestriction.cs,
  560. XmlSchemaContent.cs : Added IsExtension. GetXXX() became nonvirtual.
  561. * XmlSchemaType.cs :
  562. - Added NET_2_0 BaseXmlSchemaType (other members are commented out).
  563. - Now BaseSchemaType redirects to new property BaseXmlSchemaType.
  564. * XmlSchemaComplexType.cs :
  565. - Now it fully uses BaseXmlSchemaType above.
  566. - Since ValidateXXX() became too huge, I divided them into
  567. CollectXXX() [spec 3.4.1] and ValidateXXX() [spec 3.4.3 / 3.4.6].
  568. Schema Components are contributed before constraint check.
  569. - Now ContentTypeParticle is distinguished from validating particle
  570. which is newly introduced as "ValidatableParticle" (only used in
  571. XsdValidatingReader).
  572. * XmlSchemaSimpleType.cs : Now it uses BaseXmlSchemaType.
  573. capitalized internal members a bit.
  574. 2004-01-14 David Sheldon <[email protected]>
  575. * XmlSchemaSimpleTypeRestriction: Convert pattern facets to be ORed,
  576. as per: http://www.w3.org/TR/xmlschema-2/#src-multiple-patterns
  577. Fixes bug 52841
  578. 2004-01-14 David Sheldon <[email protected]>
  579. * BuiltInDatatype.cs:
  580. XsdAnySimpleType - Added Length that returns the string length.
  581. XsdBase64Binary - Added Length, and used more direct, less fussy,
  582. Base64 decoder.
  583. XsdHexBinary - Added Length method
  584. * XmlSchemaSimpleTypeRestriction: use DataType Length method to
  585. determine length to compare against. Stop testing Lenght facets on
  586. QName and Notation types (as per errata)
  587. 2004-01-14 Atsushi Enomoto <[email protected]>
  588. * XmlSchemaComplexType.cs : forgot to commit ;)
  589. * XmlSchemaUtil.cs : Fixed IsSchemaDatatypeEquals() to return false
  590. for comparison between ID and IDREF.
  591. 2004-01-14 Atsushi Enomoto <[email protected]>
  592. * Added SchemaDataValueType.cs.
  593. * BuiltInDatatype.cs, XmlSchemaDatatype.cs : Adde ParseValueType() on
  594. all derived datatype classes.
  595. * XmlSchemaComplexType.cs : Fixed ContentType value for simple types.
  596. Errata-considered simple content derivation check and simple content
  597. restriction should check this too.
  598. 2004-01-13 Jackson Harper <[email protected]>
  599. * XmlSchemaComplexType.cs: Comment out line that was breaking the build.
  600. 2004-01-13 Atsushi Enomoto <[email protected]>
  601. * XmlSchemaSimpleTypeUnion.cs : The same reason as the previous patch.
  602. * XmlSchemaComplexType.cs : Now it handles ContentTypeParticle and
  603. ContentType much more presise than before.
  604. * XmlSchemaElement.cs :
  605. Simplified property handling for reference element.
  606. 2004-01-13 Atsushi Enomoto <[email protected]>
  607. * XmlSchema.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs :
  608. Invalid attribute should raise an error, not a warning.
  609. 2004-01-13 Atsushi Enomoto <[email protected]>
  610. * XmlSchemaObject.cs : Fixed error() not to set severity as Warning.
  611. * ValidationHandler.cs,
  612. XmlSchemaSet.cs,
  613. XmlSchemaCollection.cs : Throw exception only in case of errors.
  614. * XmlSchemaCollection.cs : Remove schema from schemaset if exist.
  615. (It might not be good to use schemaset, but keep for a while)
  616. * XmlSchemaContent.cs,
  617. XmlSchemaComplexContentExtension.cs,
  618. XmlSchemaComplexContentRestriction.cs,
  619. XmlSchemaSimpleContentExtension.cs,
  620. XmlSchemaSimpleContentRestriction.cs,
  621. : added GetBaseTypeName() and GetParticle() (not used yet).
  622. 2004-01-11 Atsushi Enomoto <[email protected]>
  623. * BuiltInDatatype.cs : internal type should not appear in protected
  624. members' signature.
  625. 2004-01-11 David Sheldon <[email protected]>
  626. * BuiltInDatatype.cs : Added XsdOrdering enum, and Compare methods
  627. to the data-types. Changed AllowedFacets to be a bitfield.
  628. * XmlSchemaFacet.cs : Added Facet enumeration to represent bitfield.
  629. * XmlSchemaEnumerationFacet.cs,
  630. XmlSchemaFractionDigitsFacet.cs,
  631. XmlSchemaLengthFacet.cs,
  632. XmlSchemaMaxExclusiveFacet.cs,
  633. XmlSchemaMaxInclusiveFacet.cs,
  634. XmlSchemaMaxLengthFacet.cs,
  635. XmlSchemaMinExclusiveFacet.cs,
  636. XmlSchemaMinInclusiveFacet.cs,
  637. XmlSchemaMinLengthFacet.cs,
  638. XmlSchemaNumericFacet.cs,
  639. XmlSchemaPatternFacet.cs,
  640. XmlSchemaTotalDigitsFacet.cs,
  641. XmlSchemaWhiteSpaceFacet.cs : Added ThisFacet Property to return facet type
  642. * XmlSchemaSimpleTypeRestriction.cs: Inherited facets from base types,
  643. checked which which were allowed on different types. Validated fixed
  644. facets, duplicated facets and derivation by restriction. Added checking
  645. for min/max Inclusive/Exclusive, totalDigits and fractionDigits facets in
  646. validation.
  647. 2004-01-09 Atsushi Enomoto <[email protected]>
  648. * XmlSchemaSet.cs : implemented some members.
  649. * XmlSchemaCollection.cs : modified to use internal schema set (This
  650. class provides more precise schema validation feature and will be
  651. commonly used for XPathNavigator2).
  652. Added .NET 1.1 .ctor() which takes XmlResolver.
  653. * XmlSchema.cs : fix related to above changes.
  654. Use validation event handler on Read() at all required places.
  655. Added .NET 1.1 .ctor() which takes XmlResolver.
  656. * XmlSchemaComplexType.cs : content type comparison was incorrect.
  657. Renamed confusing method.
  658. * XmlSchemaElement.cs : don't use ContentTypeParticle in
  659. CheckRecursion(), where that property might not be determined yet.
  660. * XmlSchemaGroupBase.cs : Modified ValidateRecurse() a bit (currently
  661. no effect)
  662. * XmlSchemaGroupBase.cs,
  663. XmlSchemaChoice.cs,
  664. XmlSchemaAll.cs,
  665. XmlSchemaSequence.cs : moved CheckRecursion to XmlSchemaGroupBase.
  666. * XmlSchemaObjectTable.cs : Fixed missing error info.
  667. * BUGS-MS.txt : Added info a bit.
  668. 2004-01-08 Atsushi Enomoto <[email protected]>
  669. * BUGS-MS.txt : added list derivation and facet case.
  670. * XmlSchemaComplexType.cs :
  671. Added some description. Avoided null reference exception in
  672. some places.
  673. Fixed incorrect 3.4.6 Derivation Valid (Extension) 1.4.1.2.2 and
  674. 3.9.6 Particle Valid (Extension) 2.
  675. * XmlSchemaGroupBase.cs : Fixed ParticleEquals() which didn't work
  676. properly against sequence and all.
  677. 2004-01-08 Atsushi Enomoto <[email protected]>
  678. * XmlSchemaObjectTable.cs : Modified enumerator's Current to return
  679. DictionaryEntry.
  680. * XmlSchemaComplexType.cs, XmlSchemaUtil.cs :
  681. In reflection to object table enumerator change.
  682. 2004-01-08 Atsushi Enomoto <[email protected]>
  683. * XmlSchemaElement.cs : Fixed incorrect unique particle attribution
  684. check on ##other and target namespace element.
  685. 2004-01-08 Nick Drochak <[email protected]>
  686. * XmlSchemaSimpleType.cs: Needed a 'new' on the property
  687. * XmlSchemaXPath.cs: Removed unreachable code.
  688. 2004-01-03 Atsushi Enomoto <[email protected]>
  689. * XmlSchemaDatatype.cs : trivial allocation fix.
  690. 2003-12-17 David Sheldon <[email protected]>
  691. * BuiltInDatatype.cs : Added whitespace=collapse to data types
  692. such as date, dateTime, .... gDay. I think I have them all now.
  693. 2003-12-15 Atsushi Enomoto <[email protected]>
  694. * BuiltInDatatype.cs : anySimpleType should allow facets.
  695. 2003-12-14 David Sheldon <[email protected]>
  696. * BuiltInDatatype.cs : Added code to tell which facets were valid on
  697. types derived from each basetype.
  698. * XmlSchemaSimpleTypeRestriction.cs : Complain if an invalid facet
  699. has been added to a restriction.
  700. 2003-12-14 David Sheldon <[email protected]>
  701. * XmlSchemaSimpleTypeRestriction.cs : Check that min/max/lengths
  702. specified are integers. Also made some error messages more useful.
  703. 2003-12-08 Atsushi Enomoto <[email protected]>
  704. * XmlSchemaSimpleTypeRestriction.cs : patch by David Sheldon. Check
  705. if max/min length range is valid.
  706. 2003-12-07 Atsushi Enomoto <[email protected]>
  707. * BuiltInDatatype.cs : XsdDecimal and XsdInteger defaults whitespace
  708. facet as collapse (patch by David Sheldon).
  709. * XmlSchemaAnnotations.cs, XmlSchemaAny.cs : No more MonoTODOs ;-)
  710. * XmlSchemaSequence.cs : MapAndSum implementation.
  711. 2003-11-17 Atsushi Enomoto <[email protected]>
  712. * XmlSchemaSet.cs, XmlSchemaBuiltInType.cs : Added .NET 1.2 classes
  713. (for convenience of ObjectSpaces stubbing).
  714. 2003-10-25 Atsushi Enomoto <[email protected]>
  715. * BuiltInDatatype.cs : XsdByte was incorrectly typed as byte, while
  716. the correct binding is sbyte.
  717. * XmlSchemaAll.cs,
  718. XmlSchemaChoice.cs,
  719. XmlSchemaSequence.cs,
  720. XmlSchemaGroupBase.cs : ActualParticle now considers pointlessness
  721. described in WXS structures 3.9.6.
  722. Added ValidateRecurse() to support 'Recurse' validation.
  723. * XmlSchemaComplexType.cs : Removed incorrect content type conformity
  724. check.
  725. * XmlSchemaElement.cs : Implemented 'RecurseAsIfGroup' validation
  726. described in WXS structures 3.9.6. Fixed type derivation check to
  727. do only if the base type is not anyType.
  728. * XmlSchemaSimpleTypeRestriction.cs : Should catch Regex()
  729. construction exception. ValidateList... and ValidateNonList... was
  730. in reverse.
  731. * XmlSchemaUtil.cs : Removed extra MonoTODO. Removed CheckToken().
  732. 2003-10-25 Atsushi Enomoto <[email protected]>
  733. * BuiltInDatatype.cs : Fixed incorrect inheritance of date and time.
  734. Fixed most of date-time related types' ParseValue().
  735. Applied Normalize() before parsing values in some ParseValue().
  736. 2003-10-23 Atsushi Enomoto <[email protected]>
  737. * XmlSchemaAll.cs,
  738. XmlSchemaChoice.cs,
  739. XmlSchemaGroupBase.cs,
  740. XmlSchemaSequence.cs : Now CompiledItems went to XmlSchemaGroupBase.
  741. * XmlSchemaAny.cs,
  742. XmlSchemaElement.cs,
  743. XmlSchemaGroupBase.cs,
  744. XmlSchemaGroupRef.cs,
  745. XmlSchemaParticle.cs,
  746. XmlSchemaSequence.cs : Added ParticleEquals() method to compare
  747. whether the particles are equal in the context of WXS part 1 - 3.9.6.
  748. * XmlSchemaAny.cs : Implemented ValidateDerivationByRestriction().
  749. * XmlSchemaAnyAttribute.cs : Removed extraneous lines and added my
  750. responsibility on this class.
  751. Added ValidateWildcardAllowsNamespaceName().
  752. * XmlSchemaAttribute.cs : Added ValidatedUse which holds post-
  753. compilation value of "Use".
  754. * XmlSchemaAttributeGroup.cs,
  755. XmlSchemaAttributeGroupRef.cs : Removed MonoTODO (same as some other
  756. classes) since there is no more errors on attribute stuff ;-)
  757. * XmlSchemaComplexType.cs : complex content extension must block
  758. derivation from any built-in primitive types.
  759. Fixed wildcard derivation by restriction.
  760. ValidateDerivationByRestriction() now checks attribute related
  761. validity of DBR (derivation by restriction).
  762. Now uses ParticleEquals() for particle DBR check.
  763. * XmlSchemaSequence.cs : Fixed to use CompiledItems instead of Items.
  764. 2003-10-21 Atsushi Enomoto <[email protected]>
  765. * XmlSchema.cs,
  766. XmlSchemaUtil.cs : Reduced warning message.
  767. * XmlSchemaAttribute.cs : NotImplementedException should no more exist.
  768. (All things are going to be implemented.)
  769. * BuiltInDatatype.cs : XsdInteger should not allow non-integer decimal.
  770. * XmlSchemaSimpleType.cs : Added internal Datatype property. Implemented
  771. list type derivation validation. Added Normalize().
  772. * XmlSchemaSimpleTypeContent.cs : Added Normalize(). Replaced anyType
  773. with anySimpleType.
  774. * XmlSchemaSimpleTypeRestriction.cs : Implemented some facet validation,
  775. such as pattern, enumeration, and length etc.
  776. 2003-10-19 Atsushi Enomoto <[email protected]>
  777. * BuiltInDatatype.cs : Implemented XsdHexBinary.Parse().
  778. * XmlSchemaCollection.cs : Implemented CopyTo().
  779. * XmlSchemaDatatype.cs : Added Normalize() with whitespace handling.
  780. Added support for anySimpleType.
  781. * XmlSchemaSimpleType.cs : Type specification named as anyType should
  782. be mapped to anySimpleType.
  783. * BUGS-MS.txt : Added more case note.
  784. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  785. * XmlSchema.cs: If the schema element is an empty element, skip it after
  786. reading the attributes.
  787. 2003-10-09 Atsushi Enomoto <[email protected]>
  788. * BuiltInDatatype.cs : Added CLSCompliant attributes to some classes.
  789. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  790. * XmlSchemaUtil.cs: arrayType attribute needs special handling.
  791. 2003-10-01 Atsushi Enomoto <[email protected]>
  792. * XmlSchema.cs : Forgot to update with previous files.
  793. 2003-10-01 Atsushi Enomoto <[email protected]>
  794. * XmlSchemaAttribute.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs,
  795. XmlSchemaGroupRef.cs, XmlSchemaSimpleContentExtension.cs,
  796. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeContent.cs,
  797. XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
  798. Fixed missing sub components check. It should fix soap stuff.
  799. * XmlSchemaAny.cs, XmlSchemaAttribute.cs,
  800. XmlSchemaAttributeGroupRef.cs, XmlSchemaContent.cs :
  801. Added my responsibility on them ;-)
  802. 2003-10-01 Atsushi Enomoto <[email protected]>
  803. * XmlSchema.cs : Read() should keep current position of XmlReader if
  804. it was already positioned to 'schema' element.
  805. 2003-09-30 Atsushi Enomoto <[email protected]>
  806. * Forgot to append 8/24/2003 ChangeLog.
  807. * BUGS.txt, BUGS-MS.txt : Appended additional bug info.
  808. * BuiltInDatatype.cs, ValidationHandler.cs, XmlSchema.cs,
  809. XmlSchemaAll.cs, XmlSchemaAnnotation.cs. XmlSchemaAny.cs,
  810. XmlSchemaAnyAttribute.cs, XmlSchemaAttribute.cs,
  811. XmlSchemaAttributeGroup.cs, XmlSchemaAttributeGroupRef.cs,
  812. XmlSchemaChoice.cs, XmlSchemaCollection.cs,
  813. XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
  814. XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
  815. XmlSchemaContent.cs, XmlSchemaDatatype.cs, XmlSchemaElement.cs,
  816. XmlSchemaException.cs, XmlSchemaGroup.cs, XmlSchemaGroupBase.cs,
  817. XmlSchemaGroupRef.cs, XmlSchemaIdentityConstraint.cs,
  818. XmlSchemaKey.cs, XmlSchemaKeyref.cs, XmlSchemaNotation.cs,
  819. XmlSchemaObject.cs, XmlSchemaObjectTable.cs, XmlSchemaParticle.cs,
  820. XmlSchemaReader.cs, XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
  821. XmlSchemaSimpleContentExtension.cs,
  822. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
  823. XmlSchemaSimpleTypeContent.cs, XmlSchemaSimpleTypeList.cs,
  824. XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleTypeUnion.cs,
  825. XmlSchemaType.cs, XmlSchemaUnique.cs, XmlSchemaUtil.cs,
  826. XmlSchemaXPath.cs :
  827. - Almost all classes are changed to implement schema component
  828. constraints, and schema validation using XsdValidatingReader.
  829. - better exception messages.
  830. - More datatype support.
  831. and so on.
  832. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  833. * XmlSchema.cs: Do not add schema namespace declaration if it is already
  834. declared.
  835. 2003-08-28 Lluis Sanchez Gual <[email protected]>
  836. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added double type.
  837. 2003-08-24 Atsushi Enomoto <[email protected]>
  838. * BuiltInDatatype.cs : XsdDecimal.TokenizedType should be None.
  839. * XmlSchemaCollection.cs : Add(uri) should not reject chameleon schema.
  840. Add() should compile specified schema.
  841. 2003-08-08 Lluis Sanchez Gual <[email protected]>
  842. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added XsdAnyURI,
  843. XsdDateTime, XsdDate, XsdTime.
  844. 2003-08-07 Atsushi Enomoto <[email protected]>
  845. * BuiltInDatatypes.cs : Fixed whitespace facet in XsdToken.
  846. Tokenized type of nmtokens and entities is string [].
  847. * XmlSchema.cs : Changed IsCompile implementation a bit.
  848. Compile() should reset compiled contents.
  849. * XmlSchemaDatatype.cs : Fixed collapsing Normalize().
  850. * XmlSchemaObject.cs : added CompilationId initialization.
  851. 2003-08-05 Lluis Sanchez Gual <[email protected]>
  852. * XmlSchema.cs: Set IsCompiled to true after compiling.
  853. In Compile(): ignore included schemas that do not have a value
  854. in SchemaLocation. It means that FindElement can return null
  855. if the referred schema was ignored. Added check for that case.
  856. Compile schema after reading it.
  857. * XmlSchemaCollection.cs: The targetNamespace of a schema may
  858. be null. Make XmlSchemaCollection work for this case.
  859. * BuiltInDataType.cs, XmlSchemaDataType.cs: added new primitive
  860. types: float, base64Binary, boolean.
  861. 2003-08-02 Atsushi Enomoto <[email protected]>
  862. * XmlSchema.cs :
  863. - Changed missingElementTypeRefs from Hashtable to ArrayList.
  864. - Added internal XmlSchemas for keeping imported schemas.
  865. - Added private Compile() that takes the original rootSchema and
  866. schema location stack for nested inclusion check.
  867. - Added basic xs:import and xs:include support.
  868. - Compile() is now aware of included XmlSchemaObject items.
  869. - Changed Compile() to fill missing elements' types and that of
  870. referencing elements.
  871. - Read() now adds SourceUri property (although only to itself).
  872. * XmlSchemaCollection.cs : Implemented Add().
  873. * XmlSchemaCollectionEnumerator.cs :
  874. Changed .ctor() to use schema collection as its argument.
  875. Fixed Current to return hashtable's Value, instead of Current
  876. (which returns DictionaryEntry).
  877. * XmlSchemaComplexType.cs :
  878. Added internal static AnyType.
  879. Compile() is now searches for its base type into other schemas.
  880. * XmlSchemaElement.cs : anyType is supported.
  881. It now searches for type information after Compile().
  882. SetReferedElementInfo() is now changed to SetSchemaType().
  883. * XmlSchemaObjectTable.cs :
  884. It had problems similar to schema collection. Now it uses internal
  885. class XmlSchemaObjectTableEnumerator to support GetEnumerator().
  886. * XmlSchemaParticle.cs : added internal class XmlSchemaParticleEmpty
  887. and internal static Empty.
  888. 2003-07-26 Atsushi Enomoto <[email protected]>
  889. * BuiltInDatatype.cs : XsdIDRefs.ParseValue () should be implemented.
  890. * XmlSchemaDatatype.cs : public Whitespace and protected Normalize()
  891. should be internal.
  892. 2003-07-24 Atsushi Enomoto <[email protected]>
  893. * XmlSchema.cs : Read() now uses XmlSerializer.Deserialize().
  894. 2003-07-21 Atsushi Enomoto <[email protected]>
  895. * XmlSchema.cs, XmlSchemaElement.cs :
  896. added internal MissingElementTypeRefs and support for refering
  897. element's elementType.
  898. 2003-07-20 Atsushi Enomoto <[email protected]>
  899. * XmlSchema.cs : added support for collecting missing type references
  900. at compilation-time.
  901. * XmlSchemaType.cs, XmlSchemaComplexType.cs, XmlSchemaSimpleType.cs:
  902. - Renamed qName to QNameInternal.
  903. - Added BaseSchemaType and ContentTypeParticle support.
  904. 2003-07-19 Atsushi Enomoto <[email protected]>
  905. * XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotated.cs,
  906. XmlSchemaAnnotation.cs, XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs,
  907. XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs,
  908. XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs,
  909. XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
  910. XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
  911. XmlSchemaElement.cs, XmlSchemaGroup.cs, XmlSchemaGroupRef.cs,
  912. XmlSchemaIdentityConstraint.cs, XmlSchemaImport.cs,
  913. XmlSchemaInclude.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs,
  914. XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaRedefine.cs,
  915. XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
  916. XmlSchemaSimpleContentExtension.cs,
  917. XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
  918. XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs,
  919. XmlSchemaSimpleTypeUnion.cs, XmlSchemaUnique.cs,
  920. XmlSchemaXPath.cs,
  921. As to Compile() and Validate(),
  922. - Added CompilationId and check it while compiling schema components.
  923. - Code refactory. Replaced literal xmlns with XmlSchema.Namespace
  924. - Replaced XmlSchemaInfo with compiling XmlSchema itself (XmlSchema
  925. also has PSVI components inside it, so passing itself seems enough).
  926. - Related to above change, IDCollection was moved to XmlSchema, and
  927. blockDefault/finalDefault/blockResolved/finalResolved resolution
  928. was changed to reference only to schema.BlockDefault/FinalDefault.
  929. - The similar change has done against XmlSchemaForm related stuff.
  930. - Changed compilation order of schema type definitions (it is
  931. workaround). First it compiles types, and then it compiles others.
  932. * XmlSchemaElement.cs : added ElementType PSVI contribution support.
  933. 2003-07-19 Atsushi Enomoto <[email protected]>
  934. * BuiltInDatatypes.cs, XmlSchemaDatatype.cs :
  935. Added decimal and its derived datatypes.
  936. Added abstract XsdAnySimpleType.
  937. 2003-07-15 Lluis Sanchez Gual <[email protected]>
  938. * BuiltInDatatype.cs,
  939. XmlSchemaDatatype.cs : added unsignedByte type support.
  940. 2003-07-14 Lluis Sanchez Gual <[email protected]>
  941. * XmlSchemaDatatype.cs: Fixed compiler warning.
  942. 2003-07-12 Atsushi Enomoto <[email protected]>
  943. * BuiltInDatatype.cs,
  944. XmlSchemaDatatype.cs : added NOTATION type support.
  945. 2003-07-06 Atsushi Enomoto <[email protected]>
  946. * added BuiltInDatatype.cs.
  947. * XmlSchemaDatatype.cs : [GetType()] added support for some
  948. built-in datatypes.
  949. 2003-05-05 Atsushi Enomoto <[email protected]>
  950. * XmlSchemaAnnotation.cs : It depended on incorrect ReadNode().
  951. 2003-02-19 Atsushi Enomoto <[email protected]>
  952. * XmlSchemaAnnotation.cs : expect the correct closing tag on <appinfo>
  953. and <documentation> elements. (patch by Peter Pentchev)
  954. * XmlSchemaObjectEnumerator.cs : cast properly to XmlSchemaObject
  955. instead of XmlSchema. (patch by Peter Pentchev)
  956. 2002-07-23 Duncan Mak <[email protected]>
  957. * XmlSchemaException.cs: Partiall implement the ISerializable
  958. methods. It's not clear now SourceSchemaObject should be deserialized.
  959. 2002-07-22 Tim Coleman <[email protected]>
  960. * XmlSchema.cs: Removed isCompiled which is defined as internal
  961. in XmlSchemaObject.
  962. 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
  963. * XmlSchema: Started work on Validate methods
  964. 2002-06-18 Dwivedi, Ajay kumar <[email protected]>
  965. * XmlSchema: The Read and Write methods are no more [MonoTODO] :)
  966. * XmlSchemaAppInfo: Xml Markup is now being read.
  967. * XmlSchemaDocumentation: Xml Markup is now being read.
  968. * All: Unhandled attributes are being handled properly.
  969. * All: Reordered the properties in all cs files to match with MS
  970. Implementation. This was required since the order is importatnt
  971. for the XmlSerializer.
  972. 2002-06-14 Dwivedi, Ajay kumar <[email protected]>
  973. * General: Fixed a few more Bugs
  974. 2002-06-10 Dwivedi, Ajay kumar <[email protected]>
  975. * XmlSchemaReader: A Wrapper class around XmlReader with customized
  976. methods to suit reading a schema.
  977. * General: Implemented Read() method for the schema. There are only
  978. a few minor bugs remaining.
  979. 2002-05-25 Dwivedi, Ajay kumar <[email protected]>
  980. * BUGS.txt: New file to keep track of bugs
  981. * ALL: All classes are initialized exactly as in .NET except
  982. 1. inclusion of language attribute in schema
  983. 2. ComplexContent's Particle is initialized to null whereas .NET
  984. to some internal implementation. IMO Null is more appropriate
  985. * ALL: Changed the Compile methods to return the count of errors.
  986. * ALL: Complile methods are almost complete. Pass 1453 of 3061 tests.
  987. This number should shoot up if we write a parser to read the
  988. Schema instead of using reflection (which is slower too)
  989. 2002-05-04 Dwivedi, Ajay kumar <[email protected]>
  990. * XmlSchemaUtil.cs: New file added.
  991. * Parser.cs: New file Added. Unused at the moment.
  992. * XmlSchemaObjectCollection: Fixed GetEnumerator
  993. * General: Preprocessing for Attributes and SimpleTypes completed.
  994. 2002-04-26 Duncan Mak <[email protected]>
  995. * ValidationHandler.cs: New file.
  996. * XmlSchemaInfo.cs: New file.
  997. * *.cs: More updates from Ajay.
  998. 2002-03-27 Duncan Mak <[email protected]>
  999. * *.cs: Updates from Ajay Dwivedi <[email protected]>.