[tei-council] Constraints on anyURI

Martin Holmes mholmes at uvic.ca
Mon Nov 19 18:57:45 EST 2012


What happens if you make it:

sameAs="stuff:anything"

That's a valid private URI. If that generates an error, we couldn't use it.

Cheers,
Martin

On 12-11-19 03:19 PM, Sebastian Rahtz wrote:
> ah. if I run the document() function, I finally get a decent message
>
> Recoverable error on line 604 of tei_all.xsl:
>    FODC0002: I/O error reported by XML parser processing file:/tmp/n-/CTL: /tmp/n-/CTL (No
>    such file or directory)
> @sameAs must be a  valid URI. (resolve-uri(@sameAs))
> Freddy foo:n-CT::#:L
> Error on line 604 of tei_all.xsl:
>    XTRE1160: The fragment identifier {:L} is not a valid NCName
>
> so that may be a worthwhile test to put in  a schematron, just
>
>    test="document(@sameAs)
> --
> Sebastian Rahtz
> Director (Research Support) of Academic IT Services
> University of Oxford IT Services
> 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
>
>

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)


More information about the tei-council mailing list