DataObjectPtr::getByte returns incorrect data
---------------------------------------------
Key: TUSCANY-490
URL: http://issues.apache.org/jira/browse/TUSCANY-490
Project: Tuscany
Type: Bug
Components: C++ SDO
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]