On 15 May 2012, at 20:25, Trevor Muñoz wrote:
> I am adding some schematron tests to my ODD file using <constraintSpec>. When I process the ODD using Roma (from the command line), the resulting schematron file validates when I open it directly but, when I associate the schematron file with my documents, oXygen complains with an error message: 'Failed to compile stylesheet. Undeclared namespace prefix {tei}' .
>
> Adding <ns uri="http://www.tei-c.org/ns/1.0" prefix="tei"/> to the schematron file fixes the problem but obviously I don't want to have to make this change every time I generate my schema files (while developing).
>
that namespace declaration thing is part of the constrainSpec for the root <TEI>
(see http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-TEI.html).
so I don't understand why you are not getting it. Does your ODD
remove or redefine <TEI>?
--
Sebastian Rahtz
Head of Information and Support Group
Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
Sólo le pido a Dios
que el futuro no me sea indiferente
|