[ http://issues.apache.org/jira/browse/TUSCANY-490?page=all ]
Geoff Winn updated TUSCANY-490:
-------------------------------
Attachment: TUSCANY-490.patch
Patch built and tested on Windows XP with VC7 and on RHEL 3.
> DataObjectPtr::getByte returns incorrect data
> ---------------------------------------------
>
> Key: TUSCANY-490
> URL: http://issues.apache.org/jira/browse/TUSCANY-490
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Reporter: Andrew Borley
> Priority: Minor
> Attachments: TUSCANY-490.patch
>
>
> Some xml like <byte>123</byte> where the byte element contains an xsd:byte
> type, is converted into a DataObject and then queried.
> // returns the correct data: "123"
> const char* cs = myDataObjectPtr->getCString("byte");
> // Returns incorrect data: '1' (Ox31) - looks like it's just taking the
> first character, rather than converting 123 to the character '{' (Ox7B)
> char c = myDataObjectPtr->getByte("byte");
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]