Files
mono/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests
Atsushi Eno b265ee6b99 2007-11-12 Atsushi Enomoto <[email protected]>
* 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
2007-11-12 00:55:56 +00:00
..
2005-06-27 16:07:43 +00:00
2005-06-27 16:07:43 +00:00
2005-06-27 16:07:43 +00:00

* System.Xml.Schema standalone test collections


** Small XML Schema validation test system::

	This is a small standalone test system using W3C XML Schema 
	test collection.
	http://www.w3.org/2001/05/xmlschema-test-collection.html

	"make" will prepare whatever you need to run test (downloading test
	archive from W3C, expanding, compiling test runner).

	"make run-test" will run the tests and reports as TestResult.xml.


** Post Schema Compilation Information comparison test::

	This is a test for Post Schema Compilation Information properties.

	xs-pcsi-compare.exe emits properties of schema object model.
	pcsi-ms-all.zip contains msxsdtest result I got from MS.NET 1.1.

	(Currently no other way to compare the results by hands.)

As for the result differences, some notes would be required:

	- MS.NET holds incorrect base schema type for simple list and union
	  types. Their base type is simple ur-type (3.14.7) but MS.NET holds
	  item type(s) there.

	- For unspecified types for element and attribute, they incorrectly
	  specifies xs:string type. However in those cases, attribute types
	  should be mapped to simple ur-type and element types should be
	  (complex) ur-type (3.4.7)

This will be added in the future (currently Mono has the same problem).

	- MS.NET does not remove "pointless" choice particle (see 3.9.6).
	  However it results in incorrect validation.
	  (e.g. msxsdtest/Particles/particlesHb010.xsd)


Atsushi Eno <[email protected]>