|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Simpletype restriction and {final}
From: Jeff Rafter <lists@jeffrafter.com>
Date: Tue, 18 Apr 2006 18:43:09 -0700 Message-ID: <444595AD.3040207@jeffrafter.com> To: xmlschema-dev@w3.org 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 RafterReceived on Wednesday, 19 April 2006 01:44:43 GMT |
Subscribe in XML format
|






