[xquery-talk] Top N Most Common Mistakes [SEC=UNCLASSIFIED]

Michael Kay mike at saxonica.com
Tue Aug 14 17:49:21 PDT 2007

> Debugging mysteriously empty sequences is a pain and a good 
> unit testing framework would go a long way. (I've tried a few 
> of the xslt unit testing frameworks but it's like pulling 
> teeth). Has anyone had a better experience with unit testing 
> for XQuery?

When you're dealing with complex schemas then writing schema-aware queries
can make a big difference. If you take care to declare your types properly,
then with Saxon-SA many of the "no output" errors due to incorrect path
expressions turn into compile time errors or warnings.

Michael Kay

More information about the talk mailing list