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/06/06 02:12:26 UTC
[jira] Created: (XALANC-646) During transcoding XalanC fails to
append '0' to the transcoded string
During transcoding XalanC fails to append '0' to the transcoded string
-----------------------------------------------------------------------
Key: XALANC-646
URL: https://issues.apache.org/jira/browse/XALANC-646
Project: XalanC
Issue Type: Bug
Environment: all
Reporter: Dmitry Hayes
If for some reason transcoding with Xerces fails , XalanC is trying to transcode the string by transcoding every single code point. If the original string is ended with '0' , it's usially transcoded to \0 too . The characted is appended to the result string by :
theTargetVector.insert(
theTargetVector.end(),
theOneTranslatedWbChar,
theOneTranslatedWbChar + XalanDOMString::length(theOneTranslatedWbChar));
For a string , containing only one \0 character , our XalanDOMString::length(...) function returns zero . As a result , we call the insert( theTargetVector.end(),
theOneTranslatedWbChar,
theOneTranslatedWbChar) , that makes no effect on the result string .
--
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
[jira] Closed: (XALANC-646) During transcoding XalanC fails to
append '0' to the transcoded string
Posted by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Hayes closed XALANC-646.
-------------------------------
Resolution: Fixed
The patch couldn't be built ( there is an extra closing bracket ) . Committed with minor changes . Thanks!
> During transcoding XalanC fails to append '0' to the transcoded string
> -----------------------------------------------------------------------
>
> Key: XALANC-646
> URL: https://issues.apache.org/jira/browse/XALANC-646
> Project: XalanC
> Issue Type: Bug
> Environment: all
> Reporter: Dmitry Hayes
> Assignee: Ashley Zinyk
> Attachments: patch.diff
>
>
> If for some reason transcoding with Xerces fails , XalanC is trying to transcode the string by transcoding every single code point. If the original string is ended with '0' , it's usially transcoded to \0 too . The characted is appended to the result string by :
> theTargetVector.insert(
> theTargetVector.end(),
> theOneTranslatedWbChar,
> theOneTranslatedWbChar + XalanDOMString::length(theOneTranslatedWbChar));
> For a string , containing only one \0 character , our XalanDOMString::length(...) function returns zero . As a result , we call the insert( theTargetVector.end(),
> theOneTranslatedWbChar,
> theOneTranslatedWbChar) , that makes no effect on the result string .
--
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
[jira] Assigned: (XALANC-646) During transcoding XalanC fails to
append '0' to the transcoded string
Posted by "Ashley Zinyk (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashley Zinyk reassigned XALANC-646:
-----------------------------------
Assignee: Ashley Zinyk
> During transcoding XalanC fails to append '0' to the transcoded string
> -----------------------------------------------------------------------
>
> Key: XALANC-646
> URL: https://issues.apache.org/jira/browse/XALANC-646
> Project: XalanC
> Issue Type: Bug
> Environment: all
> Reporter: Dmitry Hayes
> Assignee: Ashley Zinyk
>
> If for some reason transcoding with Xerces fails , XalanC is trying to transcode the string by transcoding every single code point. If the original string is ended with '0' , it's usially transcoded to \0 too . The characted is appended to the result string by :
> theTargetVector.insert(
> theTargetVector.end(),
> theOneTranslatedWbChar,
> theOneTranslatedWbChar + XalanDOMString::length(theOneTranslatedWbChar));
> For a string , containing only one \0 character , our XalanDOMString::length(...) function returns zero . As a result , we call the insert( theTargetVector.end(),
> theOneTranslatedWbChar,
> theOneTranslatedWbChar) , that makes no effect on the result string .
--
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