You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Zach Vickery (JIRA)" <xa...@xml.apache.org> on 2008/06/07 00:40:45 UTC
[jira] Created: (XALANC-677) Debug assertion switching to HTML mode
when the outputter is producing a DOM
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/%3c4849B355.3050201@apache.org%3e
--
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Assigned: (XALANC-677) Debug assertion switching to HTML
mode when the outputter is producing a DOM
Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bertoni reassigned XALANC-677:
------------------------------------
Assignee: David Bertoni
> 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
> Assignee: David Bertoni
> 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/%3c4849B355.3050201@apache.org%3e
--
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Resolved: (XALANC-677) Debug assertion switching to HTML
mode when the outputter is producing a DOM
Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bertoni resolved XALANC-677.
----------------------------------
Resolution: Fixed
Patch applied.
> 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
> Assignee: David Bertoni
> Priority: Minor
> Attachments: test1.xml, test1.xsl, XALANC-677.patch
>
>
> 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/%3c4849B355.3050201@apache.org%3e
--
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Closed: (XALANC-677) Debug assertion switching to HTML mode
when the outputter is producing a DOM
Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bertoni closed XALANC-677.
--------------------------------
> 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
> Assignee: David Bertoni
> Priority: Minor
> Attachments: test1.xml, test1.xsl, XALANC-677.patch
>
>
> 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/%3c4849B355.3050201@apache.org%3e
--
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANC-677) Debug assertion switching to HTML
mode when the outputter is producing a DOM
Posted by "Zach Vickery (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603615#action_12603615 ]
Zach Vickery commented on XALANC-677:
-------------------------------------
I have verified that the assertion no longer occurs. I can also verify that instead a warning to stderr is printed, which seems to be the intent of the patch. So I think everything looks good and thank you for the quick response!
> 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
> Assignee: David Bertoni
> Priority: Minor
> Attachments: test1.xml, test1.xsl, XALANC-677.patch
>
>
> 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/%3c4849B355.3050201@apache.org%3e
--
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org