Commit Graph
23 Commits
Author SHA1 Message Date
Atsushi Eno 5c86dd6fa0 2008-06-06 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : fix file path.


svn path=/trunk/mcs/; revision=105158
2008-06-06 14:35:52 +00:00
Atsushi Eno 13bc5269f3 2008-06-06 Atsushi Enomoto <[email protected]>
* 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
2008-06-06 10:07:22 +00:00
Atsushi Eno 6ae0c56558 2008-06-06 James Fitzsimons <[email protected]>
* 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
2008-06-06 07:39:58 +00:00
Atsushi Eno 5691ba237b 2008-02-19 Atsushi Enomoto <[email protected]>
* 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
2008-02-19 15:59:12 +00:00
Atsushi Eno 8ae9f1becb 2006-08-04 Atsushi Enomoto <[email protected]>
* 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
2006-08-04 06:35:17 +00:00
Atsushi Eno 5853e3c5ed 2006-07-25 Atsushi Enomoto <[email protected]>
* 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
2006-07-25 03:19:21 +00:00
Atsushi Eno 1d1f53e9b4 2006-03-02 Atsushi Enomoto <[email protected]>
* 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
2006-03-02 03:15:05 +00:00
Atsushi Eno f082c47627 2006-03-01 Atsushi Enomoto <[email protected]>
* 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
2006-03-01 19:51:56 +00:00
Gert Driesen 181d10350c * XmlSchema.cs: Do not define namespace for zero-length TargetNamespace
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
2006-02-28 19:18:36 +00:00
Atsushi Eno e4febe6ede 2005-12-01 Atsushi Enomoto <[email protected]>
* 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
2005-12-01 06:16:29 +00:00
Atsushi Eno 906d303f75 2005-12-01 Atsushi Enomoto <[email protected]>
* XmlSchemaElement.cs : Fixed ambiguity detection logic so that
	  chameleon ##other (xs:any) does not block other "absent"
	  (empty targetNamespace) element. Fixed bug #76865.

	* XmlSchemaTests.cs : added testcase for #76865.


svn path=/trunk/mcs/; revision=53746
2005-12-01 04:46:45 +00:00
Atsushi Eno 53da95a67d 2005-10-23 Atsushi Enomoto <[email protected]>
* 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
2005-10-23 18:13:58 +00:00
Atsushi Eno d5feae8969 2005-09-30 Atsushi Enomoto <[email protected]>
* 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
2005-09-30 05:42:17 +00:00
Atsushi Eno da23068c98 2005-02-28 Atsushi Enomoto <[email protected]>
* 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
2005-02-28 05:13:56 +00:00
Nick Drochak f7399a13a5 2005-01-30 Nick Drochak <[email protected]>
* 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
2005-01-30 13:16:51 +00:00
Atsushi Eno fbb0b0cdc3 2005-01-11 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Write() should handle carefully output
	  namespace/prefix mapping.

	* XmlSchemaTests.cs : added TestWriteNamespaces2 ().



svn path=/trunk/mcs/; revision=38718
2005-01-11 18:31:14 +00:00
Atsushi Eno 2b323defa8 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : Added TestWriteNamespaces().

svn path=/trunk/mcs/; revision=26734
2004-05-05 04:25:02 +00:00
Atsushi Eno a361089332 2004-03-31 Atsushi Enomoto <[email protected]>
* Added XmlSchemaAssertion.cs.
	* XmlSchemaTests.cs : now uses XmlSchemaAssertion.

svn path=/trunk/mcs/; revision=24856
2004-03-31 17:38:42 +00:00
Atsushi Eno cbaebb87c4 2004-01-03 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : fixed file path. Added more tests.
	* added XmlSchemaCollectionTests.cs and XmlSchemaDatatypeTests.cs (the
	  latter one's purpose overlaps with XmlSchemaBuiltInDatatypeTests ;)

svn path=/trunk/mcs/; revision=21639
2004-01-03 16:12:50 +00:00
Atsushi Eno 44117fb7d1 2003-07-21 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : added sequence and particle tests to TestCompile()

svn path=/trunk/mcs/; revision=16471
2003-07-21 04:50:45 +00:00
Atsushi Eno 0dadd76287 2003-07-20 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : added AssertComplexTypeContentExtension() and
	  added related tests in TestCompile().

svn path=/trunk/mcs/; revision=16438
2003-07-20 05:00:26 +00:00
Atsushi Eno a2ff2914af 2003-07-19 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : rewrote TestRead() and added TestCompile().

svn path=/trunk/mcs/; revision=16433
2003-07-19 16:52:58 +00:00
Atsushi Eno 77f29f40d0 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find former ChangeLog entries.

svn path=/trunk/mcs/; revision=13553
2003-04-12 13:53:22 +00:00