[ 
http://issues.apache.org/jira/browse/TUSCANY-490?page=comments#action_12422174 
] 
            
Geoff Winn commented on TUSCANY-490:
------------------------------------

I have a fix for this, but it depends on the contents of the patch for 
TUSCANY-539, so I will post the patch for this one once that fix has been 
applied to the repository.

> 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
>
> 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]

Reply via email to