Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JaxB limitation: Does not preserve comments or includes!

Status
Not open for further replies.

neseidus

Programmer
Sep 1, 2004
41
0
0
CA
Hi
I'm not sure how many people watching this forum use JaxB but here goes:
I'm using JaxB to both read in and write out my XML files.
This has worked fine so far but I've just noticed that in reading the Xml JaxB appears to ignore all comments. So when I output the data back to Xml I lose this information. I can't find anything mentioning this problem in the docs.
Another problem is that although JaxB can handle included Xml when reading in files, it cannot handle outputting Xml with includes (it just duplicates the data)

If anyone can offer any suggestions to either of these problems, I would be VERY appreciative
Thanks for your time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top