|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: URNs in SYSTEM declarations
"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...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








