Re: [xsl] Ann: Transforming J S O N in pure X S L T

Subject: Re: [xsl] Ann: Transforming J S O N in pure X S L T
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Wed, 9 May 2007 14:19:44 -0700
On 5/9/07, Florent Georges <darkman_spam@xxxxxxxx> wrote:
Dimitre Novatchev wrote:

> f:json-document():

> It is P u r e X S L T

 Back to home, I've just give it a try.  I found what seems to be a
bug, in func-lrParse.xsl line 40:

   <xsl:variable name="vLexResults" as="item()+"
    select="if(empty($pCurLexeme)) ... else ()"/>

 The @as doesn't match the possibility to have () in the else clause.
I guess the @as has to be "item()*".  With this change, the two tests
run perfectly well (otherwise they fail).


Thanks for reporting this.  I did't have any problems running the
tests with Saxon Basic 8.9.2J

Which XSLT Processor/version are you using?


-- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play



On 5/9/07, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:
Hi Florent,

Most probably this is an issue with your proxy servers -- I am
accessing the blog well.

Could you give it another try and let me know (offline if there are
problems), please?



--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play


Florent Georges wrote: ====================================

Dimitre Novatchev wrote:

Hi

> f:json-document():

> It is P u r e X S L T

Great Dimitre!

 I didn't try f:lrParse(), f:json-document() nor yaccx yet, as I can't
access the CVS servers through the proxies here.  But the entry on your
blog seems to be cut.  It looks like the following here:

http://www.fgeorges.org/tmp/json-document-entry.jpg

I guess this is not expected.

Regards,

--drkm



--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play

Current Thread