Thank you very much.
That helped immediately and I can now play with the UI, subscribe to the
feeds etc.
I had stumbled upon a few other quirks but it seems to be working just fine
for my needs.

The only other minor comment (and that's really nitpicking) that I have at
this point is that pie chart (used in the sample app) is not the best way to
represent any quantitate information according to E. Tufte (I recommend all
his books) and others in the field tend to agree.

Thanks again,

Lech


On Wed, Aug 26, 2009 at 3:45 PM, Mark Helmstetter <
[email protected]> wrote:

>  Hi Lech,
>
>
>
> You are correct, it appears that the code in the Feed app was written for
> XQuery 0.9.  The quick fix here would be to change your HTTP app server
> “default xquery version” to 0.9-ml.  Go to the MarkLogic Admin UI, select
> Groups->Default->App Servers and select the http app server you’re using.
> The setting is near the bottom of the page.
>
>
>
> --Mark
>
>
>  ------------------------------
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Lech Rzedzicki
> *Sent:* Wednesday, August 26, 2009 9:43 AM
> *To:* [email protected]
> *Subject:* [MarkLogic Dev General] Getting Feed API to work
>
>
>
> Hi.
>
> I'm building a simple app that uses RSS feeds as input and I would like to
> reuse the Feed API from the developer workshop
> http://developer.marklogic.com/code/.
> I created a simple HTTP Server on ML4.1 and configured all the
> optimisations as per README.txt
> The required dependency, date-parser.xqy is accesible.
> However, when I try to load the sample-app (which redirects to feed.xqy), I
> get a somewhat misleading error:
>
> XDMP-UNEXPECTED: (err:XPST0003) Unexpected token syntax error, unexpected
> DefaultElement_
>
>
>
> in /feed/sample-app/, on line 1 [1.0-ml]
>
>
>
> Can anyone confirm that Feed is compatible with ML4.1, as it seems to have
> been written for 3.2 and forward-compatible, I think?
> What's the default behaviour of the sample app?
> Do any of you have sample apps using RSS that you'd care to share?
> Finally what might cause the problem? I'm thinking it still might have
> something to do with the date-parser.xqy
>
> Best regards and thanks in advance,
>
> Lech Rzedzicki
>
> _______________________________________________
> 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