W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > June 1997

Re: IDs - make them case sensitive

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Sat, 28 Jun 1997 18:45:23 -0400
Message-ID: <33B59403.1C78DC76@calum.csclub.uwaterloo.ca>
To: w3c-sgml-wg@w3.org
Dave Peterson wrote:
> By the same token, should
> we allow practically anything as the internal name of an external entity,
> thereby allowing the reference to serve as its own declaration? 

I've been asking that question for a couple of weeks now. Why does
XML-Link encourage people to use system IDs right in the instance
(generally avoided in SGML) while XML-Lang does not allow people to do
so in the "obvious places" (entity references). Or, another way, why
does XML-Lang require external entity references to be indirected
through an "external entity reference" construct while XML-Link does not
*allow* you to use the external entity reference construct *at all*?
Both of these seem reasonable to me (but neither is allowed):

<!DOCTYPE BOOK PUBLIC "-//...">
<BOOK>
&http://www.mybook.com/chapter1.xml;
&http://www.mybook.com/chapter2.xml;
&http://www.mybook.com/chapter3.xml;
</BOOK>

and

<!DOCTYPE PICTUREBOOK PUBLIC "-//..."[
<!ENTITY W3C-LOGO PUBLIC "-//...">
<!ENTITY ISO-LOGO PUBLIC "-//...">
]>
<BOOK>
<IMG XML-LINK="SIMPLE" HREF="W3C-LOGO">W3C Logo</A>.

 Paul Prescod
Received on Saturday, 28 June 1997 18:45:53 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:44 EDT