xsl-list
[Top] [All Lists]

Re: How efficient is DVC? - A grouping example - FIXED

2003-03-23 15:20:18
Robbert van Dalen wrote:
Indeed it seems like Xalan is not catching the invalid expressions.
Do you know of a tool to check stylesheets so I know I won't be posting errors
in the future?

This is a feature of most XSLT processors, because it's more or less a
standard part of XSLT processing. Saxon and 4Suite have command-line options
to produce compiled stylesheets, which involves doing all the pre-runtime
checks, including validating XPath syntax. Xalan comes with XSLTC which I
believe does the same kind of thing.

As with any software that attempts to implement some kind of complex standard,
you can't judge whether or not your input to the software is compliant, just
based on how one package behaves. I regularly test stylesheets in more than
one processor (I have 7 or 8 installed on my FreeBSD system, and a couple more
on Windows), and when unexpected results turn up, I refer to the specs and try
to figure out who's right.

As an XSLT processor implementer (I'm a core developer of 4Suite), I can say
that even though I am very familiar with the specs, there is always something
that surprises me in there. And no software is free of bugs, conformance-related
or otherwise.

Mike

-- 
  Mike J. Brown   |  http://skew.org/~mike/resume/
  Denver, CO, USA |  http://skew.org/xml/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list