ChangeLog 50 KB

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