Florent,
Are you running with version 3.0 or 1.0(-ml)? Grtz *Van:* [email protected] [mailto: [email protected]] *Namens *Ryan Dew *Verzonden:* zaterdag 10 november 2012 14:47 *Aan:* Florent Georges; MarkLogic Developer Discussion *Onderwerp:* Re: [MarkLogic Dev General] fn:analyze-string() result non compliant This has been around since at least version 4.2 http://docs.marklogic.com/4.2/fn:analyze-string?v=4.2. I know because I wrote a blog post about it a while back. Good point about the namespace, though. Perhaps the standard changed since ML first implemented it? -Ryan Dew On Nov 10, 2012 5:09 AM, "Florent Georges" <[email protected]> wrote: Hi, I am glad to see fn:analyze-string() is supported in MarkLogic version 6! Just a difference with the current F&O 3.0 [1]... When running: fn:analyze-string('ab', 'a') the result is: <s:analyze-string-result xmlns:s=" http://www.w3.org/2009/xpath-functions/analyze-string"> <s:match>a</s:match> <s:non-match>b</s:non-match> </s:analyze-string-result> but the namespace should be http://www.w3.org/2005/xpath-functions instead (see?, there is an extra "/analyze-string" at the end, and 2009 should be 2005). Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ [1] http://w3.org/TR/xpath-functions-30/#func-analyze-string _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
