-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
When using the script task, javascript, xalan-j_2_6_0, ant1.6.1, bsf2.3.0rc1, rhino 1.5R3, and a document() function in the xslt, I am getting a java.lang.NullPointerException error. This was not an issue prior to ant1.6.
~ [script] resolve: 'resource.xml' with base: 'file:///file.xsl' ~ [style] file.xsl:402:118: Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException ~ [style] file.xsl:355:64: Fatal Error! Fatal error during transformation Cause: Fatal error during transformation ~ [style] Failed to process document.xml
Line 402 of the xslt document is
<xsl:value-of
select="document('resource.xml')/rootElement/[EMAIL PROTECTED]/@name"/>If I attempt the same transform using the style task, the transform is successful. If I comment line 402, the transform is successful with script. Changing the value inside document to an absolute reference has no effect.
Any ideas?
Thanks, - -Dylan
- -- Dylan Schiemann http://www.sitepen.com/ http://www.dylanschiemann.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAdllx8nLgh/JJsxERAqTuAJ9jM8Nh1gqdDnbc02LCnyXwslG6oQCeOc48 gbmF0uIYChZTb/ds+ZYc+T0= =B0qe -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
