Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Simpletype restriction and {final}

From: Jeff Rafter <lists@----------.--->
To: xmlschema-dev@--.---
Date: 4/18/2006 11:43:00 AM
I am trying to define a simpleType that is a restriction of another 
simpleType. I think this should be possible and the tools agree with me. 
the place where I am running into issues is with {final}. When 
specifying that the base type is final (#all) I expect the validator to 
fall over. MSXML, Xerces, IBM SQC all agree. XSV does not. I was 
wondering if anyone can confirm my results:

http://jeffrafter.com/samples/foo1.xml (should pass)
http://jeffrafter.com/samples/foo2.xml (should fail)
http://jeffrafter.com/samples/foo3.xml (should fail on schema load)
http://jeffrafter.com/samples/simpletype-restriction.xsd (valid)
http://jeffrafter.com/samples/simpletype-restriction-final.xsd (invalid)


http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%3A%2F%2Fjeffrafter.com%2Fsamples%2Fsimpletype-restriction-final.xsd&warnings=on&independent=on&style=xsl#

When I looked at coverage for XSV it looks like this is something marked 
as implemented.

Thanks,
Jeff Rafter

From lists@j... Wed Apr 19 06:46:23 2006


transparent
Print
Mail
Digg
delicious
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