jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Röthenbacher <felix.roethenbac...@wyona.com>
Subject Re: namespaces
Date Wed, 16 Mar 2005 15:18:52 GMT
Tobias Strasser wrote:
> well: "/*[local-name()='hugo' and
> namespace-uri()='http://foo.bar.org']" is not a valid path :-)
> 

I think the answer above is a little bit oversimplified.
AFAICS there is no support for xpath predicates when using
session.exportDocView(). Only an absolute path is allowed.
But maybe someone else knows better ...

> 
> On Wed, 16 Mar 2005 14:34:36 +0100, Michael Wechner
> <michael.wechner@wyona.com> wrote:
> 
>>I tried to export an XML as follows:
>>
>>session.exportDocView("/*[local-name()='hugo' and
>>namespace-uri()='http://foo.bar.org']", ....)
>>
>>but receive an invalid path exception.
>>
>>Any idea what might be wrong?
>>
>>Or what other possibility is there to export stuff with namespaces used?
>>
>>Thanks
>>
>>Michi
>>
>>--
>>Michael Wechner
>>Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
>>http://www.wyona.com                      http://lenya.apache.org
>>michael.wechner@wyona.com                        michi@apache.org
>>
>>
> 
> 
> 

Mime
View raw message