[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Fwd: XQuery and databases - XQuery 2.0

derstubbi at gmx.de derstubbi at gmx.de
Tue Jun 9 17:21:22 PDT 2009


 Fwd:  XQuery and databases - XQuery 2.0
To pick up point 3)

I just read that the XQuery 1.1. specification exists (ok, it is "just" a working draft), but is not (really) used today. 
And I also read that there are "insufficient resources to continue development of the Static Typing feature".
What does that mean ?
Is there no more development for XQuery at all ?
What are/were the ideas for future XQuery ?


point 1)

I am still not able to run this :

let $path :=doc('http://localhost:8080/exist/rest/db/myConfig.xml')
return
<test>
{
$path
}
</test>

-> java.io.FileNotFoundException: http://localhost:8080/exist/rest/db/myConfig.xml

I run the XQuery with java/saxon. The file is imported into the eXist databse. It can be retrieved with using the path in my browser...
What is the mistake ?

thanking you in anticipation,
ND


-------- Original-Nachricht --------
Datum: Mon, 08 Jun 2009 17:08:40 +0200
Von: http://x-query.com/mailman/listinfo/talk
An: http://x-query.com/mailman/listinfo/talk
Betreff:  XQuery and databases - XQuery 2.0

Hi,
I have several questions concerning XQuery :

1)
how can I use a xml-file stored in a database ?
I tried with eXist but i did not work:

let $path :='http://localhost:8080/exist/rest/db/my.xml'
...doc(path )...

-> FileNotFoundException: http://localhost:8080/exist/rest/db/Abteilung_DocIDinRepo.xml
(I tried several other paths and combinations)

When I use the path in my browser, I can see the file.
What am I doing wrong ?



2)Is there (or will there be) possibility to make a database-connection just with XQuery ? So that I can give host, port, login, passwort, etc and XQuery is able to connect to the database ?
Am I correct, that at the moment it is only possible if you use XQuery executed from java (or an other programming language, that is able to create a connection) ? 


3)
When will there be a new/newer specification of XQuery (->XQuery 2.0)
Is it possible to get an overview of the planed changes and new possibilities ?

Greetings,
ND
-- 
GMX FreeDSL mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!
http://dslspecial.gmx.de/freedsl-aktionspreis/?ac=OM.AD.PD003K11308T4569a
_______________________________________________
http://x-query.com/mailman/listinfo/talk
http://x-query.com/mailman/listinfo/talk

-- 
GMX FreeDSL mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!
http://dslspecial.gmx.de/freedsl-aktionspreis/?ac=OM.AD.PD003K11308T4569a


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.