[SDO for C++] Unable to load an XML doc with no namespace
---------------------------------------------------------

                 Key: TUSCANY-747
                 URL: http://issues.apache.org/jira/browse/TUSCANY-747
             Project: Tuscany
          Issue Type: Bug
          Components: C++ SDO
    Affects Versions: Cpp-current
         Environment: All
            Reporter: Geoff Winn


Given the following XML:
<customer><firstName>Jane</firstName><lastName>Doe</lastName></customer>

I have no XSD for this document, and don't want to have one or have to
define specific SDO types for it. I just want to load this XML into an
SDO DataObject.

XMLDocumentPtr doc = XMLHelper::load(xml);
gives me an XMLDocumentPtr with no root DataObject.

char* xml = XMLHelper::save(doc);
gives me this:
<?xml version="1.0" encoding="UTF-8"?>

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