OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[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)

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 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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS