[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: public identifiers [Re: Referencing multiple DTD in an XML document]

  • From: "Liam R. E. Quin" <liamquin@i...>
  • To: xml-dev@i...
  • Date: Thu, 4 Nov 1999 01:29:33 -0500 (EST)

multiple dtd xml
On Wed, 3 Nov 1999, james anderson wrote:
> David Brownell wrote:
[...]
> > I'd encourage you to use PUBLIC identifiers as well, so that
> > local cached copies of those declarations can easily be used.
> Could someone expound further on this statement?

I would *discourage* you from using PUBLIC identifiers.
Any system that bases caches on PUBLIC rather then SYSTEM identifiers
for XML is broken.

The PUBILC keyword is there for backwards compatibility with SGML;
its meaning in XML is not formally defined, and it's usually ignored.
Therefore, if you want interoperability, simply forget it's there.

[...]

> I've yet to see a conclusive discussion of whether
> dtd's (or for that matter schema) in the namespace age are stable. That is,
> whether the same system uri will always identify an identical dtd/schema.
They are not and it won't.

<!NOTATION sh SYSTEM "/bin/sh -c">
<!ENITY systemdate SYSTEM "/bin/date" NDATA sh>
now systemdate returns a different value every tiem you use it (maybe
evenwithin the same document, depending on the processor).

This use of NOTATION is implied by the XML spec and by the SGML handbook,
but since a docuemnt you recieve could just as easily use "format" or "rm",
it's not a good idea, by the way.

> For example, would a processor be conforming if it were to, upon not finding a
> resource "under" a public identifier, retrieve and expand the resource located
> through the system identifier and cache the expanded (or even decoded result)
> "under" the public identifier?
You can do whatever you like with a public identifier -- it's undefined.
No amount of wishful thinking will make it otherwise, for those who
want to use it :-) sorry.

Lee

-- 
Liam Quin, Barefoot Computing, Toronto;  The barefoot agitator
l i a m q u i n     at    i n t e r l o g    dot   c o m
Ankh on irc.sorcery.net, ankle5/Ankle{MD} on DALnet


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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.