Re: [SCXML] Incorrect and incomplete test 330 for ecmascript
Jim Barnett <[email protected]> Thu, 12 Feb 2015 08:55:03 -0500
| Newsgroups | gmane.comp.web.voice |
|---|---|
| Message-ID | <[email protected]> |
I've updated confECMA.xsl. - Jim On 2/11/2015 5:17 PM, Ate Douma wrote: > 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 >