xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <psancho....@gmail.com>
Subject Re: Different sort between FOP and XSL
Date Mon, 20 Oct 2014 09:17:11 GMT
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


Mime
View raw message