![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: reference to element, elementFormDefault unqualified >Thread Next - Can types be marked as "deprecated"? Simpletype restriction and {final}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 | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
