JAXB problem - how to ignore namespace?

T

thomas

Hi everybody,

I have XJC 2.0 generated parser. I would like to use it to parse large
amount of xml files.

The problem: although those XML files have generally the same structure,
they may differ in namespace
- namespace contains schema version, new versions have some optional
elements I do not care about.

How can I ignore namespace information so I do not have to keep a separate
structure for each version?

I have tried to modify XJC generated classes manually but with no desired
results.

Tomasz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top