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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: URNs in SYSTEM declarations

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: XML-Dev Mailing list <xml-dev@ic.ac.uk>
  • Date: 20 Oct 1999 13:48:50 -0400

"Simon St.Laurent" <simonstl@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

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 Megginson                 david@megginson.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

Copyright 2001 XML.org. This site is hosted by OASIS