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

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

This may be an issue with the Xerces-C parser.  Needs Checking.
                
> XalanC doesn't handle correctly the Unicode surrogate pairs
> -----------------------------------------------------------
>
>                 Key: XALANC-481
>                 URL: https://issues.apache.org/jira/browse/XALANC-481
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: CurrentCVS
>         Environment: all
>            Reporter: Dmitry Hayes
>            Priority: Minor
>             Fix For: CurrentCVS
>
>
> For the stylesheet :
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
> version="1.0">
>   <xsl:variable name="single_surrogate_pair">&#x10001;</xsl:variable>         
>     
>   <xsl:template match="/">
>       <out lenght="{string-length($single_surrogate_pair)}"></out>
>   </xsl:template>
>   
> </xsl:stylesheet>
> we have an output:
> <?xml version="1.0" encoding="UTF-8"?><out lenght="2"/> 

--
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: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to