Hi Huib,


sorry for the inconvenience. Due to a failing test case
Maven refuses to build. I deactivated the corresponding
module for now (speeding up XQUP replace statements).
The latest repository state contains this fix.


Regards,
Lukas



On Fri, May 20, 2011 at 11:47 AM, Huib Verwey <Huib.Verwey@mpi.nl> wrote:

Op 19 mei 2011, om 17:15 heeft Christian Grün het volgende geschreven:

What about adding version information to db:system() and another
function db:version() to be able to retrieve version information in an
xquery-processable manner?

Good point; I think I'll add the version number to the INFO command
output. As a result, it will also be retrievabe via db:system().

Done; feel free to check out the latest snapshot.

Great, works for me.

However, checking out the latest using "git pull upstream master" gets me this repeatedly when building:

-------------------------------------------------------------------------------
Test set: org.basex.test.query.simple.XQUPTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.831 sec <<< FAILURE!
test(org.basex.test.query.simple.XQUPTest)  Time elapsed: 0.722 sec  <<< FAILURE!
java.lang.AssertionError: 1 wrong queries; [E] expected, [F] found:
-- rep4: /up/cars/good/car/wheels[text()='5 fooboo']
[E] ()
[F] Possible bug? Your feedback is welcome:
Version: BaseX 6.6.3 beta
Java: Apple Inc., 1.6.0_24
OS: Mac OS X, x86_64
Stack Trace: 
java.lang.ArrayIndexOutOfBoundsException: 4
  org.basex.util.Compress.pull(Compress.java:127)
  org.basex.util.Compress.unpack(Compress.java:106)
  org.basex.data.DiskData.txt(DiskData.java:211)
  org.basex.data.DiskData.text(DiskData.java:178)
  org.basex.index.DiskValues.get(DiskValues.java:202)
  org.basex.index.DiskValues.nrIDs(DiskValues.java:97)
  org.basex.data.Data.nrIDs(Data.java:190)
  org.basex.query.expr.CmpG.indexAccessible(CmpG.java:285)
  org.basex.query.path.AxisPath.index(AxisPath.java:164)
  org.basex.query.path.AxisPath.compPath(AxisPath.java:116)
  org.basex.query.path.Path.comp(Path.java:83)
  org.basex.query.QueryContext.compile(QueryContext.java:237)
  org.basex.query.QueryProcessor.compile(QueryProcessor.java:96)
  org.basex.core.cmd.AQuery.query(AQuery.java:75)
  org.basex.core.cmd.XQuery.run(XQuery.java:22)
  org.basex.core.Command.run(Command.java:314)
  org.basex.core.Command.exec(Command.java:296)
  org.basex.core.Command.execute(Command.java:71)
  org.basex.core.Command.execute(Command.java:83)
  org.basex.test.query.simple.QueryTest.test(QueryTest.java:82)
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  java.lang.reflect.Method.invoke(Method.java:597)
  org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)


Hartelijke groet,

Huib Verweij.

--
Drs. Huib Verweij
Senior software developer - The Language Archive
Max Planck Institute for Psycholinguistics
P.O. Box 310
6500 AH Nijmegen
The Netherlands


_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk