namespace problems nehmen kein Ende
Friday, 24 September 2010 · 2 messages · last reply 25 Sep 2010
GB
Godmar Back24 Sep 2010 06:45 #
Hi,
BaseX's server sends illegal XML to the client, see below. This should never happen, correct?
- Godmar
Quoted text · 1 line
> java -cp "../../../../WEB-INF/lib/*" org.basex.BaseXClient -p 1985
Username: admin
Password:
BaseX 6.2.3 [Client]
Try "help" to get some information.
Quoted text · 1 line
> *xquery declare namespace atom='http://www.w3.org/2005/Atom';
doc("libx2_feed")/atom:feed/atom:entry[atom:id="49"]*
<entry xmlns="http://libx.org/xml/libx2" xmlns:libx="
http://libx.org/xml/libx2" xmlns="http://www.w3.org/2005/Atom">
<id>49</id>
<title>Package 2</title>
<updated>2010-09-23T19:17:06.183Z</updated>
<author>
<name>LibX Team</name>
<uri>http://libx.org</uri>
<email>libx.org at gmail.com</email>
</author>
<content type="html">Content created by LibX Libapp Builder</content>
<libx:package>
<libx:entry xmlns="http://libx.org/xml/libx2" src="50"/>
</libx:package>
</entry>
Query executed in 2.19 ms.Quoted text · 1 line
>
LW
Leonard Wörteler25 Sep 2010 14:59 #
Hi Godmar,
Quoted text · Godmar Back · 3 lines
Am 24.09.2010 04:47, schrieb Godmar Back: > BaseX's server sends illegal XML to the client, see below. This should > never happen, correct?
no, that shouldn't happen. Did you try BaseX 6.2.7 from the Maven repository [1]? If the problem is still present there, would it be possible for you to send us the zipped database folder, e.g. ~/BaseXData/libx2_feed? That would greatly simplify debugging.
Sorry for the inconvenience,
Cheers Leo
__________
[1] http://www.inf.uni-konstanz.de/dbis/basex/maven/org/basex/basex/6.2.7/
Written for BaseX 6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery