Hi Caroline, If I call xmlHelper->save(doc) I just get the prolog e.g. "<?xml version="1.0" encoding="UTF-8"?>" and no content. I've tried with a couple of different input documents and I have also confirmed that I do get an exception if the input document doesn't exist.
Thanks, Andy. -----Original Message----- From: Caroline Maynard [mailto:[EMAIL PROTECTED] Sent: 27 April 2007 14:34 To: [email protected] 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). > The XMLHelper::loadFile() method is returning an XMLDocumentPtr and no > exceptions are thrown. However, a call to > XMLDocument::getRootDataObject() returns NULL. What do you see if you print the XMLDocument ? -- Caroline --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
