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

  • From: David Megginson <david@m...>
  • To: XML-Dev Mailing list <xml-dev@i...>
  • Date: 20 Oct 1999 13:48:50 -0400

"Simon St.Laurent" <simonstl@s...> 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@m...
           http://www.megginson.com/

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



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