[xquery-talk] Re: Galax, XQuery! and schema type matching

Vitali Gontsharuk vitali.gontsharuk at gmail.com
Thu Jun 14 05:19:03 PDT 2007


Hi Philippe,

I'm sorry for the delayed answer.
I tried to subscribe to the mailing list and also sent a message to it, but
I got an error message that I'm not registered and that the admin of the
list would decide whether to publish my message. The mailing list system
does not seem to work properly. I used this email address:
galax-users at research.att.com, I subscribed with my " in.tum.de"-email.
Here is the message which I got:

> Your mail to 'Galax-users' with the subject
>
>      how to use xquery! in galax???
>
>  Is being held until the list moderator can review it for approval.
>
>  The reason it is being held:
>
>      Post by non-member to a members-only list
>
> Either the message will get posted to the list, or you will receive
> notification of the moderator's decision.  If you would like to cancel
> this posting, please visit the following URL:
>
I also published a bug report #75 on the galax bugzilla site:
http://bugzilla.galaxquery.net/show_bug.cgi?id=75
but there still is no answer to it, although about two weeks have passed :(
What is the current state of the development? How long could it
approximately last until someone starts handling it?

How about the type matching function? Do I also have to somehow activate
this feature as this is handled in saxon? Or is the function not available?

Thanks in advance,
Vitali Gontsharuk

2007/6/8, Philippe Michiels <philippe.michiels at gmail.com>:
>
> Hi Vitali,
>
> About the Galax update statement: This seems to be a bug. I cannot find
> your email in my personal galax mailing list archive. Are you sure the
> message went through?
>
> You can also post this bug on Galax's bugzilla site.
> http://bugzilla.galaxquery.net/
>
> Regards,
> Philippe
>
> On Fri, 2007-06-08 at 09:24 +0200, Vitali Gontsharuk wrote:
> > Hello!
> >
> > I'm having two problems which I could not solve until now.
> >
> > The first problem is the following: schema type matching doesn't work
> > for me in typeswitch constructs. By that I mean constructs of the
> > following form:
> >
> > typeswitch ($elem)
> > case element(*, asdf:type1) return element type1 {}
> > case element(*, asdf:type2) return element type2 {}
> > default return element default {}
> >
> > Here, asdf is the namespace prefix of the imported schema. I've tried
> > this both with the schema-aware version of saxon and with Galax. I'm
> > doing this the way this is described in the XQuery spec. Could someone
> > please point me to the problem by giving a working example. Because
> > Saxon is a 100% standard-conform XQuery implementation, I assume that
> > I've made some syntactical mistake.
> >
> > The second problem is about the XQuery! implementation in Galax. I'm
> > using this XQuery extension to make changes in the XML node sets but
> > this doesn't work for me. Here is the example which I'm testing with.
> > It has been published in a presentation by Jerome Simeon (one of the
> > leaders of the Galax project). Here is the script:
> >
> > (: Declare our counter :)
> > declare variable $counter := element counter { 0 };
> >
> > (: Increment the counter :)
> > declare function local:getnext() as xs:integer {
> >  replace { $counter/node() } with { $counter/node() + 1 },
> >
> >  $counter
> > };
> > I'm getting the following error:
> > Lexing Error: 3 Found QName while in operator state [File "bib.xq", line
> 6,
> >
> > characters 9-10:]
> > I'm using the following command to interpret this script:
> > galax-run -output-xml bib.xml.result.xml -language xquerybang bib.xq
> > Here is the link to the presentation by Jerome Simeon from which I
> > extracted the above sample script:
> > http://xquerybang.cs.washington.edu/papers/xquerybang-psd.pdf
> >
> > I will be thankful for any hint from your side! I already tried
> > posting this problem to the galax mailing list but didn't get any
> > answer. The activity of the project seems to be down somehow... There
> > was also no reaction to my bug report in their bugzilla for about two
> > weeks. Does anyone know about the status of the project? There has
> > still been an update of galax in February 2007, so someone is still
> > working on it...
> >
> > I would also be thankful for the current state of the XQuery update
> > facility implementations or implementations of some alternative XQuery
> > update extension.
> >
> > Thanks in advance for your answers!
> > Vitali Gontsharuk
> > _______________________________________________
> > talk at x-query.com
> > http://x-query.com/mailman/listinfo/talk
> --
> Philippe Michiels (PhD Student)
> Advanced Database Research and Modeling
> University of Antwerp
> t: +32 3 265 38 80
> w: http://www.adrem.ua.ac.be/~michiels<http://www.adrem.ua.ac.be/%7Emichiels>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://x-query.com/pipermail/talk/attachments/20070614/44de8c8f/attachment.htm


More information about the talk mailing list