A
Albert
Hi, is there any library out there which checks XML when writing it ?
I've tried googling, but without any result.
I've tried googling, but without any result.
Albert said:Hi, is there any library out there which checks XML when
writing it ? I've tried googling, but without any result.
Hi, is there any library out there which checks XML when writing it ?
I've tried googling, but without any result.
Donkey said:Any decent Java IDE or any XML editor does that.
Hi, is there any library out there which checks XML when writing it ?
I've tried googling, but without any result.
Nothing springs to mind.
You could send your output to a validating document builder, and if it
all goes in successfully, you know it's okay. The key code is in here:
http://www.herongyang.com/XML/DTD-Validation-of-XML-with-DTD-Using-DOM.html
However, this would involve building a DOM tree that you didn't need.
Tom Anderson a ?crit :
DOM is a no go for me, in last resort i could re-parse the output file
(with DTD validation) when the writing is done, but i'd like it to be
done on the fly...
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.