When the content of a comment or processing
instruction is generated as a sequence of text nodes, a
single space is incorrectly inserted between each text
node. This should happen only when the (new) select
attribute is used to generate the comment or PI.
Solution:
add the line
inst.setSeparator(new StringValue
(select==null ? "" : " "));
after compileContent(inst) in the compile() methods of
XSLComment and XSLProcessingInstruction.
Test cases added: whte22 and whte23
Michael Kay
Michael Kay
XSLT conformance
v7.9
Public
|
Date: 2004-03-29 09:31 Logged In: YES |
|
Date: 2004-03-29 09:11 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2004-03-31 14:52 | mhkay |
| resolution_id | None | 2004-03-31 14:52 | mhkay |
| close_date | - | 2004-03-31 14:52 | mhkay |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use