[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] How to open XML file that reference entity resolver(DTD)
- From: Liam R E Quin <liam@w3.org>
- To: Mike Sokolov <sokolov@ifactory.com>
- Date: Tue, 29 Jun 2010 13:57:46 -0400
On Tue, 2010-06-29 at 13:12 -0400, Mike Sokolov wrote:
> Another option if you don't care about DTD features like entities is to
> write a URI resolver that simply returns an empty document (Source?) for
> everything, or maybe everything ending '.dtd'. Based on my research in
> various mailing lists, this seems to be the way to use standard XML
> tools while completely disabling DTD processing. It'll only be useful
> in special circumstances, though.
It also does not disable processing of an internal subset,
<!DOCTYPE shop [
<!ENTITY name "My Happy Shop">
]>
<shop>..... &name;....</shop>
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]