[tei-council] attRef/@class not valid?

Lou Burnard lou.burnard at retired.ox.ac.uk
Mon Apr 28 15:56:55 EDT 2014


Your ODD validates correctly for me, using the latest Oxygen framework.

It also validates correctly if I change the PI to reference the jenkins 
URL you give in your message.

So I dunno what's going on!


On 28/04/14 18:26, Martin Holmes wrote:
> We still seem to have a problem here. Create an ODD file and try to 
> validate it against this:
>
> <http://teijenkins.hcmc.uvic.ca/job/TEIP5/lastSuccessfulBuild/artifact/release/xml/tei/custom/schema/relaxng/tei_odds.rng> 
>
>
> I get this error:
>
> E [ISO Schematron] cvc-attribute.3: The value 
> 'tei_odds-relatedItem-targetorcontent1-constraint' of attribute 'id' 
> on element 'pattern' is not valid with respect to its type, 'ID'.
>
> If I try to validate against the latest schema in the Oxygen package 
> (updated this morning), I get a whole stack of errors, starting with 
> this one:
>
> System ID: 
> /media/Data/mholmes/Documents/history/stanger-ross/landscapes_of_injustice/xml/properties_odd.xml
> Main validation file: 
> /media/Data/mholmes/Documents/history/stanger-ross/landscapes_of_injustice/xml/properties_odd.xml
> Schema: /home/mholmes/Oxygen XML Editor 
> 15/frameworks/tei/xml/tei/custom/schema/relaxng/tei_odds.rng
> Engine name: Jing
> Severity: error
> Description: element "elementRef" not allowed here; expected the 
> element end-tag, text, element "rng:attribute", "rng:choice", 
> "rng:data", "rng:define", "rng:element", "rng:empty", 
> "rng:externalRef", "rng:grammar", "rng:group", "rng:interleave", 
> "rng:list", "rng:mixed", "rng:notAllowed", "rng:oneOrMore", 
> "rng:optional", "rng:parentRef", "rng:ref", "rng:text", "rng:value" or 
> "rng:zeroOrMore" or an element from another namespace
> Start location: 71:16
> End location: 71:26
>
> I'm attaching my ODD file, which is still in the very simple early 
> stages but as far as I can see should be OK. Can someone try 
> validating this against their 
> [Oxygen]/frameworks/tei/xml/tei/custom/schema/relaxng/tei_odds.rng 
> file and see if they get the same errors as me?
>
> cheers,
> Martin
>
> On 14-04-26 03:48 AM, Sebastian Rahtz wrote:
>>
>> On 25 Apr 2014, at 23:32, Martin Holmes <mholmes at uvic.ca> wrote:
>>
>>> I would thinks so. Can someone else confirm the problem exists with the
>>> current public schema? It's here:
>>>
>>> <http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_odds.rng> 
>>>
>>>
>> that has, as expected
>>
>>           <optional>
>>              <attribute name="class">
>>
>> for attRef.
>>
>> I'd suggest you subscribe to the TEI oxygen framework....
>> -- 
>> Sebastian Rahtz
>> Director (Research) of Academic IT
>> University of Oxford IT Services
>> 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
>>
>> Não sou nada.
>> Nunca serei nada.
>> Não posso querer ser nada.
>> À parte isso, tenho em mim todos os sonhos do mundo.
>>
>
>



More information about the tei-council mailing list