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=27176>.
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=27176

[PATCH] optional removal of XSP-introduced extra whitespace





------- Additional Comments From [EMAIL PROTECTED]  2004-02-24 09:01 -------
> Another note: if it is like XSLT why not using the same syntax? Many of the
> XSP elements follow the XSLT syntax.

Well, I tried my best to do just that, I looked in
http://www.w3.org/TR/xslt#strip and picked @xml:space which matched best with
what I had coded. @xml:space can only take two values "preserve" or "default",
so I had to find a more meaningful value as stripping could not be the default
in XSPs for compatibility reasons, hence "strip" (which is coherent with
"xsl:strip-space" and "xsl:preserve-space"). I also just did not want to use the
xml namespace as I confusely felt I had no right to do so! ;-)

About XSP elements I already wrote something about <xsp:text/> compared to
<xsl:text/>. If you refer to <xsl:strip-space/> and <xsl:preserve-space/>, these
provide more fine-grained functionality that what is in this patch, so I thought
be better to leave <xsp:strip-space/> and <xsp:preserve-space/> to the one(s)
who would implement something as tuneable...

Reply via email to