* XmlSchemaSet.cs (XmlSchemaSet.XmlResolver): Mark this as
not CLS-compliant to avoid a CS3025.
* XmlSchemaType.cs (XmlSchemaType.ValueConverter): Mark this as
not CLS-compliant to avoid a CS3025.
svn path=/trunk/mcs/; revision=39448
* XmlSchema.cs : XmlSchema.Write() should not write duplicating
top-level entry in XmlSerializerNamespaces and XmlNamespaceManager.
This fixes some DataSet bugs.
svn path=/trunk/mcs/; revision=39024
* xmlschemagen.config,
XmlSchemaSerializer.cs : replacement of CustomSerializer.cs which was
based on genxs but manually modified.
* CustomSerializer.cs : removed.
2004-01-17 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : replaced CustomSerializer with
XmlSchemaSerializer.
Replaced XmlNodeReader with XmlNodeReaderImpl.cs and
XmlNodeReader2.cs. (dispatches entity reader and non-entity reader.)
svn path=/trunk/mcs/; revision=39005
* XmlSchema.cs : XmlResolver.ResolveUri() may return null.
* XmlParserContext.cs : all the string properties must not be set as
null. Thanks to Joshua.
* XmlTextReader.cs,
DTDObjectModel.cs,
DTDReader.cs : XmlResolver.ResolveUri() may return null.
* XsdValidatingReader.cs : XmlResolver.ResolveUri() may return null.
* XslFunction.cs,
Compiler.cs : XmlResolver.ResolveUri() may return null.
svn path=/trunk/mcs/; revision=38084
* XsdParticleValidationState.cs :
Removed some unused or unnecessary members. Readonlify some members.
Added GetExpectedParticles(ArrayList) and overriden in all state
types, which is used in XmlSchemaValidator.GetExpectedParticles().
* XmlSchemaValidator.cs : implemented GetExpectedParticles() and
SkipToEndElement ().
svn path=/trunk/mcs/; revision=37823
* xsdtest.cs : added --v2 option that uses XmlReader.Create()
instead of XmlValidatingReader.
* XmlFilterReader.cs : don't expect XmlReaderSettings of its source.
* XmlSchemaValidatingReader.cs : xsi:* attributes are now handled via
XmlSchemaValidator.ValidateElement().
Removed some obsolete overrides.
* XmlReader.cs :
Create() should assure NameTable!=null on creating XmlTextReader.
Now use XmlSchemaValidatingReader for all xsd validation.
* XmlTextReader2.cs :
Don't use input reader's Settings. It is null.
* XmlReaderSettings.cs : added XmlResolver.
* XmlSchemaSet.cs : set default resolver. Clear components before
recompilation.
* XmlSchemaValidator.cs :
SourceUri is System.Uri.
GetUnspecifiedDefaultAttributes() is allowed only when it is inside
start tag.
Added AddSchema().
Added duplicate attribute check.
Added ValidateElement() that takes xsi:* parameters.
(http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackId=7fc38ea1-c306-4fb7-8631-0e174b0ff3c6)
HandleXsiNil() now just takes string parameter.
svn path=/trunk/mcs/; revision=37782
* System.Xml.dll.sources : added XmlSchemaValidatingReader.
* XmlSchemaValidatingReader.cs : new file; another XmlReader
implementation that handles XSD validation. It is an reference
application for XmlSchemaValidator.
* XsdValidatingReader.cs : Use readerLineInfo for IXmlLineInfo.
* XmlReaderSettings.cs : XsdValidate and DtdValidate are now
ValidationType.
* XmlReader.cs : In Create(), use XmlSchemaValidatingReader for xsd
validation.
* XmlSchemaValidator.cs : implemented basic validation feature.
svn path=/trunk/mcs/; revision=37739
* XsdIdentityState.cs : use validation exception for 2.0.
ProcessMatch() does not have to return bool. Use break and continue
and reduced indentation.
* XsdValidatingReader.cs : use validation exception for 2.0.
Added new XsdIDManager class and id handling is delegated to it.
XmlQualifiedName -> QName. AssessElementLocallyValidElement() does
not need XmlSchemaElement (it is context). Moved some static
methods to XmlSchemaUtil.cs. Collected key constraints stuff to a
region.
* XmlSchemaUtil.cs : added FindAttributeDeclaration() and
AttributeWildcardItemValid().
svn path=/trunk/mcs/; revision=37724
* XmlSchemaElement.cs,
XmlSchemaComplexType.cs,
XmlSchema.cs,
XmlSchemaChoice.cs,
XmlSchemaSimpleType.cs,
XmlSchemaObjectTable.cs,
XmlSchemaObjectCollection.cs,
XmlSchemaCollection.cs,
: All changes are just for warning removal.
svn path=/trunk/mcs/; revision=36586
* XmlSchemaDatatype.cs : added ParseValue() override.
* XmlSchemaSimpleTypeList.cs,
XmlSchemaSimpleTypeUnion.cs : #if NET_2_0 some private fields,
just for eliminating warnings :(
* XmlSchemaSet.cs : commented some fields currently not in use.
It is for eliminating warnings.
* XmlSchemaSimpleTypeRestriction.cs : removed exception field name
to eliminate warning.
* XmlSchemaException.cs : hasLineInfo is also runtime serialized now.
svn path=/trunk/mcs/; revision=36464
* XmlSchemaException.cs : Message is only 1.x (not 2.0).
* XmlSchemaInference.cs : use more static readonly QName fields.
Type merge inference now traverses every base types.
* XmlSchemaInfo.cs : added new file.
svn path=/trunk/mcs/; revision=36359
* XmlSchemaCollection.cs : obsolete.
* XmlSchemaInference.cs :
Fixed typo in enum. It is still MonoTODO. Reformatted code a bit.
svn path=/trunk/mcs/; revision=36238
* XmlSchemaAttribute.cs : AttributeSchemaType could be determined on
compilation time. AttributeType is obsolete.
* XmlSchemaElement.cs : ditto for ElementSchemaType and ElementType.
svn path=/trunk/mcs/; revision=35447
* XmlSchemaComplexType.cs : added LocalElements, with the description
why it can never be correct implementation.
* XmlSchemaUtil.cs : use IHasXmlParserContext.
svn path=/trunk/mcs/; revision=35436
* XmlSchemaSimpleTypeUnion.cs : Added 2.0 BaseMemberTypes property
(this property name is also ambiguous and should be changed too.)
svn path=/trunk/mcs/; revision=35433
* XmlSchemaSimpleTypeList.cs : Added 2.0 BaseItemType property (BTW
this property name is really ambiguous and should be changed.)
svn path=/trunk/mcs/; revision=35432
* BuiltInDatatype.cs, SchemaDataValueType.cs :
ParseValue() for xs:AnyURI should return System.Uri. MS.NET returns
XmlSchemaUri, but it is derived from System.Uri, while ours was not.
svn path=/trunk/mcs/; revision=33963
* XmlSchema.cs : When schema inclusion results in a recursion, just
skip recursed schema.
* BUGS-MS.txt : added another entry. Reflected response from Microsoft.
svn path=/trunk/mcs/; revision=33258
* XmlSchemaSimpleType.cs : Fill list types such as xs:IDREFS.
* XmlSchemaType.cs :
Fixed TypeCode more (broken on predefined list types and xs:anyType).
svn path=/trunk/mcs/; revision=32810
* XmlSchema.cs : Replace XmlSchemaCollection with XmlSchemaSet that
used to maintain compiled schema state.
Simplified code a bit (Include processing).
Set IsCompiled = true only when successfully compiled.
* XmlSchemaCollection.cs : Now it totally delegates its processing
to XmlSchemaSet. Removed unused methods.
* XmlSchemaElement.cs : Added post-compiled information initializer
method, and call it before (re)Compile().
* XmlSchemaSet.cs :
- Replaced internal store from Dictionary to List, since schema
resources for one target namespace can be more than one (that's why
- Schemas(string targetNamespace) returns ICollection).
- Now global schemaset members are added per schema addition (it is
more MS compatible than before).
- Use GetSafeNs() to do targetNamespace comparison correctly.
XmlSchemaSet looks still unstable, so it will be changed again.
* XmlSchemaSimpleTypeRestriction.cs,
XmlSchemaSimpleTypeUnion.cs,
* XmlSchemaUtil.cs : Consider xdt namespace.
svn path=/trunk/mcs/; revision=32143