bug in QueryCollection.java example
31 Dec
2013
31 Dec
'13
1:59 a.m.
Hi there I tried out the QueryCollection example from github and discovered there is a bug in line 47 ``` for $doc in collection() ``` causes [FODC0002] No default collection available. I think it should be ``` for $doc in collection("Collection") ``` then the error is gone.
11 Jan
11 Jan
1:20 p.m.
Hi Morris, thanks for your feedback.
I tried out the QueryCollection example from github and discovered there is a bug in line 47 ``` for $doc in collection()
The original example shouldn’t cause any problems, because the non-argument function call will reference the database that has been created in line 28 (and the code seems in fact to work on my system). Did you modify the code a little? What BaseX version have you been using for testing? Christian
4471
Age (days ago)
4482
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christian Grün -
Morris