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 2007/02/03 03:38:05 UTC
[jira] Commented: (XALANC-630) Incorrect cast in XalanUTF16Writer
[ https://issues.apache.org/jira/browse/XALANC-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469935 ]
Dmitry Hayes commented on XALANC-630:
-------------------------------------
Yes , it's a bug . Thanks !
> Incorrect cast in XalanUTF16Writer
> ----------------------------------
>
> Key: XALANC-630
> URL: https://issues.apache.org/jira/browse/XALANC-630
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Affects Versions: CurrentCVS
> Reporter: David Bertoni
> Assigned To: David Bertoni
> Attachments: patch.diff
>
>
> XalanUTF16Writer casts its buffer to const char* before calling the underlying Writer instance. This is incorrect, because there is an explicit overload for Writer::write() for const XalanDOMChar*.
> A patch is attached. Committers, can you please review?
--
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org