You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2004/12/16 17:09:50 UTC

[jira] Updated: (XALANJ-1497) xsl:copy adds a newline to processing instructions

     [ http://nagoya.apache.org/jira/browse/XALANJ-1497?page=history ]

Henry Zongaro updated XALANJ-1497:
----------------------------------

    Priority: Major

> xsl:copy adds a newline to processing instructions
> --------------------------------------------------
>
>          Key: XALANJ-1497
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1497
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-interpretive, transformation
>     Versions: 2.2.x
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: dcaveney
>     Assignee: Xalan Developers Mailing List
>  Attachments: d19306.xml, d19306.xsl
>
> <xsl:copy> produces a node AND a linefeed for processing-instruction nodes in 
> the "root" of the document.
> Example:
> The following template faithfully reproduces an XML document:
> <xsl:template match="node() | @*">
> <xsl:copy>
> <xsl:apply-templates select="node() | @*"/>
> </xsl:copy>
> </xsl:template>
> ...EXCEPT when the document contains processing instruction nodes in the
> "root" (ie. before the "document" element). There doesn't seem to be a problem
> for nodes that are descendants of the "document" element.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org