Thank you! I didn't have my compiled xmlbeans in my classpath.
I'll use the user list in the future.
Vic
"Springer, Ian P." <[EMAIL PROTECTED]> wrote:
"Springer, Ian P." <[EMAIL PROTECTED]> wrote:
Hello Victor,Make sure the name of the document element in your file is correct and that the corresponding compiled XmlBeans are in your classpath. Once you get XmlObject.Factory#parse() to return the correct typed XmlObject, you can schema-validate its contents by calling XmlObject#validate() (see http://xmlbeans.apache.org/docs/2.0.0/reference/org/apache/xmlbeans/XmlObject.html#validate()).Btw, your question would have probably been more suitable for the users list instead of the dev list.Ian
From: Victor Pezzola [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 08, 2005 10:55 PM
To: dev@xmlbeans.apache.org
Subject: Conformant XMLHi,I'm bringing in an XML file that should be compliant to the schema; however, the xmlObjExpected instanceof is not identifying it as a valid match. How can I find out the problem with the XmlObject? Perhaps, using a cursor to look at the underlying XML? Does anyone have any suggestions?Thank You,Vic