You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/10/16 14:28:09 UTC

DO NOT REPLY [Bug 13508] - Strips space before sorting datatype="text".

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

Strips space before sorting datatype="text".





------- Additional Comments From arun.yadav@sun.com  2002-10-16 12:28 -------
Xalan is not stripping spaces out of an element otherwise the output would be  
<catalog>G 17</catalog> instead of <catalog>G17</catalog>. Data-type "text" 
specifies that the sort keys should be sorted lexicographically for the 
language specified  by lang. While comparing string  "G 17" with "G 4", G 17 
results as smaller one. Order is specified as ascending in xsl file so the 
order 17, 4, 6 is correct.