[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How efficient is DVC? - A grouping example - FIXED
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|