Nice addition! When was this added? I hadn't noticed it before..

Is it mentioned in documentation what is available in the Modules folder, next 
to what is described on the API pages (at which I personally look most)? And 
would it be an idea to put the docu somewhere near the API pages as well, if it 
is not there yet?

Kind regards,
Geert

>


Drs. G.P.H. Josten
Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.


> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Micah Dubinko
> Sent: maandag 13 juli 2009 20:30
> To: General Mark Logic Developer Discussion
> Subject: Re: [MarkLogic Dev General] functx library usage with ML
>
> There is:
> import module namespace functx = "http://www.functx.com"; at
> "/ MarkLogic/functx/functx-1.0-nodoc-2007-01.xqy";
>
> or a tiny bit slower but with lots of documentation comments:
> import module namespace functx = "http://www.functx.com"; at
> "/ MarkLogic/functx/functx-1.0-doc-2007-01.xqy";
>
> But I now realize that the function in question is commented
> out in the MarkLogic distribution, which doesn't help in this
> particular case.
>
> Let me ask around a bit..
>
> -m
>
> On Jul 12, 2009, at 2:17 AM, Jakob Fix wrote:
>
> > Micah,
> >
> > it's the "official" distribution from Priscilla Walmsley's
> functx.com
> > website.
> >
> > from your questionI gather that there is an adapted library
> that can
> > be found among the files in the ML download?  I'll have a look.
> >
> > thanks,
> > Jakob.
> >
> >
> >
> > On Sun, Jul 12, 2009 at 02:55, Micah
> > Dubinko<[email protected]
> > > wrote:
> >> Jakob,
> >>
> >> Is this in the functx library that ships with MarkLogic, or from a
> >> separate download?
> >>
> >> -m
> >>
> >> On Jul 11, 2009, at 2:33 PM, Jakob Fix wrote:
> >>
> >>> hi,
> >>>
> >>> here's a late night question:  I'm trying to use the
> functx xquery
> >>> library in my ML application.
> >>>
> >>> Firstly, I had to add
> >>>
> >>> declare default function namespace
> >>> "http://www.w3.org/2005/xpath-functions";;
> >>>
> >>> to the module as it doesn't use the fn: prefix for built-in
> >>> functions.
> >>>
> >>> Secondly, when including this module I get following
> "compile time"
> >>> error:
> >>>
> >>> XDMP-NOBASEURI: (err:FONS0005) resolve-uri($refNode) -- Base uri
> >>> undefined in the static context in
> /app/shared/functx.xqy, on line
> >>> 1738, in functx:open-ref-
> >>> document()
> >>> [1.0-ml]
> >>>
> >>> declare function functx:open-ref-document ( $refNode as
> node() )  as
> >>> document-node() {
> >>>
> >>> if (base-uri($refNode))
> >>> then doc(resolve-uri($refNode, base-uri($refNode)))
> >>> else doc(resolve-uri($refNode))                (: <==== problem is
> >>> encountered here :)
> >>> } ;
> >>>
> >>> Looking this up on the web reveals that this is an xquery
> "bug" that
> >>> has been "fixed" in May 2008 (see
> >>> http://www.w3.org/Bugs/Public/show_bug.cgi?id=5207)
> >>>
> >>> I must say I have trouble figuring out whether the error
> is due to
> >>> the ML implementation, or a problem with the functx library.  For
> >>> the time being, I can simply comment this function out as
> I have no
> >>> immediate use for it, but in general I'd like to know how to make
> >>> this work.
> >>> Probably, ML provides their own implementation of this functx
> >>> function?
> >>>
> >>> Thanks,
> >>> Jakob.
> >>> _______________________________________________
> >>> General mailing list
> >>> [email protected]
> >>> http://xqzone.com/mailman/listinfo/general
> >>
> >> _______________________________________________
> >> General mailing list
> >> [email protected]
> >> http://xqzone.com/mailman/listinfo/general
> >>
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://xqzone.com/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
>

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to