Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#22 NullPointerException on misspelled atts

v6.4.3
closed
Michael Kay
5
2012-10-08
2001-08-07
Oliver Becker
No

mistyping the elements attribute of xsl:strip-space
leads to a NullPointerException in 6.4.3

Error on line 4 of
file:/vol/epsilon-vol3/unixsoft/obecker/xsl/x.xsl:
Attribute elemnts is not allowed on this element
Error on line 4 of
file:/vol/epsilon-vol3/unixsoft/obecker/xsl/x.xsl:
Element must have a "elements" attribute
java.lang.NullPointerException
at
com.icl.saxon.style.XSLPreserveSpace.preprocess(Compiled
Code)
at
com.icl.saxon.style.XSLStyleSheet.preprocess(Compiled
Code)
at
com.icl.saxon.PreparedStyleSheet.setStyleSheetDocument(Compiled
Code)
at
com.icl.saxon.PreparedStyleSheet.prepare(Compiled Code)
at
com.icl.saxon.TransformerFactoryImpl.newTemplates(Compiled
Code)
at com.icl.saxon.StyleSheet.doMain(Compiled
Code)
at com.icl.saxon.StyleSheet.main(Compiled Code)

Discussion

  • Michael Kay
    Michael Kay
    2001-08-07

    Logged In: YES
    user_id=251681

    Present in all previous releases (since Saxon was changed
    to report more than one syntax error in each run).

    Source code now fixed. - MHK