Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting JAXB to ignore xml elements

843834May 10 2005 — edited Oct 20 2005
If I want my generated classes to ignore certain XML elements (which may or may not be present in the XML file), how can i do this easily? basically, it's data that's unimportant and i want the parser not to throw an exception when an unexpected element shows up.

Thanks!

-Miriam
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2005
Added on May 10 2005
3 comments
753 views