xsl-list
[Top] [All Lists]

RE: <xsl:decimal-format >

2002-11-13 07:59:19
Hi

I have an application where I need to use a decimal format, with both
the
grouping-separator AND the decimal-separator attributes set to the 
empty string. This causes the following exception using Xalan. 

javax.xml.transform.TransformerException: An XSLT attribute of type
T_CHAR must be only 1 character!

Looking at the definition for this element - I can understand 
why I get
the exception.

My question is - can I achieve the above functionality without 
writing a java extension ?

This is most likely a bug in Xalan. Try your stylesheet with another XSTL 
processor, and if it ok with empty attribute values, report is as a bug to 
Xalan development team.

Jarno - VNV Nation: Fragments (splinter)

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>