[bdbxml] Problems with queries
"Maike Milling" <[email protected]> Mon, 22 Aug 2005 12:21:08 +0200
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Organization | privat |
| Message-ID | <000001c5a703$37f9b7a0$0300a8c0@janoschs> |
Hi,
I have some problems with doing queries. I use the release 2.1.8, but I
had the same problem with an earlier release.
For the container I use an alias and when I want to do this query:
collection('')distinct-values(/*/Node3)
I get the following error:
com.sleepycat.dbxml.XmlException: Error: Error in XQuery
expression: Unrecognized character 'd' (0x64), line 1, column 16,
errcode = XPATH_PARSER_ERROR
What did I make wrong. It stays like this in the GettingStarted with
Berkeley DB XML for Java.
When I use this query:
collection('')/*/Node3/text()
it works. This is XPath isn't it. And the query below is XQuery? But why
doesn'n it work??
Thanks for your help.
Maike