* XmlSchemaComplexType.cs : do not forget to clear attributes
before Compile(). Patch by Jonas Larsson. Fixed bug #501763.
* XsdValidatingReaderTest.cs : test for bug #501763 by Jonas Larsson.
svn path=/trunk/mcs/; revision=133905
* XsdValidatingReader.cs : skip text validation under xs:any.
Fixed part of bug #449512.
* XmlSchemaValidator.cs : skip text validation under xs:any.
* XmlValidatingReaderTests.cs : added test for validating mixed
element under xs:any.
svn path=/trunk/mcs/; revision=121093
* XsdParticleValidationState.cs : a choice with only empty particle
children is emptiable. Fixed bug #376395.
* XsdValidatingReaderTests.cs : added test for bug #376395.
* 376395.xml, 376395.xsd : new test files.
* Makefile : extra distfiles (376395.xml, 376395.xsd).
svn path=/trunk/mcs/; revision=99679
* XmlSchemaValidator.cs : XmlValueGetter actually needs string value
to validate against a restricted simple type (beyond ParseValue()).
Fixed bug #339934.
* XsdValidatingReaderTests.cs : added test for #339934.
in Test/System.Xml.Schema/standalone_tests:
* Makefile : now we try both default and 2.0 profile tests (i.e.
"make run-test" and "make PROFILE=net_2_0").
For 2.0, use XmlReader.Create().
svn path=/trunk/mcs/; revision=89432
* XsdValidatingReader.cs : r68046 didn't really fix the issue.
Enabled the actual fix. and fixed bug #336625.
* XsdValidatingReaderTests.cs : added test for #336625.
* 336625.xsd : new test file.
* Makefile : extra distfiles (336625.xsd).
svn path=/trunk/mcs/; revision=88537
* XmlSchemaComplexType.cs,
XmlSchemaComplexContentRestriction.cs :
in Validate(), every descendant item in complexType must be first
validated before getting GetOptimizedParticle(), or it could result
in wrong content particle. Fixed bug #82010.
* XsdValidatingReaderTests.cs : test for bug #82010.
* 82010.xsd, 82010.xml : new test files.
* Makefile : extra distfiles (82010.xml/.xsd).
svn path=/trunk/mcs/; revision=83272
* XmlSchemaValidator.cs : another extra whitespace rejection.
Fixed another issue reported on bug #82183.
* XsdValidatingReaderTests.cs : another test posted on bug #82183.
svn path=/trunk/mcs/; revision=83264
* XsdValidatingReader.cs : Process empty and element-only contents
differently along with the spec 3.4.4 Element Locally Valid (Complex
Type) 2.3 (and 2.1 respectively). Itchy specification indeed.
This demanded not a few internal changes. Fixed bug #82099.
* XmlSchemaValidator.cs : dependent changes to
XsdParticleValidationState. Changed ValidateWhitespace() to do
the same as we do in XsdValidatingReader.
* XsdValidatingReaderTests.cs : added test for bug #82099.
svn path=/trunk/mcs/; revision=82098
* XmlSchemaValidatingReader.cs : nsResolver field must be initialized.
Fixed bug #81460.
* XsdValidatingReaderTests.cs : added test for bug #81460.
svn path=/trunk/mcs/; revision=76376
* XmlSchema.cs XmlSchemaGroup.cs XmlSchemaAny.cs XmlSchemaElement.cs
XmlSchemaNotation.cs XmlSchemaComplexType.cs
XmlSchemaAttributeGroup.cs XmlSchemaSimpleType.cs
XmlSchemaIdentityConstraint.cs XmlSchemaAnyAttribute.cs
XmlSchemaRedefine.cs XmlSchemaAttribute.cs :
avoid incorrect compilation of included schemas, fixed bug #81360.
more fix for wrong targetNamespace propagation within current
processing model. Replaced ParentIsSchema field with a property.
* XsdValidatingReaderTests.cs : added test for bug #81360.
* 81360.xsd, 81360inc1.xsd, 81360inc2.xsd : new test files.
* Makefile : added distfiles.
svn path=/trunk/mcs/; revision=76184
* XsdValidatingReader.cs : when ValidationType is None, it does not
load external schemas. Fixed bug #79924.
* XmlReaderSettingsTests.cs : added test for bug #79224; it does not
load external schemas when validation mode is none.
svn path=/trunk/mcs/; revision=68046
* XmlSchemaValidator.cs : it must also be fixed for method signature
change.
* XmlSchemaSimpleTypeRestriction.cs : on .NET 2.0, use
IXmlNamespaceResolver for XmlSchemaValidator.
* XsdValidatingReaderTests.cs : the previous test raises different
exception in 2.0.
svn path=/trunk/mcs/; revision=67032
* XsdValidatingReader.cs : Fixed bug #79650. Enumeration facet was
not validated for attributes. Also, simple type restriction should
require namespace manager to resolve QNames.
* XmlSchemaSimpleTypeRestriction.cs : for facet validation, it should
use namespacemanager. Though the change is not perfect, thus I
disable this change for now.
* XmlValidatingReaderTests.cs : added bug #79650 case.
* 79650.xsd : added test for bug #79650.
* Makefile : added 79650.xsd to dist file.
svn path=/trunk/mcs/; revision=67031
* XmlValidatingReader.cs : In ReadTypedValue(), treat Whitespace
nodes as target string nodes as well as other text nodes.
* XsdValidatingReader.cs :
Don't use normalized string as input to AssessStringValid(). It
incorrectly invalidates strings against simple types with length-
related facets.
Now that we don't ignore whitespaces, we need to explicitly allow
pure whitespace texts in ElementOnly/Empty model.
* XmlSchemaSimpleTypeRestriction.cs : maxLength and minLength were
likely to be ignored in ValidateNonListValueWithFacets().
* XmlSchemaValidator.cs : Don't use normalized string value as the
input to AssessStringValid().
* XsdValidatingReaderTests.cs : test for ReadTypeValue() that it
does not ignore whitespace nodes, and it does not normalize string
incorrectly.
svn path=/trunk/mcs/; revision=55129
* XmlValidatingReader.cs : ReadTypedValue() was not working with
non-XmlSchemaDatatype types.
* XsdValidatingReaderTests.cs : test for ReadTypeValue() with simple
type restriction.
svn path=/trunk/mcs/; revision=55127
* XsdValidatingReader.cs : Fixed the bug that only the last
* schema
URL in a schemaLocation was processed. Patch by Vorobiev
Maksim.
* XsdValidatingReaderTests.cs : test for multi URLs in
schemaLocation. Test by Vorobiev Maskim.
* multi-schemaLocation.xml,
x-net-config-storage-factory-provider-schema.xsd,
x-net-config-schema.xsd :
test support files for XsdValidatingReaderTests
.MultipleSchemaInSchemaLocation() by Vorobiev Maskim.
svn path=/trunk/mcs/; revision=54848
* DTDValidatingReader.cs : Namespace manager was not handled correctly.
Now it does the same as XmlTextReader does. Fixed bug #76234.
* XmlValidatingReaderTests.cs : added test for bug #76234.
svn path=/trunk/mcs/; revision=50782
* XsdValidatingReader.cs : when xsi:schemaLocation could not be
resolved, it still does not raise error when corresponding schema
already exists.
* XsdValidatingReaderTests.cs : added test case for duplicating
assignment of both Schemas.Add() and xsi:schemaLocation where
schemaLocation could not be resolved.
svn path=/trunk/mcs/; revision=47803
* XsdValidatingReaderTests.cs : Ignore TestNamespaceFalse(). It is not
kind of thing that should be supported.
* XmlValidatingReaderTests.cs : commented a bit.
svn path=/trunk/mcs/; revision=27238
* XmlDocumentTypeTests.cs : Added IncorrectInternalSubset().
* XmlNodeTests.cs : Since .NET 1.1 also prohibits multiple document
element, removed extraneous test switch for InsertBefore().
* XsdParticleValidationTests.cs,
XsdValidatingReaderTests.cs : These test class names are too
ambiguous so just renamed them. (No bug reports are found on them,
but should be warned in the meantime.)
svn path=/trunk/mcs/; revision=22568