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

Peter Stadler stadler at edirom.de
Mon Apr 28 14:44:57 EDT 2014


Hi Martin,

I can confirm the error. When I use the Oxford jenkins instead, it does work, though. (But well, there the latest successful build is one day behind.)

Best
Peter
 
Am 28.04.2014 um 19:26 schrieb Martin Holmes <mholmes at UVIC.CA>:

> 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.
>> 
> <properties_odd.xml>-- 
> tei-council mailing list
> tei-council at lists.village.Virginia.EDU
> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council
> 
> PLEASE NOTE: postings to this list are publicly archived

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.village.Virginia.EDU/pipermail/tei-council/attachments/20140428/2ba9410e/attachment.bin 


More information about the tei-council mailing list