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=7877>. 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=7877 [PATCH] depend.xsl outputs in % instead of 0-1 range and gives NaN ------- Additional Comments From [EMAIL PROTECTED] 2002-04-14 20:24 ------- It will work in your case if you transform your xml with the xsl with your locale because it will be able to parse correctly your xml. Removing the formatting is just a workaround because it will use the appropriate formatter when parsing the number. If someone with a US locale is processing your XML it will not work as '.' is the decimal separator and ',' is the thousand separator, so the problem is on the xml side not on the xsl side. The output of the xml should use a format that allows exchange within different locales so it should use a well defined format, not one that you have no idea of. XML Schema identifies a float with a mandatory '.' (dot) and put emphasis on interoperability by specifying that there must be conversion from locale- dependent datatype. Same applies here IMHO. So I'm -1 for this. Sorry. Otherwise I agree about the % or the normalized value is a matter of taste... I need feedback from users to know which is better % or normalized and fix one or the other. Peter speak up about your taste please. :-) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
