• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unknown Elements in JAXB 1.6

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. I am an experience Java developer but have never used JAXB before. My client (who is a bit behind the times) is using JAXB 1.6 and Java 1.4. For various reasons, I cannot upgrade at the moment.

The problem I am having is that one of the groups we interface with has decided to add some new XML tags without telling us. I'm trying to resolve the issue without hardcoding the new tags because we don't need them at all. I want to completely ignore them.

Does anyone know of a customization or XSD change that I can use to globally ignore any new tags that we don't specify in the XSD.

In other words, the XML should be validated based on the elements in the XSD and any other tags should be ignored without an exception.

Thanks,
Tom
 
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic