* 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
* XsdIdentityState.cs : Fixed bug #78985. If there are two identical
field path "@key" in two different keys where one is in scope
within another, it incorrectly matched the attribute whose name
is same but in different element hierarchy (depth).
* XmlSchemaTest.cs : added bug #78985 case.
* 78985.xsd, 78985.xml : test for bug #78985.
svn path=/trunk/mcs/; revision=63338
* xsdtest.cs :
It has been running some extra instance validation and reporting
errors where a schema is invalid and therefore no instance
validation could be done.
Now --reportsuccess works fine for tests that should fail (reports
"OK" when it successfully failed).
svn path=/trunk/mcs/; revision=63040
* XmlSchemaCollection.cs :
eliminated call to XmlSchema.CompileSubset(). Now XmlSchemaSet is
the only starter of the compilation.
* XmlSchemaSet.cs : added targetNamespace check.
* XmlSchemaSetTests.cs : added AddWrongTargetNamespace().
svn path=/trunk/mcs/; revision=63026
* XmlSchema.cs : mutual schema import was failing because the
compiling schema's SourceUri was not enlisted for nest check.
* XmlSchemaTests.cs : added TestSimpleMutualImport().
* inter-inc-1.xsd, inter-inc-2.xsd :
new test files for TestSimpleMutualImport().
svn path=/trunk/mcs/; revision=62941
* XmlSchema.cs : seems like there is XmlSchemaExternal.Schema property
that is filled after Compile(). Fixed bug #77687.
* XmlSchemaTests.cs : added test for bug #77687.
* 77687.xsd, 77687inc.xsd : test for bug #77687.
svn path=/trunk/mcs/; revision=57495
* XmlSchemaAppInfo.cs, XmlSchemaDocumentation.cs : seems like MS
implementation fills empty node set for empty xs:appinfo and
xs:documentation and waste memory. Fixed bug #77685.
* XmlSchemaTests.cs : added test for bug #77685.
svn path=/trunk/mcs/; revision=57481
* XmlSchemaBuiltInDatatypeTests.cs: Set eol-style to CRLF.
* XmlSchemaCollectionTests.cs: Set eol-style to native. Fixed line
endings.
* XmlSchemaDatatypeTests.cs: Set eol-style to native.
* XmlSchemaExceptionCas.cs: Set eol-style to native.
* XmlSchemaLengthFacetTests.cs: Set eol-style to CRLF.
* XmlSchemaSetTests.cs: Set eol-style to native.
* XmlSchemaTests.cs: Set eol-style to native.
* XmlSchemaTypeTests.cs: Set eol-style to native.>
svn path=/trunk/mcs/; revision=57418
and report XmlSchemaException when compiling XmlSchema with
zero-length TargetNamespace. Fixes bug #77391.
* XmlSchemaTests.cs: Added test for writing XmlSchema with
zero-length TargetNamespace. Added test for compiling XmlSchema
with zero-length TargetNamespace. Replaced Console.WriteLine with
AssertEquals.
svn path=/trunk/mcs/; revision=57415
* BuiltInDatatype.cs : anyURI could be such relative path that
contains ':' in the middle. It also affects on relaxng validation.
* XmlSchemaDatatypeTests.cs : added two more anyURI tests.
svn path=/trunk/mcs/; revision=56373
* System.Xml_test.dll.sources : added XmlSchemaTypeTests.cs.
* XmlSchemaTypeTests.cs : new file. Test for TypeCode.
* XmlSchemaSetTests.cs : added more tests for Add() and marked one as
NotWorking (we need info on how consistent this method is).
svn path=/trunk/mcs/; revision=55309
* XmlAtomicValue.cs : it won't be implemented since there is no way
to test it inside sys.xml. Thus remarked MonoTODO.
* XmlSchemaDatatype.cs : implemented IsDerivedFrom(), which is however
mostly useless.
* XmlSchemaDatatypeTests.cs : added test for 2.0 IsDerivedFrom().
svn path=/trunk/mcs/; revision=55290
* XmlSchemaSet.cs : Add() rollbacks IsCompiled to false.
Global components are not added when Add() is called.
* XmlSchemaSetTests.cs : added AddRollbackIsCompiled(); Add() changes
IsCompiled to false.
svn path=/trunk/mcs/; revision=55151
* XmlSchemaSet.cs : Add() needs (consistent) namespace duplicate check.
* XmlSchemaSetTests.cs : re-enabled test for Add() which was
inconsistent in beta versions.
svn path=/trunk/mcs/; revision=55145
* XmlSchemaSet.cs :
Turned out that it also has set_CompilationSettings.
* XmlSchemaComplexType. : thus CompilationSettings is nullable, we
have to check its existence.
* XmlSchemaSetTests.cs : added set_CompilationSettings tests.
svn path=/trunk/mcs/; revision=54098
* XmlSchemaSequence.cs : when a subcomponent is not optional
(minOccurs!=0) then it should clean previous components up.
Really fixed bug #76865.
* XmlSchemaTests.cs :
Additional schema component to finish #76865 test.
* Makefile : Use MONO_PATH. Remove extraneous make variables.
svn path=/trunk/mcs/; revision=53748
* XmlValueGetter.cs, XmlSchemaValidator.cs, XmlSchemaException.cs,
XmlSchemaAttribute.cs : Updated API to match 2.0 RTM. Most of the
changes are related to XmlValueGetter change.
* XsdValidatingReader.cs, XmlSchemaValidatingReader.cs,
XsdIdentityState.cs :
Dependent changes caused by XmlValueGetter changes.
* xsdtest.cs : updated to match 2.0 RTM API.
svn path=/trunk/mcs/; revision=52650
* XmlSchemaTests.cs : some namespace output strategy seems changed
in .NET 2.0 and they still make sense, so just mark them as
NotDotNet and NotWorking under 2.0.
svn path=/trunk/mcs/; revision=52096
* XmlSchema.cs : XmlReader position after Read() is the end of the
schema element.
* XmlSchemaTests.cs : test for reader position after Read().
svn path=/trunk/mcs/; revision=51030
* XmlSchemaCollection.cs, XmlSchemaCollectionEnumerator.cs :
GetEnumerator() was not in sync with the internal change to
XmlSchemaSet. Fixed bug #75126. Patch by Crestez Leonard.
* XmlSchemaCollectionTests.cs : added test for #75126.
svn path=/trunk/mcs/; revision=45801
* XmlSchemaTests.cs : just set NotWorking for trivial comparison tests.
* XmlReflectionImporterTests.cs : set NotWorking for trivial empty
string comparison.
* MsxslScriptTests.cs,
XslTransformTests.cs : set NotWorking for msxsl:script tests (they
premise runnable compilers existence which actually might not exist.)
svn path=/trunk/mcs/; revision=41273
* XmlSchemaTests.cs: Use less strict test. Probably the order of the
namespaces is not required to be in any particular order.
svn path=/trunk/mcs/; revision=39793
* 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
* xsdtest.cs : improved significantly. Enabled reporting to file,
immediate stop on exception, xml reporting, and so on.
Run mono xsdtest.exe --help for details.
* Makefile : now "make test" becomes "make run-test" and it generates
TestResult.xml (of my own format).
* README : updated info.
svn path=/trunk/mcs/; revision=37548
* XmlSchemaBuiltInDataypeTests.cs : 'Z' is not allowed here (maybe it
is 'T' that was wanted). More kind error message in Fail().
svn path=/trunk/mcs/; revision=27956
* Makefile : made "make test" independent of "make" so that extraneous
archive extraction won't be run every time (for automated tests).
svn path=/trunk/mcs/; revision=23706
* Added set of Post Schema Compilation Information tests, i.e.
xs-psci-compare.cs and psci-ms-all.zip.
* Makefile: Added test-psci target.
* README: Added notes on PSCI tests (however it is not for today's
implementation, but for the very near future with bunch of fixes)
svn path=/trunk/mcs/; revision=22290