W3C home > Mailing lists > Public > www-tag@w3.org > September 2002

Re: two failings of XLink

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Thu, 26 Sep 2002 22:40:06 -0400
Message-Id: <p04330101b9b973faa21b@[]>
To: "Simon St.Laurent" <simonstl@simonstl.com>, www-tag@w3.org

At 3:58 PM -0400 9/26/02, Simon St.Laurent wrote:

>I'm still not quite sure why you started out by saying:
>>  There is no one-URI per element rule in XLink. there is a one-URI per
>>  tag rule. That'sa very different thing.

Consider this example:

<object xmlns:xlink="http://www.w3.org/TR/1999/xlink">
   <longdesc xlink:href="http://www.example.com"/>
   <src xlink:href="http://www.example.org"/>
   <someotherlink xlink:href="http://www.example.net"/>
   Look Mom! We can put alternate text here!
   We can even <strong>markup</strong> the alternate text.
Hell, we can even provide a classic HTML
   <img src="http://www.example.org"/> for browsers that don't support
   XHTML2. I learned this trick from Java.

This img element has *3* links. The img element is not just about 
it's start tag. It includes all its content.

| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
Received on Thursday, 26 September 2002 22:53:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:54 UTC