- From: Ate Douma <ate@douma.nu>
- Date: Wed, 11 Feb 2015 23:17:32 +0100
- To: "www-voice@w3.org" <www-voice@w3.org>
Hi, While 'cloning' a style sheet to generate scxml tests for a custom language, I discovered the confEcma.xsl template for "//@conf:eventFieldsAreBound" is incomplete/incorrect: <!-- returns true if all the required fields of _event are bound --> <xsl:template match="//@conf:eventFieldsAreBound"> <xsl:attribute name="cond">'name' in _event && 'type' in _event && 'sendid' in _event && 'origin' in _event && 'invokeid' && 'data' in _event</xsl:attribute> </xsl:template> should be: <!-- returns true if all the required fields of _event are bound --> <xsl:template match="//@conf:eventFieldsAreBound"> <xsl:attribute name="cond">'name' in _event && 'type' in _event && 'sendid' in _event && 'origin' in _event && 'origintype' in _event && 'invokeid' in _event && 'data' in _event</xsl:attribute> </xsl:template> The above template is (only) used in test 330. For the record, the same template in confXpath.xsl is correct. Regards, Ate
Received on Wednesday, 11 February 2015 22:18:01 UTC