Hi Gautier,
The XSD version of TEI P5 imports xml.xsd for the xml:id attribute. Roma
does not generate this file so you need to create it and place it in the
same folder as your TEI P5 XSD schema. You can get it from
http://www.w3.org/2001/xml.xsd
Hmm.. maybe it will be better if Roma will generate the reference to
http://www.w3.org/2001/xml.xsd insted of generating a reference to a
local file. Then we can just put a local copy in frameworks and add an
entry in the default oXygen catalog to resolve
http://www.w3.org/2001/xml.xsd to the local copy.
Best Regards,
George
--
George Cristian Bina
http://www.oxygenxml.com
Gautier Poupeau wrote:
> I use oXygen 6.0. When I try to validate my TEI document with P5 XML
> schema generated with roma, I have systematically this 3 errors :
> -Endroit: 14:33
> Description: E s4s-elt-must-match.1: The content of
> 'tei.global.attribute.xmlid' must match (annotation?, ((attribute |
> attributeGroup)*, anyAttribute?)). A problem was found starting at:
> attribute.
> - Endroit: 25:35
> Description: E s4s-elt-must-match.1: The content of
> 'tei.global.attribute.xmllang' must match (annotation?, ((attribute |
> attributeGroup)*, anyAttribute?)). A problem was found starting at:
> attribute.
> - Endroit: 36:35
> Description: E s4s-elt-must-match.1: The content of
> 'tei.global.attribute.xmlbase' must match (annotation?, ((attribute |
> attributeGroup)*, anyAttribute?)). A problem was found starting at:
> attribute.
> Is it normal ?
>
> Gautier Poupeau
|