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 ji...@apache.org on 2004/04/25 03:21:54 UTC

[jira] Updated: (XERCESJ-821) XInclude also includes comments from DTD

The following issue has been updated:

    Updater: Michael Glavassevich (mailto:mrglavas@ca.ibm.com)
       Date: Sat, 24 Apr 2004 6:21 PM
    Changes:
             assignee changed from Xerces-J Developers Mailing List
             description changed from 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 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.
             environment changed from Operating System: Other
Platform: Other to Operating System: Other
Platform: Other
             priority changed to Blocker
             Component changed to XInclude 1.0
             Component changed from Other
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCESJ-821?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESJ-821

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESJ-821
    Summary: XInclude also includes comments from DTD
       Type: Bug

     Status: Resolved
   Priority: Blocker
 Resolution: FIXED

    Project: Xerces2-J
 Components: 
             XInclude 1.0
   Versions:
             2.5.0

   Assignee: 
   Reporter: js

    Created: Sat, 1 Nov 2003 7:43 AM
    Updated: Sat, 24 Apr 2004 6:21 PM
Environment: Operating System: Other
Platform: Other

Description:
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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org