Jacob, I validated the xml string in the
spy against the schema got green flag. Thanks Ramesh From: Jacob Danner
[mailto:[EMAIL PROTECTED] This actually seems like one for the user list. XML object is not of type D=ROOT ELEMENT I’ve seen this when I’ve had an invalid XML
fragment. Although the error is not terribly clear, when I’ve seen this
its because I was missing a root element. As an example, I intended for my xml
to look like: <root> <a /> <b /> </root> Instead my ‘xml’ looked like: <a /> <b /> And that’s when I’ve seen this issue. Notice there
is not a root element to the doc and this is bad XML. Can you confirm that you haven’t created a similar
condition in your code? -Jacobd
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi All, I got this exception
when calling the parse method on factory. org.apache.xmlbeans.XmlException: XML object is not of type D=ROOT
ELEMENT
at org.apache.xmlbeans.impl.store.Root.autoTypedDocument(Root.java:445)
at
org.apache.xmlbeans.impl.store.Root.loadXml(Root.java:1049)
at
org.apache.xmlbeans.impl.store.Root.loadXml(Root.java:1033)
at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:333)
at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:244)
at
com.wellsfargo.ilonline.mortgage.service.decision.xmlbeans.response.IlollpsDocument$Factory.parse(Unknown
Source)
at
com.wellsfargo.ilonline.shared.service.credit.TestXmlBeans.main(TestXmlBeans.java:56) Any help will be appreciated. Thanks Ramesh. _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
Title: Unable to parse xml got this exception! help needed
- Unable to parse xml got this exception! help needed Ramesh.Chitturi
- RE: Unable to parse xml got this exception! help need... Jacob Danner
- RE: Unable to parse xml got this exception! help need... Ramesh.Chitturi