Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.12
-
None
-
None
-
Tested on Fedora 35 using xalan-c-1.12.0-15.fc35.x86_64
Description
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.