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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 12, 2002 11:52 AM
> To: [EMAIL PROTECTED]
> 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.
> 
> [EMAIL PROTECTED] changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>           Component|org.apache.xalan.xsltc      |Xalan
>          Resolution|                            |INVALID
> 
> ------- Additional Comments From [EMAIL PROTECTED]  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: [email protected]

Reply via email to