incubator-vxquery-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eldon Carman <ecarm...@ucr.edu>
Subject Error when testing dates
Date Wed, 04 Jul 2012 18:47:56 GMT
Below is an error I received when attempting to run a query with dates.

XQuery:
op:date-equal(xs:date("2004-12-25Z"), xs:date("2004-12-25+07:00"))

Error Message:
Exception in thread "main" org.apache.vxquery.exceptions.SystemException:
XPST0081: ../../xquery/simple/comparison/eq_date_date.xq (1:1) It is a
static error if a QName used in a query contains a namespace prefix that
cannot be expanded into a namespace URI by using the statically known
namespaces.
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.createQName(XMLQueryTranslator.java:1685)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.createQName(XMLQueryTranslator.java:1674)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateFunctionExprNode(XMLQueryTranslator.java:1294)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateExpression(XMLQueryTranslator.java:666)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translatePathExpr(XMLQueryTranslator.java:1441)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateExpression(XMLQueryTranslator.java:662)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateExpressionList(XMLQueryTranslator.java:1954)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateExprNode(XMLQueryTranslator.java:1387)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateExpression(XMLQueryTranslator.java:643)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateMainModule(XMLQueryTranslator.java:626)
at
org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateModule(XMLQueryTranslator.java:253)
at
org.apache.vxquery.xmlquery.query.XMLQueryCompiler.compile(XMLQueryCompiler.java:112)
at org.apache.vxquery.cli.VXQuery.execute(VXQuery.java:147)
at org.apache.vxquery.cli.VXQuery.main(VXQuery.java:81)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message