You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/12/28 19:23:54 UTC

DO NOT REPLY [Bug 15700] New: - Exception printout when XSLT root element has wrong name

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=15700>.
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=15700

Exception printout when XSLT root element has wrong name

           Summary: Exception printout when XSLT root element has wrong name
           Product: XalanJ2
           Version: 2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Xalan-CmdLine
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: arne@123soft.de


I mistyped the XSLT root element as xslt:styleSheet instead of xslt:stylesheet.
When running Xalan from the command line, the following error message was printed:

(Location of error unknown)XSLT Error
(javax.xml.transform.TransformerConfigurationException):
javax.xml.transform.TransformerException: java.lang.NullPointerException

There should be a more meaningful diagnosis instead.

(With the spelling fixed, the transformation was successful)