[jdom-interest] How to override document embedded DTD?
per.norrman at austers.se
Mon Aug 30 05:46:42 PDT 2004
sorry, nothing simple and immediate that I'm aware of. You may
configure an XMLReader to report element and attribute declarations,
but that is of no help here.
You can of course write a FilterStream that filters out the original
DOCTYPE section and replaces it with whatever you want't.
Stefan Plattner wrote:
> Is my question too simple/stupid or does just nobody know an answer to
> my question?
> Please give me a hint!
> with kind regards
> Stefan Plattner
> --On Dienstag, 17. August 2004 13:29 +0200 Stefan Plattner
> <jdom at plattner.ws> wrote:
>> Hello JDOM-Professionals!
>> I have a XML related question which may not really match with this list
>> but I really hope someone of you would be so kind to answer.
>> At the moment I build a JDOM document with a code snippet like this
>> this.builder = new org.jdom.input.SAXBuilder();
>> this.doc = builder.build(filename);
>> Is there a way to override a documented embedded DTD which is then used
>> to validate and for entity resolvement on parsing?
>> with kind regards,
>> To control your jdom-interest membership:
> To control your jdom-interest membership:
More information about the jdom-interest