XPath spec issue -- iHDSim/player compatibility

Identifying the following issue took hours... for the XPath/spec gurus, any idea why I get this behavior Who's "to spec" and who isn't

This works in iHDSim but crashes the Toshiba player (directly from your blog, Peter!):

<cue begin="//button[state:focused() and count(//button[style:opacity()='1'])=0]" end="defaultNode()[state:focused()=false()]">
<set style:opacity="1"/>
</cue>

However, with this minor modification (or workaround, as the case may be) the player now works fine:

<cue begin="//button[state:focused() and count(class('overlay')[style:opacity()='1'])=0]" end="defaultNode()[state:focused()=false()]">
<set style:opacity="1"/>
</cue>

All <button> elements have a class of "overlay".

Is this a player bug or am I making some other sort of mistake


Answer this question

XPath spec issue -- iHDSim/player compatibility

  • idos

    Yes, absolute latest.

  • A.Russell

    looks like a player bug since the XPath Grammer can generate the expression. "//button[state:focused() and count(//button[style:opacity()='1'])=0]"



  • Ted Rob

    Have you updated your Toshiba firmware That expression is valid...

  • XPath spec issue -- iHDSim/player compatibility