Validation of relative imports in oXygen

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Validation of relative imports in oXygen

Gerrit Boers
Hi,

The documentation states that one should use relative paths for import like:
import module namespace artx ="http://art-decor.org/ns/art/xpath" at  "art-decor-xpath.xqm";

Problem is that xqueries like this do not validate in oXygen and thus will not run. I know this is an old problem, has it been solved yet?

Kind regards,

Gerrit

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: Validation of relative imports in oXygen

Dannes Wessels-3
which version of eXist-db ? which version of Oxygen?


On Fri, Sep 20, 2013 at 10:42 AM, Gerrit Boers <[hidden email]> wrote:
Hi,

The documentation states that one should use relative paths for import like:
import module namespace artx ="http://art-decor.org/ns/art/xpath" at  "art-decor-xpath.xqm";

Problem is that xqueries like this do not validate in oXygen and thus will not run. I know this is an old problem, has it been solved yet?

Kind regards,

Gerrit

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open




--
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: Validation of relative imports in oXygen

Gerrit Boers
eXist 2.1 and oXygen 15.0

Kind regards,

Gerrit

On Sep 20, 2013, at 10:47 AM, Dannes Wessels wrote:

which version of eXist-db ? which version of Oxygen?


On Fri, Sep 20, 2013 at 10:42 AM, Gerrit Boers <[hidden email]> wrote:
Hi,

The documentation states that one should use relative paths for import like:
import module namespace artx ="http://art-decor.org/ns/art/xpath" at  "art-decor-xpath.xqm";

Problem is that xqueries like this do not validate in oXygen and thus will not run. I know this is an old problem, has it been solved yet?

Kind regards,

Gerrit

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open




--
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: Validation of relative imports in oXygen

Jens Østergaard Petersen-2
Yes, this was brought up as well in <http://markmail.org/message/zx2m3koegcvo5iga>.

Jens

On Sep 20, 2013, at 10:58 AM, Gerrit Boers <[hidden email]> wrote:

eXist 2.1 and oXygen 15.0

Kind regards,

Gerrit

On Sep 20, 2013, at 10:47 AM, Dannes Wessels wrote:

which version of eXist-db ? which version of Oxygen?


On Fri, Sep 20, 2013 at 10:42 AM, Gerrit Boers <[hidden email]> wrote:
Hi,

The documentation states that one should use relative paths for import like:
import module namespace artx ="http://art-decor.org/ns/art/xpath" at  "art-decor-xpath.xqm";

Problem is that xqueries like this do not validate in oXygen and thus will not run. I know this is an old problem, has it been solved yet?

Kind regards,

Gerrit

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open




--
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: SOLVED Validation of relative imports in oXygen

Gerrit Boers
Hi Jens,

The problem is solved. It turns out I had older libraries in the eXist-db datasource configuration in oXygen. The tricky part is that xqueries are executed correctly, just the relative imports did not work.

So if you're upgrading eXist-db create a new datasource in oXygen with the correct libraries (path and version) as described in the oXygen help.


Kind regards,

Gerrit

On Sep 20, 2013, at 11:47 AM, Jens Østergaard Petersen wrote:

Yes, this was brought up as well in <http://markmail.org/message/zx2m3koegcvo5iga>.

Jens

On Sep 20, 2013, at 10:58 AM, Gerrit Boers <[hidden email]> wrote:

eXist 2.1 and oXygen 15.0

Kind regards,

Gerrit

On Sep 20, 2013, at 10:47 AM, Dannes Wessels wrote:

which version of eXist-db ? which version of Oxygen?


On Fri, Sep 20, 2013 at 10:42 AM, Gerrit Boers <[hidden email]> wrote:
Hi,

The documentation states that one should use relative paths for import like:
import module namespace artx ="http://art-decor.org/ns/art/xpath" at  "art-decor-xpath.xqm";

Problem is that xqueries like this do not validate in oXygen and thus will not run. I know this is an old problem, has it been solved yet?

Kind regards,

Gerrit

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open




--
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open



------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open