exerr:ERROR Relative path in absolute URI

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

exerr:ERROR Relative path in absolute URI

Lin Ni
Hello,

I am working on xproc.

I followed the documentation and tried the simple example hello,world
xquery.

I got always the error. "exerr:ERROR Relative path in absolute URI".

And I searched in the internet. There is no solution for this error.

I am very comfused now. Any help from you would be greatly appreciated.

Best regards,

Lin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: exerr:ERROR Relative path in absolute URI

Dannes Wessels-3
Which documentation ?

Please provide more information, like exist version,URL of documentation etc


Regards

Dannes

--
www.exist-db.org

> On 25 Jan 2017, at 10:09, Lin Ni <[hidden email]> wrote:
>
> I followed the documentation and tried the simple example hello,world
> xquery.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: exerr:ERROR Relative path in absolute URI

Lin Ni

Hello,

thank you for your reply.

I am running exist-db 2.2.

The documentation link is here: 

http://zaklodzie.ens-lyon.fr/exist/apps/fundocs/view.html?uri=http://exist-db.org/xproc&location=java:org.exist.xquery.xproc.Module

The example code is here:

import module namespace xproc="http://exist-db.org/xproc";
let $simple-xproc as document-node() := document {
    <p:declare-step xmlns:p="http://www.w3.org/ns/xproc"version="1.0">
            <p:input port="source">
                    <p:inline>
                            <doc>Hello world!</doc>
                    </p:inline>
            </p:input>
            <p:output port="result"/>
            <p:identity/>
    </p:declare-step>
}
return
    xproc:process($simple-xproc)

And I always got this error:

exerr:ERROR Relative path in absolute URI: xmldb:__new__5/ [at line 16, column 5]


any suggestions would be helpful.

Thank you in advance.

Lin


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...