mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* XmlSchemaObjectTable.cs : Modified enumerator's Current to return DictionaryEntry. * XmlSchemaComplexType.cs, XmlSchemaUtil.cs : In reflection to object table enumerator change. svn path=/trunk/mcs/; revision=21827
436 lines
17 KiB
Plaintext
Executable File
436 lines
17 KiB
Plaintext
Executable File
2004-01-08 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaObjectTable.cs : Modified enumerator's Current to return
|
|
DictionaryEntry.
|
|
* XmlSchemaComplexType.cs, XmlSchemaUtil.cs :
|
|
In reflection to object table enumerator change.
|
|
|
|
2004-01-08 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaElement.cs : Fixed incorrect unique particle attribution
|
|
check on ##other and target namespace element.
|
|
|
|
2004-01-08 Nick Drochak <[email protected]>
|
|
|
|
* XmlSchemaSimpleType.cs: Needed a 'new' on the property
|
|
* XmlSchemaXPath.cs: Removed unreachable code.
|
|
|
|
2004-01-03 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaDatatype.cs : trivial allocation fix.
|
|
|
|
2003-12-17 David Sheldon <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : Added whitespace=collapse to data types
|
|
such as date, dateTime, .... gDay. I think I have them all now.
|
|
|
|
2003-12-15 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : anySimpleType should allow facets.
|
|
|
|
2003-12-14 David Sheldon <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : Added code to tell which facets were valid on
|
|
types derived from each basetype.
|
|
|
|
* XmlSchemaSimpleTypeRestriction.cs : Complain if an invalid facet
|
|
has been added to a restriction.
|
|
|
|
|
|
2003-12-14 David Sheldon <[email protected]>
|
|
|
|
* XmlSchemaSimpleTypeRestriction.cs : Check that min/max/lengths
|
|
specified are integers. Also made some error messages more useful.
|
|
|
|
2003-12-08 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaSimpleTypeRestriction.cs : patch by David Sheldon. Check
|
|
if max/min length range is valid.
|
|
|
|
2003-12-07 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : XsdDecimal and XsdInteger defaults whitespace
|
|
facet as collapse (patch by David Sheldon).
|
|
* XmlSchemaAnnotations.cs, XmlSchemaAny.cs : No more MonoTODOs ;-)
|
|
* XmlSchemaSequence.cs : MapAndSum implementation.
|
|
|
|
2003-11-17 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaSet.cs, XmlSchemaBuiltInType.cs : Added .NET 1.2 classes
|
|
(for convenience of ObjectSpaces stubbing).
|
|
|
|
2003-10-25 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : XsdByte was incorrectly typed as byte, while
|
|
the correct binding is sbyte.
|
|
* XmlSchemaAll.cs,
|
|
XmlSchemaChoice.cs,
|
|
XmlSchemaSequence.cs,
|
|
XmlSchemaGroupBase.cs : ActualParticle now considers pointlessness
|
|
described in WXS structures 3.9.6.
|
|
Added ValidateRecurse() to support 'Recurse' validation.
|
|
* XmlSchemaComplexType.cs : Removed incorrect content type conformity
|
|
check.
|
|
* XmlSchemaElement.cs : Implemented 'RecurseAsIfGroup' validation
|
|
described in WXS structures 3.9.6. Fixed type derivation check to
|
|
do only if the base type is not anyType.
|
|
* XmlSchemaSimpleTypeRestriction.cs : Should catch Regex()
|
|
construction exception. ValidateList... and ValidateNonList... was
|
|
in reverse.
|
|
* XmlSchemaUtil.cs : Removed extra MonoTODO. Removed CheckToken().
|
|
|
|
2003-10-25 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : Fixed incorrect inheritance of date and time.
|
|
Fixed most of date-time related types' ParseValue().
|
|
Applied Normalize() before parsing values in some ParseValue().
|
|
|
|
2003-10-23 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaAll.cs,
|
|
XmlSchemaChoice.cs,
|
|
XmlSchemaGroupBase.cs,
|
|
XmlSchemaSequence.cs : Now CompiledItems went to XmlSchemaGroupBase.
|
|
* XmlSchemaAny.cs,
|
|
XmlSchemaElement.cs,
|
|
XmlSchemaGroupBase.cs,
|
|
XmlSchemaGroupRef.cs,
|
|
XmlSchemaParticle.cs,
|
|
XmlSchemaSequence.cs : Added ParticleEquals() method to compare
|
|
whether the particles are equal in the context of WXS part 1 - 3.9.6.
|
|
* XmlSchemaAny.cs : Implemented ValidateDerivationByRestriction().
|
|
* XmlSchemaAnyAttribute.cs : Removed extraneous lines and added my
|
|
responsibility on this class.
|
|
Added ValidateWildcardAllowsNamespaceName().
|
|
* XmlSchemaAttribute.cs : Added ValidatedUse which holds post-
|
|
compilation value of "Use".
|
|
* XmlSchemaAttributeGroup.cs,
|
|
XmlSchemaAttributeGroupRef.cs : Removed MonoTODO (same as some other
|
|
classes) since there is no more errors on attribute stuff ;-)
|
|
* XmlSchemaComplexType.cs : complex content extension must block
|
|
derivation from any built-in primitive types.
|
|
Fixed wildcard derivation by restriction.
|
|
ValidateDerivationByRestriction() now checks attribute related
|
|
validity of DBR (derivation by restriction).
|
|
Now uses ParticleEquals() for particle DBR check.
|
|
* XmlSchemaSequence.cs : Fixed to use CompiledItems instead of Items.
|
|
|
|
2003-10-21 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchema.cs,
|
|
XmlSchemaUtil.cs : Reduced warning message.
|
|
* XmlSchemaAttribute.cs : NotImplementedException should no more exist.
|
|
(All things are going to be implemented.)
|
|
* BuiltInDatatype.cs : XsdInteger should not allow non-integer decimal.
|
|
* XmlSchemaSimpleType.cs : Added internal Datatype property. Implemented
|
|
list type derivation validation. Added Normalize().
|
|
* XmlSchemaSimpleTypeContent.cs : Added Normalize(). Replaced anyType
|
|
with anySimpleType.
|
|
* XmlSchemaSimpleTypeRestriction.cs : Implemented some facet validation,
|
|
such as pattern, enumeration, and length etc.
|
|
|
|
2003-10-19 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : Implemented XsdHexBinary.Parse().
|
|
* XmlSchemaCollection.cs : Implemented CopyTo().
|
|
* XmlSchemaDatatype.cs : Added Normalize() with whitespace handling.
|
|
Added support for anySimpleType.
|
|
* XmlSchemaSimpleType.cs : Type specification named as anyType should
|
|
be mapped to anySimpleType.
|
|
* BUGS-MS.txt : Added more case note.
|
|
|
|
2003-10-13 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSchema.cs: If the schema element is an empty element, skip it after
|
|
reading the attributes.
|
|
|
|
2003-10-09 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : Added CLSCompliant attributes to some classes.
|
|
|
|
2003-10-01 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSchemaUtil.cs: arrayType attribute needs special handling.
|
|
|
|
2003-10-01 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchema.cs : Forgot to update with previous files.
|
|
|
|
2003-10-01 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaAttribute.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs,
|
|
XmlSchemaGroupRef.cs, XmlSchemaSimpleContentExtension.cs,
|
|
XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeContent.cs,
|
|
XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
|
|
Fixed missing sub components check. It should fix soap stuff.
|
|
* XmlSchemaAny.cs, XmlSchemaAttribute.cs,
|
|
XmlSchemaAttributeGroupRef.cs, XmlSchemaContent.cs :
|
|
Added my responsibility on them ;-)
|
|
|
|
2003-10-01 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchema.cs : Read() should keep current position of XmlReader if
|
|
it was already positioned to 'schema' element.
|
|
|
|
2003-09-30 Atsushi Enomoto <[email protected]>
|
|
|
|
* Forgot to append 8/24/2003 ChangeLog.
|
|
* BUGS.txt, BUGS-MS.txt : Appended additional bug info.
|
|
* BuiltInDatatype.cs, ValidationHandler.cs, XmlSchema.cs,
|
|
XmlSchemaAll.cs, XmlSchemaAnnotation.cs. XmlSchemaAny.cs,
|
|
XmlSchemaAnyAttribute.cs, XmlSchemaAttribute.cs,
|
|
XmlSchemaAttributeGroup.cs, XmlSchemaAttributeGroupRef.cs,
|
|
XmlSchemaChoice.cs, XmlSchemaCollection.cs,
|
|
XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
|
|
XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
|
|
XmlSchemaContent.cs, XmlSchemaDatatype.cs, XmlSchemaElement.cs,
|
|
XmlSchemaException.cs, XmlSchemaGroup.cs, XmlSchemaGroupBase.cs,
|
|
XmlSchemaGroupRef.cs, XmlSchemaIdentityConstraint.cs,
|
|
XmlSchemaKey.cs, XmlSchemaKeyref.cs, XmlSchemaNotation.cs,
|
|
XmlSchemaObject.cs, XmlSchemaObjectTable.cs, XmlSchemaParticle.cs,
|
|
XmlSchemaReader.cs, XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
|
|
XmlSchemaSimpleContentExtension.cs,
|
|
XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
|
|
XmlSchemaSimpleTypeContent.cs, XmlSchemaSimpleTypeList.cs,
|
|
XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleTypeUnion.cs,
|
|
XmlSchemaType.cs, XmlSchemaUnique.cs, XmlSchemaUtil.cs,
|
|
XmlSchemaXPath.cs :
|
|
|
|
- Almost all classes are changed to implement schema component
|
|
constraints, and schema validation using XsdValidatingReader.
|
|
- better exception messages.
|
|
- More datatype support.
|
|
and so on.
|
|
|
|
2003-09-14 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSchema.cs: Do not add schema namespace declaration if it is already
|
|
declared.
|
|
|
|
2003-08-28 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added double type.
|
|
|
|
2003-08-24 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : XsdDecimal.TokenizedType should be None.
|
|
* XmlSchemaCollection.cs : Add(uri) should not reject chameleon schema.
|
|
Add() should compile specified schema.
|
|
|
|
2003-08-08 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added XsdAnyURI,
|
|
XsdDateTime, XsdDate, XsdTime.
|
|
|
|
2003-08-07 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatypes.cs : Fixed whitespace facet in XsdToken.
|
|
Tokenized type of nmtokens and entities is string [].
|
|
* XmlSchema.cs : Changed IsCompile implementation a bit.
|
|
Compile() should reset compiled contents.
|
|
* XmlSchemaDatatype.cs : Fixed collapsing Normalize().
|
|
* XmlSchemaObject.cs : added CompilationId initialization.
|
|
|
|
2003-08-05 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSchema.cs: Set IsCompiled to true after compiling.
|
|
In Compile(): ignore included schemas that do not have a value
|
|
in SchemaLocation. It means that FindElement can return null
|
|
if the referred schema was ignored. Added check for that case.
|
|
Compile schema after reading it.
|
|
* XmlSchemaCollection.cs: The targetNamespace of a schema may
|
|
be null. Make XmlSchemaCollection work for this case.
|
|
* BuiltInDataType.cs, XmlSchemaDataType.cs: added new primitive
|
|
types: float, base64Binary, boolean.
|
|
|
|
2003-08-02 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchema.cs :
|
|
- Changed missingElementTypeRefs from Hashtable to ArrayList.
|
|
- Added internal XmlSchemas for keeping imported schemas.
|
|
- Added private Compile() that takes the original rootSchema and
|
|
schema location stack for nested inclusion check.
|
|
- Added basic xs:import and xs:include support.
|
|
- Compile() is now aware of included XmlSchemaObject items.
|
|
- Changed Compile() to fill missing elements' types and that of
|
|
referencing elements.
|
|
- Read() now adds SourceUri property (although only to itself).
|
|
* XmlSchemaCollection.cs : Implemented Add().
|
|
* XmlSchemaCollectionEnumerator.cs :
|
|
Changed .ctor() to use schema collection as its argument.
|
|
Fixed Current to return hashtable's Value, instead of Current
|
|
(which returns DictionaryEntry).
|
|
* XmlSchemaComplexType.cs :
|
|
Added internal static AnyType.
|
|
Compile() is now searches for its base type into other schemas.
|
|
* XmlSchemaElement.cs : anyType is supported.
|
|
It now searches for type information after Compile().
|
|
SetReferedElementInfo() is now changed to SetSchemaType().
|
|
* XmlSchemaObjectTable.cs :
|
|
It had problems similar to schema collection. Now it uses internal
|
|
class XmlSchemaObjectTableEnumerator to support GetEnumerator().
|
|
* XmlSchemaParticle.cs : added internal class XmlSchemaParticleEmpty
|
|
and internal static Empty.
|
|
|
|
2003-07-26 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs : XsdIDRefs.ParseValue () should be implemented.
|
|
* XmlSchemaDatatype.cs : public Whitespace and protected Normalize()
|
|
should be internal.
|
|
|
|
2003-07-24 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchema.cs : Read() now uses XmlSerializer.Deserialize().
|
|
|
|
2003-07-21 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchema.cs, XmlSchemaElement.cs :
|
|
added internal MissingElementTypeRefs and support for refering
|
|
element's elementType.
|
|
|
|
2003-07-20 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchema.cs : added support for collecting missing type references
|
|
at compilation-time.
|
|
* XmlSchemaType.cs, XmlSchemaComplexType.cs, XmlSchemaSimpleType.cs:
|
|
- Renamed qName to QNameInternal.
|
|
- Added BaseSchemaType and ContentTypeParticle support.
|
|
|
|
2003-07-19 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotated.cs,
|
|
XmlSchemaAnnotation.cs, XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs,
|
|
XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs,
|
|
XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs,
|
|
XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
|
|
XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
|
|
XmlSchemaElement.cs, XmlSchemaGroup.cs, XmlSchemaGroupRef.cs,
|
|
XmlSchemaIdentityConstraint.cs, XmlSchemaImport.cs,
|
|
XmlSchemaInclude.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs,
|
|
XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaRedefine.cs,
|
|
XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
|
|
XmlSchemaSimpleContentExtension.cs,
|
|
XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
|
|
XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs,
|
|
XmlSchemaSimpleTypeUnion.cs, XmlSchemaUnique.cs,
|
|
XmlSchemaXPath.cs,
|
|
As to Compile() and Validate(),
|
|
- Added CompilationId and check it while compiling schema components.
|
|
- Code refactory. Replaced literal xmlns with XmlSchema.Namespace
|
|
- Replaced XmlSchemaInfo with compiling XmlSchema itself (XmlSchema
|
|
also has PSVI components inside it, so passing itself seems enough).
|
|
- Related to above change, IDCollection was moved to XmlSchema, and
|
|
blockDefault/finalDefault/blockResolved/finalResolved resolution
|
|
was changed to reference only to schema.BlockDefault/FinalDefault.
|
|
- The similar change has done against XmlSchemaForm related stuff.
|
|
- Changed compilation order of schema type definitions (it is
|
|
workaround). First it compiles types, and then it compiles others.
|
|
* XmlSchemaElement.cs : added ElementType PSVI contribution support.
|
|
|
|
2003-07-19 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatypes.cs, XmlSchemaDatatype.cs :
|
|
Added decimal and its derived datatypes.
|
|
Added abstract XsdAnySimpleType.
|
|
|
|
2003-07-15 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* BuiltInDatatype.cs,
|
|
XmlSchemaDatatype.cs : added unsignedByte type support.
|
|
|
|
2003-07-14 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSchemaDatatype.cs: Fixed compiler warning.
|
|
|
|
2003-07-12 Atsushi Enomoto <[email protected]>
|
|
|
|
* BuiltInDatatype.cs,
|
|
XmlSchemaDatatype.cs : added NOTATION type support.
|
|
|
|
2003-07-06 Atsushi Enomoto <[email protected]>
|
|
|
|
* added BuiltInDatatype.cs.
|
|
* XmlSchemaDatatype.cs : [GetType()] added support for some
|
|
built-in datatypes.
|
|
|
|
2003-05-05 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaAnnotation.cs : It depended on incorrect ReadNode().
|
|
|
|
2003-02-19 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSchemaAnnotation.cs : expect the correct closing tag on <appinfo>
|
|
and <documentation> elements. (patch by Peter Pentchev)
|
|
* XmlSchemaObjectEnumerator.cs : cast properly to XmlSchemaObject
|
|
instead of XmlSchema. (patch by Peter Pentchev)
|
|
|
|
2002-07-23 Duncan Mak <[email protected]>
|
|
|
|
* XmlSchemaException.cs: Partiall implement the ISerializable
|
|
methods. It's not clear now SourceSchemaObject should be deserialized.
|
|
|
|
2002-07-22 Tim Coleman <[email protected]>
|
|
* XmlSchema.cs: Removed isCompiled which is defined as internal
|
|
in XmlSchemaObject.
|
|
|
|
2002-06-18 Dwivedi, Ajay kumar <[email protected]>
|
|
|
|
* XmlSchema: Started work on Validate methods
|
|
|
|
2002-06-18 Dwivedi, Ajay kumar <[email protected]>
|
|
* XmlSchema: The Read and Write methods are no more [MonoTODO] :)
|
|
|
|
* XmlSchemaAppInfo: Xml Markup is now being read.
|
|
|
|
* XmlSchemaDocumentation: Xml Markup is now being read.
|
|
|
|
* All: Unhandled attributes are being handled properly.
|
|
|
|
* All: Reordered the properties in all cs files to match with MS
|
|
Implementation. This was required since the order is importatnt
|
|
for the XmlSerializer.
|
|
|
|
2002-06-14 Dwivedi, Ajay kumar <[email protected]>
|
|
* General: Fixed a few more Bugs
|
|
|
|
2002-06-10 Dwivedi, Ajay kumar <[email protected]>
|
|
* XmlSchemaReader: A Wrapper class around XmlReader with customized
|
|
methods to suit reading a schema.
|
|
* General: Implemented Read() method for the schema. There are only
|
|
a few minor bugs remaining.
|
|
|
|
2002-05-25 Dwivedi, Ajay kumar <[email protected]>
|
|
* BUGS.txt: New file to keep track of bugs
|
|
|
|
* ALL: All classes are initialized exactly as in .NET except
|
|
1. inclusion of language attribute in schema
|
|
2. ComplexContent's Particle is initialized to null whereas .NET
|
|
to some internal implementation. IMO Null is more appropriate
|
|
|
|
* ALL: Changed the Compile methods to return the count of errors.
|
|
|
|
* ALL: Complile methods are almost complete. Pass 1453 of 3061 tests.
|
|
This number should shoot up if we write a parser to read the
|
|
Schema instead of using reflection (which is slower too)
|
|
|
|
2002-05-04 Dwivedi, Ajay kumar <[email protected]>
|
|
* XmlSchemaUtil.cs: New file added.
|
|
|
|
* Parser.cs: New file Added. Unused at the moment.
|
|
|
|
* XmlSchemaObjectCollection: Fixed GetEnumerator
|
|
|
|
* General: Preprocessing for Attributes and SimpleTypes completed.
|
|
|
|
2002-04-26 Duncan Mak <[email protected]>
|
|
|
|
* ValidationHandler.cs: New file.
|
|
|
|
* XmlSchemaInfo.cs: New file.
|
|
|
|
* *.cs: More updates from Ajay.
|
|
|
|
2002-03-27 Duncan Mak <[email protected]>
|
|
|
|
* *.cs: Updates from Ajay Dwivedi <[email protected]>.
|