[ 
https://issues.apache.org/jira/browse/XALANC-605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437249#comment-13437249
 ] 

Steven J. Hathaway commented on XALANC-605:
-------------------------------------------

I will try to confirm the patch for use in version 1.11 release.
                
> Incorrect output for xsl:number with alphanumeric characters in the format 
> attribute
> ------------------------------------------------------------------------------------
>
>                 Key: XALANC-605
>                 URL: https://issues.apache.org/jira/browse/XALANC-605
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: CurrentCVS
>         Environment: all
>            Reporter: Dmitry Hayes
>            Assignee: Dmitry Hayes
>             Fix For: CurrentCVS
>
>         Attachments: patch1.diff, patch.diff
>
>
> 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>
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to