Howto get name of tag in XMLError

2007-02-05 Thread Fredrik Petersson (Kentor)
Hi!

 

When MyXMLObject.validate() fails I would like to get the name of the
tag where the error occurred, is it possible to get the name, and if,
how?

 

Best regards!

/Fredrik 

 



RE: Howto get name of tag in XMLError

2007-02-05 Thread Cezar Andrei
Use boolean validate(XmlOptions options); method and check out it's
javadoc on how to get details about errors.

 

Cezar

 



From: Fredrik Petersson (Kentor) [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 7:57 AM
To: user@xmlbeans.apache.org
Subject: Howto get name of tag in XMLError

 

Hi!

 

When MyXMLObject.validate() fails I would like to get the name of the
tag where the error occurred, is it possible to get the name, and if,
how?

 

Best regards!

/Fredrik 

 

___
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.