← Prev in month ← Prev in thread

Re: [xml-dev] How to open XML file that reference entity resolver (DTD)

From
Andrew Welch <>
To
Date
2010-06-28T19:14:44Z
ID
<>
Thread
Re: [xml-dev] How to open XML file that reference entity resolver (DTD)
> Second, use an XML Catalog for this. You'll need the DTD for
> XML processing if you try to use entities like &eacute; that
> are defined in it.
>
> Third, you could turn off valdation, probably with something like
> SAXBuilder.setValidating(false);
>
> Or, set the Java property http://xml.org/sax/features/validation
> to false.

As far as I know, that just turns off the yes/no validation aspect,
the DTD is still always fetched just in case its needed for entity
expansion and defaulted values (even if there are none)... that was
the case a few years back anyway.


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
← Prev in month ← Prev in thread