Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
CurrentCVS
-
None
-
all
Description
Stylesheet : <xsl:template match="/">
<out>
<xsl:number value="123" format="***"/>
</out>
</xsl:template>
According to :
"The format attribute is split into a sequence of tokens where each token is a maximal sequence of alphanumeric characters or a maximal sequence of non-alphanumeric characters.... If the first token is a non-alphanumeric token, then the constructed string will start with that token; if the last token is non-alphanumeric token, then the constructed string will end with that token.... If there are no format tokens, then a format token of 1 is used to format all numbers"
we should see in the output :
<?xml version="1.0" encoding="UTF-8"?><out>**123**</out>,
but XalanC produces:
<?xml version="1.0" encoding="UTF-8"?><out>***123</out>