On Wed, 16 Mar 2005 16:31:44 +0100, Andreas Hartmann
<[EMAIL PROTECTED]> wrote:
> Tobias Strasser wrote:
> > well: "/*[local-name()='hugo' and
> > namespace-uri()='http://foo.bar.org']" is not a valid path :-)
> 
> What's wrong with it?
> 
> LocationPath -> AbsoluteLocationPath
> AbsoluteLocationPath -> '/' RelativeLocationPath
> RelativeLocationPath -> Step
> Step -> AbbreviatedAxisSpecifier NodeTest '[' PredicateExpr ']'
> NodeTest -> NameTest ("*")
> PredicateExpr -> Expr
> Expr -> AndExpr
> AndExpr -> EqualityExpr 'and' EqualityExpr
> EqualityExpr (1) -> PrimaryExpr (1) '=' Literal
> EqualityExpr (2) -> PrimaryExpr (2) '=' Literal
> PrimaryExpr (1) -> FunctionCall
> PrimaryExpr (2) -> FunctionCall
> 
> It's not about the quotation marks, is it? :)

The first parameter of Session.exportDocView is not an XPath. It is a
JCR path. A JCR path is similar to a file system path (e.g.,
"/a/b/c"). It points to a single item in a JCR workspace tree. The
concept of the JCR path is foundational to the design of the system
(see section 4.6 of the spec) and is used in many many methods. XPath
is used in a JCR repository only in the context of search.

Cheers,
Peeter

Reply via email to