By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,649 Members | 2,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,649 IT Pros & Developers. It's quick & easy.

Customizing JAXB Error

P: n/a
I am using JAXB for parsing the XML file. When any validation error occurs
like a particular tag value in the XML file is not in sync with what is
defined in the schema, the JAXB is not displaying the tag name in the
exception message. It just displays the message like – “the value does not
match the regular expression "[A-Z]{2,2}".

Is there anyway in retrieving the tag name when a validation error occurs in
JAXB?

--
techeek
http://oxyin.com/techeek
Jan 7 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Techeek wrote:
I am using JAXB for parsing the XML file. When any validation error occurs
like a particular tag value in the XML file is not in sync with what is
defined in the schema, the JAXB is not displaying the tag name in the
exception message. It just displays the message like – “the value does not
match the regular expression "[A-Z]{2,2}".

Is there anyway in retrieving the tag name when a validation error occurs in
JAXB?
You might want to look for a Java specific newsgroup or mailing list.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jan 7 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.