W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > January to March 2000

Discrimination against all-inline links

From: John Cowan <jcowan@reutershealth.com>
Date: Mon, 24 Jan 2000 10:42:21 -0500
Message-ID: <388C72DD.653CEAD@reutershealth.com>
To: www-xml-linking-comments@w3.org
For no discernible reason, the current XLink draft does not allow
links all of whose resources are local.  This restriction should
be lifted, requiring only that an extended link have at least
one resource either local or remote.

Doing so allows greater simplicity and generality in link processing
and validating code, and permits link authors to create groups of
small resources joined by a link without requiring artificial
locator-type elements.

Example:

	<link xlink:type='extended'>
		<resource xlink:type='resource' xlink:role='alpha'>
			(resource 1)
		</resource>
		<resource xlink:type='resource' xlink:role='beta'>
			(resource 2)
		</resource>
	</link>

Currently, this must be expressed artificially and asymmetrically as:

	<link xlink:type='extended'>
		<resource xlink:type='resource' xlink:role='alpha'>
			(resource 1)
		</resource>
		<locator xlink:type='locator' xlink:href='#resource2' xlink:role='beta'/>
	</link>
	<resource id='resource2'>
		(resource 2)
	</resource>

-- 

Schlingt dreifach einen Kreis vom dies! || John Cowan <jcowan@reutershealth.com>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)
Received on Monday, 24 January 2000 10:42:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:40 GMT