Re: Validating IDREFS...

Peter Murray-Rust (peter@ursus.demon.co.uk)
Mon, 07 Sep 1998 18:57:46


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?

P.
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg