[tei-council] xsi:location

James Cummings James.Cummings at computing-services.oxford.ac.uk
Tue Oct 23 19:59:17 EDT 2007


Sebastian Rahtz wrote:
> I have successfully added the xsi:schemaLocation thing to DTDs;
> however, when I add it to the RELAX NG schema, and thence to
> the XSD generated by trang, it is illegal:
> 
> P5/Test/x.xsd:5:40: error: no-xsi: The {target namespace} of an 
> attribute declaration must not match 
> 'http://www.w3.org/2001/XMLSchema-instance'.
> 
> So it is built into XSD processors that they recognize the
> attribute, but it is illegal if you actually declare it.  Words
> fail me, really.
> 
> So unless someone has a good idea how to get around this,
> I can only do it for DTDs.

If we can't do it for all, I'd say we shouldn't do it at all.

> Note that the conversion from RNG to XSD is a black box
> (trang) which we cannot easily touch.

Ask Mr Clark what he'd suggest?  Why is he trapping that as an error?

-James

-- 
Dr James Cummings, Oxford Text Archive, University of Oxford
James dot Cummings at oucs dot ox dot ac dot uk


More information about the tei-council mailing list