You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Mirkin Eugene-AEM084 <em...@motorola.com> on 2002/06/12 20:53:52 UTC

RE: DO NOT REPLY [Bug 9798] - java.lang.NullPointerException wh en processing xsl:copy in simple stylesheet.

Shouldn't there be a different exception (like IllegalArgumentException or smth like that) then?

-----Original Message-----
From: bugzilla@apache.org [mailto:bugzilla@apache.org]
Sent: Wednesday, June 12, 2002 11:52 AM
To: xalan-dev@xml.apache.org
Subject: DO NOT REPLY [Bug 9798] - java.lang.NullPointerException when
processing xsl:copy in simple stylesheet.


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9798>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9798

java.lang.NullPointerException when processing xsl:copy in simple stylesheet.

tom.amiro@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|org.apache.xalan.xsltc      |Xalan
         Resolution|                            |INVALID



------- Additional Comments From tom.amiro@sun.com  2002-06-12 18:52 -------
This is not a bug. The <xsl:copy> element does not take a 'select' 
attribute. The<xsl:copy-of> element does.

Re: DO NOT REPLY [Bug 9798] - java.lang.NullPointerException when processing xsl:copy in simple stylesheet.

Posted by Tom Amiro <To...@Sun.COM>.
At least from the command-line, when I checked out the simple xsl sample 
you gave I did get an appropriate error message

file:///home/tamiro/bugdrop/bug9798.xsl; Line 5; Column 40; XSLT Error (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: "select" attribute is not allowed on the xsl:copy element!

Tom

Mirkin Eugene-AEM084 wrote:
> 
> Shouldn't there be a different exception (like IllegalArgumentException or smth like that) then?
> 
> -----Original Message-----
> From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Sent: Wednesday, June 12, 2002 11:52 AM
> To: xalan-dev@xml.apache.org
> Subject: DO NOT REPLY [Bug 9798] - java.lang.NullPointerException when
> processing xsl:copy in simple stylesheet.
> 
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9798>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9798
> 
> java.lang.NullPointerException when processing xsl:copy in simple stylesheet.
> 
> tom.amiro@sun.com changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>           Component|org.apache.xalan.xsltc      |Xalan
>          Resolution|                            |INVALID
> 
> ------- Additional Comments From tom.amiro@sun.com  2002-06-12 18:52 -------
> This is not a bug. The <xsl:copy> element does not take a 'select'
> attribute. The<xsl:copy-of> element does.

-- 
 Tom Amiro -- SQA Engineer
 Sun XML Technology Development
 voice: 781-442-0589 Fax: 781-442-1437
 eMail: tom.amiro@.sun.com