[xquery-talk] Test Suite comparison mechanisms

David Carlisle davidc at nag.co.uk
Sat Nov 12 23:45:58 PST 2005


[changing the subject as my reply isn't really saxon related]

> http://www.saxonica.com/conformance/xqts080/results080.html

Impressive result.

Interesting. The test suite comparison mechanisms described there are
remarkably similar to the ones described here

http://monet.nag.co.uk/xq2xml/XQTSReport.html

As we both comment, neither of us is actually following the comparison
scheme specified by the test suite. Would it make sense for the test
suite to explictly authorise the use of comparisons at the level of XDM
trees rather than serialised results. Perhaps even specifying an xquery
function like deep-equal but doing something different with namespaces
and comments. (I think currently all comments are at the top level but
if any tests generated comment nodes as children of elements, deep-equal
wouldn't see their contents. (Actually I suspect I'm not correctly
checking comments that are children of the document root either, as
deep-equal won't see those, must check..)


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


More information about the talk mailing list