If the URI that is being pointed is meant to be an XML document
then doc-available() is probably the easiest way, assuming an
XSLT2 toolchain. If you are doing this through other mechanisms,
then I'm sure there are lots of other ways. resolve-uri() may
also be of assistance.
On 03/11/13 16:23, Lou Burnard wrote:
> A question for clever chaps.
> As you probably know, many TEI attributes have a declared value
> of "anyURI", so they can point almost anywhere. Out of curiosity,
> what techniques/tools do people recommend for the validation of
> said URIs? I can find plenty of tools which will check that the
> syntax of the value is correct, but what technique/tool would
> you recommend to find out whether it is actually valid -- in the
> sense that starting from here (where the document is) I can
> recover whatever it's pointing at?
> (The question arises in the context of the longterm preservation
> study Nicolas Larrousse and I postered at Rome)
Dr James Cummings, [log in to unmask]
Academic IT Services, University of Oxford