Changed dynamic flow syntax
authorPhilippe Le Hégaret <plh@w3.org>
Thu, 29 Oct 2009 18:11:29 +0000
changeset 186 9e18cd2f0acf
parent 185 12c38e52a0f5
child 187 41f7fede1dec
Changed dynamic flow syntax
testsuite/Report/report.xslt
--- a/testsuite/Report/report.xslt	Thu Oct 29 18:06:45 2009 +0000
+++ b/testsuite/Report/report.xslt	Thu Oct 29 18:11:29 2009 +0000
@@ -492,7 +492,7 @@
       <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:dynamicFlow[t:isFlowFunction(.)])'/></xsl:call-template></td>
    </tr>
    <tr>
-      <th>@tts:dynamicFlow="&lt;flowFunction&gt;+ &lt;flowInternalFunction&gt;+"</th>
+      <th>@tts:dynamicFlow="(&lt;flowFunction&gt; &lt;flowInternalFunction&gt;+)+"</th>
       <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.7</xsl:with-param></xsl:call-template></td>
       <td><xsl:value-of select='count($tests/tt:tt[.//@tts:dynamicFlow[t:isDynamicFlow(.)]])'/></td>
       <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:dynamicFlow[t:isDynamicFlow(.)])'/></xsl:call-template></td>
@@ -1334,7 +1334,7 @@
     <xsl:function name="t:isDynamicFlow" as="xs:boolean">
       <xsl:param name='s' as="xs:string"/>
 
-      <xsl:value-of select='matches($s, "^((in|out)\((glyph|line|character|word)(,(jump|smooth))?\))+((fill|clear)\((auto|\d(\.\d)?(s|ms|f|t)?)\))+$")'/> 
+      <xsl:value-of select='matches($s, "^((in|out)\((glyph|line|character|word)(,(jump|smooth))?\)((fill|clear)\((auto|break|\d(\.\d)?(s|ms|f|t)?)(,\d(\.\d)?(s|ms|f|t))?\))+)+$")'/> 
 
     </xsl:function>