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
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/k
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? 

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:09 GMT