* XmlSchemaComplexType.cs : quick fix for bug #584664. Fill base
content type particles in prior to filling its own.
* XmlSchemaValidatorTests.cs : added test for bug #584664.
* 584664b.xsd, 584664a.xml, 584664b.xml, 584664a.xsd: new test files
by Florian Haag.
svn path=/trunk/mcs/; revision=153559
* XmlAtomicValue.cs: handle Decimal here to process xs:decimal as
a valid base type for simple types. patch by Luke Ravitch,
Fixed bug #557452.
* XmlSchemaValidatorTests.cs : added test for bug #557452, by
Luke Ravitch.
svn path=/trunk/mcs/; revision=150280
* XmlSchemaSet.cs : when adding a schema with "", it seems treated
as if it were null. Fixed bug #571650.
* XmlSchemaSetTests.cs : added test for bug #571650.
svn path=/trunk/mcs/; revision=150187
* XmlSchemaAssertion.cs, XmlSchemaTests.cs : migrate from Assertion
to Assert (it still uses XmlSchemaAssertion as the base class,
but XmlSchemaAssertion is not based on Assertion anymore).
svn path=/trunk/mcs/; revision=136714
* XmlAtomicValue.cs : support more type conversion. fixed bug #501666.
* XmlSchemaValidatorTests.cs : added test for bug #501666.
svn path=/trunk/mcs/; revision=133903
* XmlSchemaValidator.cs : quick fix for bug #496205. Reset xsi:type
and endelement.
* XmlSchemaValidatorTests.cs : added test for bug #496192 and #496205.
* 496192.xml, 496192.xsd : new test files.
svn path=/trunk/mcs/; revision=132351
* XmlSchemaValidator.cs : when xsi:nil is true, do not validate
text string. Fixed bug #469713.
* XsdValidatingReader.cs : when xsi:nil is true, do not validate
text string.
* XmlSchemaValidatorTests.cs : added test for bug #469713.
svn path=/trunk/mcs/; revision=125069
* XmlSchema.cs, XmlSchemaSet.cs : move substitutionGroup processing
from validation phase to post-subset-collection phase. It caused
inconsistent substitutionGroup processing among import and
schemaSet.Schemas(). Fixed possible XBRL schema processing.
* XmlSchemaSetTests.cs : added test for Compile() after "duplicating"
call to Add() for such schemas that also have xs:import of the
same schema that causes errors on processing substitutionGroup.
svn path=/trunk/mcs/; revision=121509
* XmlSchemaValidator.cs : do not try to validate CloseStartElement
when it should be skipped. Fixed bug #422581.
* XmlSchemaValidatorTests.cs : added test for bug #422581.
* 422581.xsd, 422581.xml : new files.
svn path=/trunk/mcs/; revision=112583
* XmlSchema.cs : fixed bug #397612, patch by James Fitzsimons.
in ProcessExternal(), Make xs:import without schemaLocation work
fine as if it were with schemaLocation.
2008-06-06 James Fitzsimons <[email protected]>
* XmlSchemaTests.cs: added test for bug #397612.
* XmlSchemaAssertion.cs : make sure to close schema XmlReader.
2008-06-06 Atsushi Enomoto <[email protected]>
* importNamespaceTest.xsd, xsdimporttest.xml, importedNamespace.xsd:
new test files.
svn path=/trunk/mcs/; revision=105144
* XmlSchema.cs : Changed GetResolvedUri to return Uri in correct case
to make compatible with the Microsoft.NET framework.
* XmlSchemaTests.cs: added test to support change to
GetResolvedUri to return Uri in correct case
to make compatible with the Microsoft.NET framework.
2008-06-06 Atsushi Enomoto <[email protected]>
* resolveUriSchema.xsd : (actually I've incorrectly added it before
the actual test checkin) Fixed schemaLocation.
svn path=/trunk/mcs/; revision=105141
* XmlSchema.cs : Do recursively process xs:include inside included
schemas. Fixed bug #361818.
* XmlSchemaTests.cs: added test for bug #361818.
* 361818.xsd, 361818-2.xsd, 361818-3.xsd : new test files.
* Makefile : extra distfiles (361818*.xsd).
svn path=/trunk/mcs/; revision=96159
* XmlSchemaValidator.cs : added couple of null argument check.
Do not depend on XmlSchemaInfo to retrieve attribute value (it
could be null).
Do not practically validate attribute when it is not in validating
state (i.e. inside xs:any). Fixed bug #358408.
* XmlSchemaValidatorTests.cs : new. Test for bug #358408.
* 358408.xsd : new test file.
* System.Xml_test.dll.sources : added XmlSchemaValidatorTests.cs.
* Makefile : extra distfiles (358408.xsd).
svn path=/trunk/mcs/; revision=94729
* 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
* 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
* 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