[Home] [By Thread] [By Date] [Recent Entries]

  • From: Liam R E Quin <liam@w...>
  • To: Mike Sokolov <sokolov@i...>
  • 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member