[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: [ann: debugxslt v.0.1]: a (very) experimental xslt

Subject: RE: [ann: debugxslt v.0.1]: a (very) experimental xslt lint checker using schematron
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 5 Feb 2008 22:59:36 -0000
RE:  [ann: debugxslt v.0.1]: a (very) experimental xslt
> for example consider the following XSLT snippet;
> XSLT processor:<xsl:value-of 
> select="system-property(xsl:vendor)"/> / <xsl:value-of 
> select="system-property(xsl:version)"/> / <xsl:value-of 
> select="system-property(xsl:vendor-url)"/>
> when processed in SAXON, it rightly returns an error;
> 'Fatal Error! java.lang.IllegalArgumentException: key can't be empty
> Cause: java.lang.IllegalArgumentException: key can't be empty'
This looks like a bug. You should never get an IllegalArgumentException
(except when invoking certain API methods incorrectly). I can't reproduce
it, though. I get this:

Error on line 7 of file:/c:/temp/test.xsl:
  XPTY0004: An empty sequence is not allowed as the first argument of

If you can reproduce this problem, please raise it as a Saxon bug (through
the proper channels, not via this list). I'm always keen to improve
diagnostics but I can only do it if people provide feedback.

Michael Kay

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.