Le Sat, 7 Jan 2012 12:00:19 +0100, "Jean-Philippe Guérard" jean-philippe.guerard@tigreraye.org a écrit :
Le Ven 6 janvier 2012 12:41, Odile Bénassy a écrit :
Bonjour
Quelqu'un peut m'aider pour la compilation du PDF du guide ABS ? Ou bien me donner l'adresse de "ykerb", car je n'ai pas gardé assez d'archives ?
Voici ce que me crache FOP :
--%<
odile@cecile:~/traduc/abs/svn/trunk/ABS-fr$ fop -d /home/odile/ABS-6.4.05/abs-pdf.fo /home/odile/ABS-6.4.05/abs-6.4.05.pdf [WARN] FOP - The option debug can only be used [WARN] FOP - with FOP's command line logger, [WARN] FOP - which is the default on the command line. [WARN] FOP - Configure other loggers using Java system properties. [ERROR] FOP - Exception <javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination")>javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) Caused by: javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) ... 3 more Caused by: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143) at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190) at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) ... 4 more
javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) Caused by: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143) at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190) at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) ... 4 more
org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143) at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190) at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197)
Cela ressemble à ça :
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%...
Si le Makefile est celui-ci : « http://svn.traduc.org/filedetails.php?repname=abs&path=%2Ftrunk%2FABS-fr..., essaie de modifier la ligne suivante :
- xsltproc --nonet --output $(BASEDIR)/abs-pdf.fo stylesheets/abs-pdf.xsl \
$(BASEDIR)/abs-pdf.xml
- xsltproc --nonet --stringparam fop1.extensions 1 \
--output $(BASEDIR)/abs-pdf.fo stylesheets/abs-pdf.xsl \
$(BASEDIR)/abs-pdf.xml
Bonne fin de semaine.
Merci. Voilà le résultat :
--%<
fop /home/odile/ABS-6.4.05/abs-pdf.fo /home/odile/ABS-6.4.05/abs-6.4.05.pdf [ERROR] FOP - Exception <javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination")>javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) Caused by: javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) ... 3 more Caused by: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143) at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190) at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) ... 4 more
---------
javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) Caused by: org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143) at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190) at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) ... 4 more --------- org.apache.fop.apps.FOPException: file:/home/odile/ABS-6.4.05/abs-pdf.fo:2:13099: Error(2/13099): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions", Local Name: "destination") at org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143) at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190) at org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197)
make: *** [abs-6.4.05.pdf] Erreur 1