[ http://issues.apache.org/jira/browse/XALANJ-1497?page=comments#action_12369291 ]
Brian Minchau commented on XALANJ-1497: --------------------------------------- JIRA Triage meeting Tuesday March 7, 2006 - agreed to modify the behavior to NEVER output a newline after a PI. Assigned to Brian M. > xsl:copy adds a newline to processing instructions > -------------------------------------------------- > > Key: XALANJ-1497 > URL: http://issues.apache.org/jira/browse/XALANJ-1497 > Project: XalanJ2 > Type: Bug > Components: transformation, Xalan-interpretive > Versions: 2.5 > Environment: Operating System: Other > Platform: Other > Reporter: dcaveney > Assignee: Brian Minchau > 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://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]