You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Sudarshana Murthy <sp...@fastmail.fm> on 2004/04/12 16:15:59 UTC

XmlException while parsing an XML file

Hi,

I am getting the XmlException while parsing an XML file. This exception
gets thrown as soon as the method
OuterDocument.Factory.parse(xmlFileName) gets called. I tried changing
the XML document (adding "xmlns" tag) a little, but having no luck still.
The XML document that i am trying to parse starts with <?xml
version="1.0" encoding="ISO-8859-1" ?>

The error i am getting is:

    XmlException: XML object is not of type D=ROOTDOCUMENT

Has anyone seen this problem before? Please let me know of any workaround
to fix this.

Appreciate your response
Sudi

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/