README 1.4 KB

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