Cannot compare xs:integer to empty()

Help
marcvc
2004-12-16
2012-10-08
  • marcvc
    marcvc
    2004-12-16

    Michael,

    using Saxon 8.1.1, consider the following XQuery:

    1 >= ()

    It results in net.sf.saxon.xpath.StaticError: Cannot compare xs:integer to empty()

    Thanks,
    Marc

     
    • Michael Kay
      Michael Kay
      2004-12-22

      Thanks. This problem seems to have gone away in Saxon 8.2. I have added a test case so it doesn't recurr.

      Michael Kay