ChangeLog 53 KB

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