[jdom-interest] How to override document embedded DTD?
Per Norrman
per.norrman at austers.se
Mon Aug 30 05:46:42 PDT 2004
Hi,
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.
/pmn
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,
>>
>> Stefan
>> _______________________________________________
>> To control your jdom-interest membership:
>> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
>
>
>
>
>
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
>
More information about the jdom-interest
mailing list