Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: w3-validator

From: "Michael Kay" <mike@--------.--->
To: "'Modiwirijo, Dwight'" <dwight.modiwirijo@--------.-->, <xmlschema-dev@--.--->
Date: 12/2/2008 10:13:00 AM
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@w... [mailto:xmlschema-dev-request@w...] On
Behalf Of Modiwirijo, Dwight
Sent: 01 December 2008 15:45
To: xmlschema-dev@w...
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@m...> 



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent