cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25242] - sendmail logicsheet generate syntax error .java
Date Sun, 07 Dec 2003 16:37:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25242>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25242

sendmail logicsheet generate syntax error .java





------- Additional Comments From vgritsenko@apache.org  2003-12-07 16:37 -------
normalize-space() is not a good solution as it will remove spaces which should
not be removed in the first place.

In the code, in logicsheet-util.xsl, template get-nested-string, already has
translate() to remove TAB, CR, and LF, which (AFAICT) should work here, but does
not for some reason.

But this translate is sub-optimal solution, because, for example, TAB and SPACE
are not interchangeable. Ideally, TAB symbol should be escaped in to the valid
Java string as \t, and, I think, that's what XSLTExtension:escape($extension,.)
does (see xsp.xsl)

Mime
View raw message