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

David Bertoni commented on XALANC-648:
--------------------------------------

The errors you are seeing are fixed by the changes I recently checked in for 
compatibility with the latest changes to Xerces-C.

I actually added checks for surrogate pairs in the write() overload.  I then 
made the if/else blocks in all three write functions consistent.

This came up as the result of a _different_ problem someone reported about a 
different processor.  When I tested it in Xalan-C, I discovered this bug.  I 
will try to find the files that can be used to reproduce the problem and attach 
them to the issue.

> XalanUTF8Writer::write(const XalanDOMChar*, XalanDOMString::size_type) does 
> not handle surrogates properly
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: XALANC-648
>                 URL: https://issues.apache.org/jira/browse/XALANC-648
>             Project: XalanC
>          Issue Type: Bug
>    Affects Versions: CurrentCVS
>            Reporter: David Bertoni
>            Assignee: David Bertoni
>         Attachments: patch.diff
>
>
> This function needs to decode surrogate pairs into the corresponding Unicode 
> code point, just like the other write() overloads.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to