logo       

xquery2src: msg#00052

lang.scala

Subject: xquery2src

Hello,

Could someone help me in telling me what settings are required to compile and run the tests generated by the xquery2src
translator ?

I am currently recieving errors when compiling like this:
//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////
import MyLib._;
^
/Applications/DeveloperApplications/Scala/share/xquery2src/test.out/ for3.scala:9: not found: value document
for (val b <- document("bib.xml") \ "book"; val t <- b \ "title"; val a <- b \ "author"; true) {
^
/Applications/DeveloperApplications/Scala/share/xquery2src/test.out/ for3.scala:9: missing parameter type
for (val b <- document("bib.xml") \ "book"; val t <- b \ "title"; val a <- b \ "author"; true) {
^
/Applications/DeveloperApplications/Scala/share/xquery2src/test.out/ for3.scala:9: missing parameter type
for (val b <- document("bib.xml") \ "book"; val t <- b \ "title"; val a <- b \ "author"; true) {
^
/Applications/DeveloperApplications/Scala/share/xquery2src/test.out/ for3.scala:9: missing parameter type
for (val b <- document("bib.xml") \ "book"; val t <- b \ "title"; val a <- b \ "author"; true) {
^
/Applications/DeveloperApplications/Scala/share/xquery2src/test.out/ for3.scala:10: missing parameter type
(a \ "last").foreach(n => res = n::res);
^
6 errors found
Process /Applications/DeveloperApplications/Scala/bin/scalac exited with code 1
//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////

Is MyLib a placeholder for some new classes that are some extensions to support XQuery style XML processing ?

regards,

Balazs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise