XML name() not works on Firefox and IE 11

  • Problem Description

    The use of name() on xml not works under:

    Firefox 39.0 desktop and android versions.

    IE 11.0.96

    But works under:

    Chrome 43, Dolphin (android versions)

    I opened an thread about this problem and Magistross confirm this problem:

    viewtopic.php?f=147&t=149672

    Attach a Capx

    https://www.dropbox.com/s/bqov8q804lzln ... .capx?dl=0

    Description of Capx

    show the name nodes ("<name></name>") from one selected "book" node, from xml file.

    Steps to Reproduce Bug

      simply use ("name()") from the usual way

    Observed Result

    No result from operation

    Expected Result

    list of xml node names

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (YES)
    • Internet Explorer: (YES) (11.0.96...)

    Operating System and Service Pack

    Windows 7 SP1

    Construct 2 Version ID

    206 64bit

    EDIT:

    If somebody test this and if works or not, post results please. I'm looking views raising on this thread but nobody post results, thanks you. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Sorry, I'm not sure what we can do about this. The browser evaluates the XPath, not Construct 2, and it looks like Firefox and IE don't understand that expression (or something in the 'for each node' XPath). FWIW, the new Edge browser does work correctly, but I don't know why Firefox doesn't...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Not worry, I moved to chrome and anothers , everything fine. Time will fix it for sure, when mozilla notice it properly.

    Thanks.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)