Validating IDREFS...

Peter Murray-Rust peter at
Mon Sep 7 22:20:33 BST 1998

At 13:12 05/09/98 +0200, Lars Marius Garshol wrote:
>I've never felt that this was a difficult choice. For links inside the
>document where you can count on IDs to be present, use IDREF, for
>external links, links to arbitrary elements (or with even finer
>granularity if required) use XPointer.

I have also struggled gently with this and - at present - tend not to use
IDREF at all. The only - but valuable - benefit of IDREF is that it
requires the parser to check presence of IDs. However I believe that the
XLink approach is not to use IDREF for href so that IDREF cannot be used
with XLink. Since XLink is a cornerstone of much of what I do, I can't see
that I should use IDREF. Is this reasonable?

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS, Virtual Hyperglossary

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list