Debug assertion switching to HTML mode when the outputter is producing a DOM
----------------------------------------------------------------------------
Key: XALANC-677
URL: https://issues.apache.org/jira/browse/XALANC-677
Project: XalanC
Issue Type: Bug
Components: XalanC
Affects Versions: 1.10
Environment: Windows XP & SV2005 confirmed, possibly other environments
Reporter: Zach Vickery
Priority: Minor
Running the included sample "TransformToXercesDOM" with the supplied birds.xml
and the stylesheet below will produce an assertion:
-ASSERTION----------------
C:\Temp\Xalan\trunk\Build\Win32\VC8\Debug>TransformToXercesDOM birds.xml
test.xsl
Assertion failed: theFormatter != 0 && theFormatter->getWriter() != 0, file
..\..\..\..\src\xalanc\XSLT\XSLTEngineImpl.cpp, line 1568
-----------------------------------
-STYLESHEET--------------------------
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- Uncommenting eliminates assertion
<xsl:output method="xml" indent="yes"/> -->
<xsl:template match="/">
<html><body></body></html>
</xsl:template>
</xsl:stylesheet>
------------------------------------------------
Per David Bertoni's response on xalan-dev, the resolution is to remove the
assertion behavior in this scenario.
Reference:
http://mail-archives.apache.org/mod_mbox/xml-xalan-dev/200806.mbox/[EMAIL
PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]