Nous avons de nombreux messages dans le log concernant l'absence de ce fichier car il est utilisé pour déterminer l'auteur ou calculer un "padding"
message d'erreurs :
Recoverable error on line 128 of document.xsl:
FODC0005: java.io.FileNotFoundException:
/tmp/sppnaut/2287d71c-9d45-42fe-841a-841312d366c9/www/xml/document.xml (No such file or directory)
Recoverable error on line 482 of ouvrage.xsl:
FODC0005: Document has been marked not available:
file:/tmp/sppnaut/2287d71c-9d45-42fe-841a-841312d366c9/www/xml/document.xml
<!-- construction du graphique -->
<fo:external-graphic>
<xsl:if test="@orientation != 90 or not(exists(@orientation))">
<!-- <xsl:attribute name="padding-top">3mm</xsl:attribute>-->
<!-- optimisation de l'affichage des illustrations (si on a la largeur dans www/document.xml, alors on la prends) -->
<xsl:variable name="with" select="document('../../www/xml/document.xml', /)/liste/referentiel/ouvrage[@id=$idOuvrage]/illustrations/document[nom = concat(current()/numero, 'jpg')]/property/@dimension"/>
<xsl:choose>
<xsl:when test="$with != '' and xs:integer(substring-before($with, ':')) < 430"/>
<xsl:otherwise>
<xsl:attribute name="padding-top">3mm</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
Cependant, nous n'avons pas trouvé de différence de padding et l'auteur peut-être calcler différemment
… à investiguer
Propositions :
Générer avec et sans www/xml/document.xml et comparer les docs ?
ajouter www/xml/document.xml et ouvrir un ticket pour plus tard
Nous avons de nombreux messages dans le log concernant l'absence de ce fichier car il est utilisé pour déterminer l'auteur ou calculer un "padding"
message d'erreurs :
code document.xsl :
code ouvrage.xsl :
Cependant, nous n'avons pas trouvé de différence de padding et l'auteur peut-être calcler différemment
… à investiguer
Propositions :