<xsl:comment> creates extra whitespace

VERIFIED FIXED

Status

()

Core
XSLT
P3
normal
VERIFIED FIXED
18 years ago
18 years ago

People

(Reporter: Jeff Bailey, Assigned: Keith Visco)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

18 years ago
An <xsl:comment> tag always wraps the comment in white space.  This doesn't
match the example provided in Section 7.4 of the XSLT spec, and more importantly
makes it impossible to generate the following tag:

<!--#include ... -->

Apache's Server Side Includes cannot have a space between the --#

A test case will follow shortly.
(Reporter)

Comment 1

18 years ago
Created attachment 11727 [details]
Test case, run with /transfrmx -i test.xml -s test.xsl -o test.html

Comment 2

18 years ago
Ill take a look at this one
(Assignee)

Comment 3

18 years ago
I checked in a fix when printing comments. The bug was not with xsl:comment, but 
rather in the XMLPrinter.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
(Reporter)

Comment 4

18 years ago
Thanks.  I see this fix with a CVS snapshot on July 24th.  Marking bug as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.