RE: [C++] XMLDocument has no root object

2007-05-16 Thread Andy Grove
has no root object On 27/04/07, Andy Grove [EMAIL PROTECTED] wrote: I'm not using schema - is that a problem? Ah. Welcome to https://issues.apache.org/jira/browse/TUSCANY-747 -- Caroline - To unsubscribe, e-mail: [EMAIL

Re: [C++] XMLDocument has no root object

2007-05-16 Thread Pete Robbins
/xs:schema -Original Message- From: Caroline Maynard [mailto:[EMAIL PROTECTED] Sent: 27 April 2007 16:41 To: tuscany-dev@ws.apache.org Subject: Re: [C++] XMLDocument has no root object On 27/04/07, Andy Grove [EMAIL PROTECTED] wrote: I'm not using schema - is that a problem? Ah. Welcome

Re: [C++] XMLDocument has no root object

2007-05-16 Thread Pete Robbins
@ws.apache.org Subject: Re: [C++] XMLDocument has no root object On 27/04/07, Andy Grove [EMAIL PROTECTED] wrote: I'm not using schema - is that a problem? Ah. Welcome to https://issues.apache.org/jira/browse/TUSCANY-747 -- Caroline

Re: [C++] XMLDocument has no root object

2007-05-16 Thread Pete Robbins
++] XMLDocument has no root object On 27/04/07, Andy Grove [EMAIL PROTECTED] wrote: I'm not using schema - is that a problem? Ah. Welcome to https://issues.apache.org/jira/browse/TUSCANY-747 -- Caroline

[C++] XMLDocument has no root object

2007-04-27 Thread Andy Grove
I am trying to parse an XML document using Tuscany C++ (current build). The XMLHelper::loadFile() method is returning an XMLDocumentPtr and no exceptions are thrown. However, a call to XMLDocument::getRootDataObject() returns NULL. This is the code that I am using. cout START endl; const char

Re: [C++] XMLDocument has no root object

2007-04-27 Thread Caroline Maynard
On 27/04/07, Andy Grove [EMAIL PROTECTED] wrote: I am trying to parse an XML document using Tuscany C++ (current build). The XMLHelper::loadFile() method is returning an XMLDocumentPtr and no exceptions are thrown. However, a call to XMLDocument::getRootDataObject() returns NULL. What do

RE: [C++] XMLDocument has no root object

2007-04-27 Thread Andy Grove
Message- From: Caroline Maynard [mailto:[EMAIL PROTECTED] Sent: 27 April 2007 14:34 To: tuscany-dev@ws.apache.org Subject: Re: [C++] XMLDocument has no root object On 27/04/07, Andy Grove [EMAIL PROTECTED] wrote: I am trying to parse an XML document using Tuscany C++ (current build

RE: [C++] XMLDocument has no root object

2007-04-27 Thread Andy Grove
[mailto:[EMAIL PROTECTED] Sent: 27 April 2007 16:23 To: tuscany-dev@ws.apache.org Subject: Re: [C++] XMLDocument has no root object On 27/04/07, Andy Grove [EMAIL PROTECTED] wrote: Hi Caroline, If I call xmlHelper-save(doc) I just get the prolog e.g. ?xml version=1.0 encoding=UTF-8

Re: [C++] XMLDocument has no root object

2007-04-27 Thread Caroline Maynard
On 27/04/07, Andy Grove [EMAIL PROTECTED] wrote: I'm not using schema - is that a problem? Ah. Welcome to https://issues.apache.org/jira/browse/TUSCANY-747 -- Caroline