Merge pull request #2545 from ermshiperete/Xamarin-24974
[mono.git] / mcs / class / System.XML / Test / System.Xml.Schema / standalone_tests / README
1 * System.Xml.Schema standalone test collections
2
3
4 ** Small XML Schema validation test system::
5
6         This is a small standalone test system using W3C XML Schema 
7         test collection.
8         http://www.w3.org/2001/05/xmlschema-test-collection.html
9
10         "make" will prepare whatever you need to run test (downloading test
11         archive from W3C, expanding, compiling test runner).
12
13         "make run-test" will run the tests and reports as TestResult.xml.
14
15
16 ** Post Schema Compilation Information comparison test::
17
18         This is a test for Post Schema Compilation Information properties.
19
20         xs-pcsi-compare.exe emits properties of schema object model.
21         pcsi-ms-all.zip contains msxsdtest result I got from MS.NET 1.1.
22
23         (Currently no other way to compare the results by hands.)
24
25 As for the result differences, some notes would be required:
26
27         - MS.NET holds incorrect base schema type for simple list and union
28           types. Their base type is simple ur-type (3.14.7) but MS.NET holds
29           item type(s) there.
30
31         - For unspecified types for element and attribute, they incorrectly
32           specifies xs:string type. However in those cases, attribute types
33           should be mapped to simple ur-type and element types should be
34           (complex) ur-type (3.4.7)
35
36 This will be added in the future (currently Mono has the same problem).
37
38         - MS.NET does not remove "pointless" choice particle (see 3.9.6).
39           However it results in incorrect validation.
40           (e.g. msxsdtest/Particles/particlesHb010.xsd)
41
42
43 Atsushi Eno <atsushi@ximian.com>