xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Pierre Lamon" <g...@ngscan.com>
Subject RE: Different sort between FOP and XSL
Date Mon, 20 Oct 2014 09:52:32 GMT
Thx for your reply. 
And if I would like to test Xerces with FOP? Possible?
With version 1.1 I can see xercesImpl-2.7.1.jar
A way to change that?
Cheers
JP


-----Message d'origine-----
De : Pascal Sancho [mailto:psancho.asf@gmail.com] 
Envoyé : lundi 20 octobre 2014 11:17
À : fop-users@xmlgraphics.apache.org
Objet : Re: Different sort between FOP and XSL

Hi,

Sorting is only an XSLT feature, not a XSL-FO one.
Note that sort implementation may differ from XSLT engines, as said in
XSLT-REC (see [1]):
"It is possible for two conforming XSLT processors not to sort exactly
the same."

Note again that FOP bundle comes with Xalan as XSLT engine for
convenience, but you can use your own, i.e. MSXML, and feed FOP with
the resulting FO.

[1] http://www.w3.org/TR/xslt#sorting

2014-10-20 9:02 GMT+02:00 Jean-Pierre Lamon <gipi@ngscan.com>:
> Hi all,
>
> FOP 1.1 - XSLT 1.0
>
> With exactly the same code for my key indexing, I'm getting two different
> ordering sequences through XSLT or FOP:
>
> XSLT (MSXML) (Tried with XML2PDF, sort is also OK)
>
> A CACCIA DEL BOSONE DI HIGGS
> A DOS DE DROMADAIRE
> ABATON
> ABATON
> ABATON
> ACQUISITION TRAITEMENT ET CONSOMMATION DES RESSOURCES ANI
> AFFOLTER JEHANNE
>
> First white space after A is preserved
>
> FO
>
> ABATON
> ABATON
> ABATON
> A CACCIA DEL BOSONE DI HIGGS
> ACQUISITION TRAITEMENT ET CONSOMMATION DES RESSOURCES ANI
> A DOS DE DROMADAIRE
>
> First white space A after here is ignored
>
> Any idea?
> Regards
> JP
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>



-- 
pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message