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

Martin Holmes mholmes at uvic.ca
Mon Apr 28 17:39:22 EDT 2014


My stylesheet build seems to have a different version of that function:

   <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl">
     <desc>work out unique ID for generated Schematron</desc>
   </doc>
   <xsl:function name="tei:makePatternID" as="xs:string">
     <xsl:param name="context"/>
     <xsl:for-each select="$context">
       <xsl:value-of
	  select="(../ancestor::*[@ident]/@ident,'constraint',../@ident)"
	  separator="-"/>
     </xsl:for-each>
   </xsl:function>

<http://teijenkins.hcmc.uvic.ca/job/Stylesheets/lastSuccessfulBuild/artifact/dist/xml/tei/stylesheet/common/functions.xsl>

compared with yours:

<http://bits.nsms.ox.ac.uk:8080/jenkins/job/Stylesheets/lastSuccessfulBuild/artifact/dist/xml/tei/stylesheet/common/functions.xsl>

I'll try wiping out my workspace and building the Stylesheets again. You 
haven't changed anything relating to the Git repo, have you?

Cheers,
Martin

On 14-04-28 02:22 PM, Sebastian Rahtz wrote:
>
> On 28 Apr 2014, at 22:12, Martin Holmes <mholmes at uvic.ca> wrote:
>
>> Just to be clear: And my P5 build ran only about 45 minutes ago,
>> presumably using the current Stylesheet build output:
>    ^^^^^^^^^^^
>
> can you check that your copy of stylesheets/common/functions.xsl has this:
>
> <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl">
>     <desc>work out unique ID for generated Schematron</desc>
>   </doc>
>   <xsl:function name="tei:makePatternID" as="xs:string">
>     <xsl:param name="context"/>
>     <xsl:for-each select="$context">
>       <xsl:variable name="num">
> 	<xsl:number level="any"/>
>       </xsl:variable>
>       <xsl:value-of
> 	  select="(../ancestor::*[@ident]/@ident,'constraint',../@ident,$num)"
> 	  separator="-"/>
>     </xsl:for-each>
>   </xsl:function>
>
> ? has the svn syncing gone awol?
> --
> 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