XPath expression with < operator does not work

Version 1
    This document was generated from CDN thread

    Created by: Joerg Wesely on 25-06-2011 07:30:31 AM
    Hi all,
     
    I'd like to read opening hours from an XML file. The UCCX version is 8.5.
     
    The XML looks like this:
     
    <ccdata>
       <dow>

          <dow6>
             <open>
                <from hour="8"  minute = "00" />
                <until hour="19" minute ="15" />
             </open>           
         </dow6>
      </dow>
    </ccdata>

     
    I simpified the file for testing, it should contain several open items later for every day of week.
     
    I want to use an XPath expression to check if there's a open item for the current day of week and time.
    I started with a simplified expression that should return the node for an hour value of 8:
     
    //ccdata/dow/dow6/open/from[@hour=8 ]/@hour
     
    that's working- it returns "8".
    But if I change the expression to return the node for an hour value less then 9:
     
    //ccdata/dow/dow6/open/from[@hour<9]/@hour
     
    it returns nothing. If I enter the expression into a XPath test tool ("XPath Visualizer Tool") it looks ok.
     
    Any ideas? Is that a bug?
     
    Thanks in advance
     
    Jörg

    Subject: RE: XPath expression with < operator does not work
    Replied by: Joerg Wesely on 24-10-2011 11:28:59 AM
    Hi,

    it's working now after I updated to Version 8.5.1.11002-22.