jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius" <dbros...@mebigfatguy.com>
Subject Re: Problem with ISO9075 encoded name in XPath Query?
Date Mon, 02 Mar 2009 16:09:06 GMT
Don't encode the name when you save it.
Only encode the name when using xpath.

----- Original Message ----- 
From: "Mario-Leander Reimer" <leander.reimer@vva-networks.de>
To: <users@jackrabbit.apache.org>
Sent: Monday, March 02, 2009 10:29 AM
Subject: Problem with ISO9075 encoded name in XPath Query?

Hi Jackrabbit users,

I have a problem with an XPath query in our system when the path contains 
spaces. Well, it does not really contain spaces. When we save the node, we 
encode the name and path with the ISO9075 class 

So the name "Test Company" will result in "Test_x0020_Company"

We then construct an XPath query, something like


it never returns any results. But if I have a path that has no ISO9075 
encoded parts like


this query works and returns nodes.

Any ideas? What am I doing wrong?


VVA Networks GmbH

Mario-Leander Reimer
Dipl.-Inf. (FH)
Teamleitung Publishing Solutions
VVA Networks GmbH
: medien mit zukunft
Geisenhausenerstra?e 15-17
81379 M?nchen
Fon:    +49 89 2000375-610
Fax:    +49 89 2000375-699
Mobil:  +49 173 5883541

HRB 33884 D?sseldorf
Gesch?ftsf?hrer Rolf Christian Kassel
Ein Unternehmen der VVA Kommunikation
omnisuite(r) - integrate. automate. communicate.

Diese Nachricht (inklusive aller Anh?nge) ist vertraulich. Sie darf
ausschlie?lich durch den vorgesehenen Empf?nger und Adressaten gelesen,
kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich
erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon
unverz?glich zu informieren und die Nachricht zu l?schen. Jede unerlaubte
Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es vollst?ndig
oder teilweise, ist unzul?ssig.

This message (including any attachments) is confidential and may be
privileged. It may be read, copied and used only by the intended recipient.
If you have received it in error please contact the sender (by return
E-Mail) immediately and delete this message. Any unauthorised use or
dissemination of this message in whole or in part is strictly prohibited. 

View raw message