On Tue, Aug 1, 2017 at 12:45 PM, Steven Anderson <[email protected]> wrote:
> Thanks for the solution. At the root of my confusion was this part of the > doc: > > "For the prefix IRIs commonly associated with fn, cts, math, and xdmp (or > any other prefix IRIs that do not end with a "/" or "#"), append a # to > the prefix IRI to the prefix IRI and then the function localname, for > example: http://marklogic.com/cts#contains/" > > I read the first saying that anything that's documented as fn: should use > the marklogic.com path. > I think it means those prefixes don't end with # or /. Some common prefixes and definitions are here: http://docs.marklogic.com/guide/xquery/namespaces#id_21104 > > But to your point, it also says, "Extension functions in SPARQL are > identified by IRIs in the form of http://www.w3.org/2005/xpath-functions# > *name*/ where *name* is the local name of the function and the string > before the # is the prefix IRI of the function, for example > http://www.w3.org/2005/xpath-functions#starts-with/" > > Apparently if something is in both (aren't all fn: in the > xpath-functions?) I need to use the w3.org path. > fn: is one of the xpath-functions. I don't see any other starts-with function listed at http://docs.marklogic.com/all. I've put in to remove the trailing slashes from the above paragraph too; thanks for pointing that out. /ch
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
