- From: Modiwirijo, Dwight <dwight.modiwirijo@mx-groep.nl>
- Date: Thu, 4 Dec 2008 10:55:50 +0100
- To: "Michael Kay" <mike@saxonica.com>, <xmlschema-dev@w3.org>
- Message-ID: <40757C6D79C32846B821064B6A8E4A142C5116@mxs037.MX.ICT>
Hi, Thnx for the reply. I used XmlSchemaSet, XmlReaderSettings or XmlValidatingReader (obsolete) from Microsoft for validation. They (.NET 2.0) all produced schem-errors. What .NET version did you use? regards, Dwight -----Oorspronkelijk bericht----- Van: Michael Kay [mailto:mike@saxonica.com] Verzonden: dinsdag 2 december 2008 11:13 Aan: Modiwirijo, Dwight; xmlschema-dev@w3.org Onderwerp: RE: w3-validator Thanks for the extra information (sent off-list?) I've run this in Stylus Studio, it is being reported as invalid by Xerces and MSXML 6, but as valid by Saxon, XSV, MSXML 4, and .NET. I think the problem here is that the rules for what constitutes a valid restriction in XSD 1.0 are known to prevent some cases that really should be valid, because the restricted type is demonstrably subsumed by the base type. Some processors use a "better" algorithm than the one in the spec for determining type subsumption, whereas some implement the algorithm literally as written in the spec, bugs and all. I suspect this is a case where the schema is indeed technically invalid against the 1.0 specification, although I haven't tried to work through the detail. Michael Kay http://www.saxonica.com/ _____ From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] On Behalf Of Modiwirijo, Dwight Sent: 01 December 2008 15:45 To: xmlschema-dev@w3.org Subject: w3-validator Hi, I have used the validator( http://www.w3.org/2001/03/webdata/xsv#hlp-warn) to validate: * ht <http://iwsr.mx-systems.nl/krwint/test/klic/xsd_klic/geometry.xsd> udi tp://iwsr.mx-systems.nl/krwint/test/klic/xsd_klic/geometry.xsd * http://iwsr.mx-systems.nl/krwint/test/klic/xsd_klic/klic_feature.xsd The result: http://hellow0rld.googlecode.com/svn/branches/XSD.klicwab/result.xml shows that there is no schema-error. But if I use my own validator ( http://hellow0rld.googlecode.com/svn/trunk/Projects/klic.generated.source/klic_wab_geometrieTest/Backup/Bin/Release/GMLvalidator.exe) or Altova then I got schema-errors. What must I do to use the w3-validator correctly if I did something wrong? Regards Dwight MX.Systems Patrijsweg 32, 2289 EX Rijswijk tel.: 070 3073768 fax: 070 3073700 website: < http://www.mx-groep.nl/> e-mail: < mailto:dwight.modiwirijo@mx-groep.nl>
Received on Thursday, 4 December 2008 09:59:07 UTC