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

Martin Holmes mholmes at uvic.ca
Mon Apr 28 17:12:18 EDT 2014


Just to be clear: And my P5 build ran only about 45 minutes ago, 
presumably using the current Stylesheet build output:

<http://teijenkins.hcmc.uvic.ca/job/TEIP5/lastSuccessfulBuild/artifact/release/xml/tei/custom/schema/relaxng/tei_odds.rng>

And it still contains this:

<pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                   id="tei_odds-relatedItem-targetorcontent1-constraint">
             <rule context="tei:relatedItem">
                <sch:report xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                            xmlns:xi="http://www.w3.org/2001/XInclude"
                            xmlns="http://www.tei-c.org/ns/1.0"
                            xmlns:teix="http://www.tei-c.org/ns/Examples"
                            xmlns:rng="http://relaxng.org/ns/structure/1.0"
                            test="@target and count( child::* ) &gt; 0">
If the @target attribute on <sch:name/> is used, the
relatedItem element must be empty</sch:report>
             </rule>
          </pattern>
          <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                   id="tei_odds-relatedItem-targetorcontent1-constraint">
             <rule context="tei:relatedItem">
                <sch:assert xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                            xmlns:xi="http://www.w3.org/2001/XInclude"
                            xmlns="http://www.tei-c.org/ns/1.0"
                            xmlns:teix="http://www.tei-c.org/ns/Examples"
                            xmlns:rng="http://relaxng.org/ns/structure/1.0"
                            test="@target or child::*">A relatedItem 
element should have either a 'target' attribute
         or a child element to indicate the related bibliographic 
item</sch:assert>
             </rule>
          </pattern>

Cheers,
Martin

On 14-04-28 02:01 PM, Martin Holmes wrote:
> My Jinks stylesheets last built less than two hours ago:
>
> <http://bits.nsms.ox.ac.uk:8080/jenkins/job/Stylesheets/lastSuccessfulBuild/>
>
> and the error still persists.
>
> Cheers,
> Martin
>
> On 14-04-28 01:05 PM, Sebastian Rahtz wrote:
>> UVic Jenkins can’t have the latest stylesheets. If you compare the schemas (below) you
>> see that I have fixed the problem of duplicate IDs.
>>
>> Why UVic stylesheet build has gone AWOL, god and jenkins alone know….
>>
>>
>> 6c6
>> < Schema generated from ODD source 2014-04-27T19:26:52Z.
>> ---
>>> Schema generated from ODD source 2014-04-28T11:26:15Z.
>> 8c8
>> <       27th April 2014, revision 12873
>> ---
>>>         28th April 2014, revision 12879
>> 774c774
>> <             id="tei_odds-att.datable-calendar-calendar-constraint-1">
>> ---
>>>               id="tei_odds-att.datable-calendar-calendar-constraint">
>> 1363c1363
>> <             id="tei_odds-att.typed-subtypeTyped-constraint-2">
>> ---
>>>               id="tei_odds-att.typed-subtypeTyped-constraint">
>> 1388c1388
>> <             id="tei_odds-att.pointing-targetLang-targetLang-constraint-3">
>> ---
>>>               id="tei_odds-att.pointing-targetLang-targetLang-constraint">
>> 1534c1534
>> <             id="tei_odds-att.spanning-spanTo-spanTo-2-constraint-4">
>>
>> ….
>> --
>> 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