URNs in SYSTEM declarations

David Megginson david at megginson.com
Wed Oct 20 19:50:32 BST 1999


"Simon St.Laurent" <simonstl at simonstl.com> writes:

> URNs are an acceptable part of the URI spec, but XML processors may have no
> way to resolve them to actual resources.  What should a validating parser
> do when confronted by:
> 
> <!DOCTYPE myDoc SYSTEM "urn:itsSoObvious">

Send it to the SAX EntityResolver and pray that a usable InputSource
comes back (at least this is one thing that we did allow for in SAX
1.0).

Actually, URN resolution is a *really* good candidate for a SAX
filter: the filter can take the URN from the SAX parser, replace it
with a URL, and pass than on to the client application for (optional)
further processing before returning it to the parser.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list