You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/12/09 16:36:50 UTC
DO NOT REPLY [Bug 15180] New: -
Xalan Seg Fault with "
"DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15180>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15180
Xalan Seg Fault with "<p><p/>"
Summary: Xalan Seg Fault with "<p><p/>"
Product: XalanC
Version: 1.4.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Major
Priority: Other
Component: XalanC
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: scorbeau@improve.fr
Hello, i use the last binary versions of xalan and xerces.
I have this files:
* index.xml:
<p>coincoin</p>
* index.xsl:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes"/>
<xsl:include href="p_tag.xsl"/>
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
* p_tag.xsl:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="p">
<p><xsl:apply-templates/><p/>
</xsl:template>
</xsl:stylesheet>
Look at the last p tag which isn't correct: "<p/>"
I run this command:
[scorbeau]$ Xalan -o index.html index.xml index.xsl
XSLT warning: Fatal Error at (file file:///home/scorbeau/work/bug/p_tag.xsl,
line 6, column 15): Expected end of tag 'p'
(file:///home/scorbeau/work/bug/p_tag.xsl, line 5, column 15)
Erreur de segmentation
Xalan make a seg fault. If I use xalan in a apache module with this page, all
apache childs are kill.
What's wrong? do you need any other details? Thx