W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2008

RE: w3-validator

From: Michael Kay <mike@saxonica.com>
Date: Tue, 2 Dec 2008 10:13:15 -0000
To: "'Modiwirijo, Dwight'" <dwight.modiwirijo@mx-groep.nl>, <xmlschema-dev@w3.org>
Message-ID: <A8A2EE8C16A042099B26C67F82461120@Sealion>
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



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


I have used the validator(http://www.w3.org/2001/03/webdata/xsv#hlp-warn) to

*	ht
<http://iwsr.mx-systems.nl/krwint/test/klic/xsd_klic/geometry.xsd>  udi

*	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
lic_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? 


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 Tuesday, 2 December 2008 10:13:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:15 UTC