Christian Luidolt created XALANC-814:
----------------------------------------

             Summary: assertion when including invalid style sheet
                 Key: XALANC-814
                 URL: https://issues.apache.org/jira/browse/XALANC-814
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: 1.12
         Environment: Tested on Fedora 35 using xalan-c-1.12.0-15.fc35.x86_64
            Reporter: Christian Luidolt
            Assignee: Gary D. Gregory
         Attachments: invalid.html, simple.xsl, xml.xml, xsl.xsl

executing Xalan using the attached files leads to an assertion:

Xalan xml.xml xsl.xsl

Xalan: /builddir/build/BUILD/xalan_c-1.12/src/xalanc/XSLT/Stylesheet.cpp:238: 
xalanc_1_12::ElemTemplateElement* 
xalanc_1_12::Stylesheet::initWrapperless(xalanc_1_12::StylesheetConstructionContext&,
 const xercesc_3_2::Locator*): Assertion `m_firstTemplate == 0' failed.

Of course invalid.html is not an valid style sheet, but IMHO Xalan should not 
assert but return a (fatal) error.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to