First point: currency symbols are not legal in the picture of
format-number(), though some processors may accept them.
(format-number() was defined by reference to the
DecimalFormatSymbols
class of JDK 1.1, and currency symbols were added to the JDK at a
later version than this).
Thanks, I was not aware of that. However, the MS parser seems
to cope adequately with this.
If your definition of "coping adequately" is that it accepts something
that it should reject, then your idea of adequacy is different from
mine...
(Having said that, Saxon has a bug in this area, because what it accepts
depends on the version of the JDK you happen to be using).
It is my hunch that it is the data, not the output that is
wrong. The output of the transform is simply perpetuating the problem.
I think it would be a good idea to take a look at your source file with
a hex editor.
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list