You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org> on 2005/04/12 21:58:21 UTC

[jira] Created: (XALANC-481) XalanC doesn't handle correctly the Unicode surrogate pairs

XalanC doesn't handle correctly the Unicode surrogate pairs
-----------------------------------------------------------

         Key: XALANC-481
         URL: http://issues.apache.org/jira/browse/XALANC-481
     Project: XalanC
        Type: Bug
  Components: XalanC  
    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 contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Assigned: (XALANC-481) XalanC doesn't handle correctly the Unicode surrogate pairs

Posted by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-481?page=all ]

Dmitry Hayes reassigned XALANC-481:
-----------------------------------

    Assign To: Ashley Zinyk

> XalanC doesn't handle correctly the Unicode surrogate pairs
> -----------------------------------------------------------
>
>          Key: XALANC-481
>          URL: http://issues.apache.org/jira/browse/XALANC-481
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: CurrentCVS
>  Environment: all
>     Reporter: Dmitry Hayes
>     Assignee: Ashley Zinyk
>     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 contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org