As reported in my previous posting, I've been working on the new XML Schema Test suite. Achieved a significant milestone today: all the tests in the Microsoft part of the test suite are now "done". That's around 14600 tests. Of these I have queried the results of 858 tests (you can find the bug reports in the W3C public bugzilla). Most of these are illegal regular expressions in supposedly valid schemas. Of the remainder, Saxon fails on 22 tests for known reasons, and passes on the remainder.
The failures are essentially for three reasons: (a) hitting resource limits on large minOccurs/maxOccurs values; (b) Saxon has a better algorithm for testing type subsumption than the one in the spec (it's essentially anticipating the XML Schema 1.1 spec here), and (c) there are three tests in which a user-defined type is derived directly from xs:anySimpleType, and although the spec appears to allow this, it's not at all clear what it's supposed to mean, so Saxon disallows it.
I had to fix quite a large number of Saxon bugs to get to this point, but they were almost all very obscure corner cases.
Next step is to tackle the Sun and NIST tests. On past experience these will be easier.
|
|
||||||||
|
Login
|
XML Schema Tests: progress report
Comments
Re: XML Schema Tests: progress report
Glad to see you're putting so much work into this. Even though most of thees problems are the obscure corner cases, it's always that one problem that no one else in a million years would ever encounter that becomes a total deal breaker for a customer.
I applaud your commitment to conformance. Re: XML Schema Tests: progress report
by
SteveI
on Wed 17 Jan 2007 20:51 GMT | Profile | Permanent Link
Although I cannot image that the 2007 Daylight Savings Time issue will be a problem for the Saxon processor I'm compelled (by management) to ask if this issue is one of the 14,600 tests. <g>
Re: Re: XML Schema Tests: progress report
Sorry, but what is the 2007 Daylight Savings Time issue?
Re: Re: Re: XML Schema Tests: progress report
It looks like he's referring to this:
http://www.infoplease.com/spot/daylight1.html The gist of it is, starting this year, Daylight Saving Time will move to march, giving us an extra month of DST. Re: Re: Re: Re: XML Schema Tests: progress report
Well, I would think the US isn't the first country in the world that ever changed the dates on which it shifts its clocks, and I would have thought the software vendors who incorporate such data in their products have plenty of experience in managing the problem. Presumably it's more of a problem for user organizations who need to ensure that they install the right updates. Saxon just gets its time and timezone data from Java, so if Java is broken, then Saxon will be broken too.
Re: Re: Re: Re: Re: XML Schema Tests: progress report
That's precisely what I needed to know. Thank you for your quick response.
|
Search
Recent Comments
Month Archive
|
||||||