You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/11/01 08:43:27 UTC
DO NOT REPLY [Bug 24318] New: -
XInclude also includes comments from DTD
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=24318>.
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=24318
XInclude also includes comments from DTD
Summary: XInclude also includes comments from DTD
Product: Xerces2-J
Version: 2.5.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Other
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: js@ddre.dk
If documentfragments that contains a documenttype declarations are merged using
a stylesheet with a single template as shown below.
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
The resulting document will contain all the right fragments, but will also
include all comments from the DTD.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org