[oXygen-user] Strange error while transforming docbook 5 to pdf (next error)
Oxygen XML Editor Support (Radu Coravu)
support at oxygenxml.com
Wed Feb 14 08:23:39 CST 2018
Hi Bernhard,
Usually Oxygen tries to pick up the problems reported by Apache Fop and
report them in a better manner, but without reproducing the problem on
my side I am unable to investigate further.
If you look at the error you receive, at some point it has something like:
> file:/K:/BuchprojektSpringer/VierteAuflageXmlDeutsch/Lehrbuch.xml_xslt:5447:5425
That "5447:5425" part means line 5447 and column "5425".
The file "Lehrbuch.xml_xslt" is automatically created by Oxygen by
applying the XSLT over the XML and then automatically deleted at the end
of the transformation. But you can create another transformation
scenario (or duplicate the current one), choose in the "FO Processors"
tab not to perform FO processing and in the output tab to save the file
as "result.fo" for example.
This will allow you to look at what the "result.fo" contains, open it up
and look at a certain line and column.
After you open the "result.fo" the "Configure Transformation Scenarios"
dialog should contain a "FO PDF" transformation scenario allowing you to
create a PDF out of it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 2/14/2018 4:14 PM, Bernhard Kleine wrote:
> I have successfully transformed all the different chapters of the book
> and the appendix. Still when transforming the entire book I get two
> errors. The one about png as before and
>
>> ERROR - Invalid property value encountered in text-align="char":
>> org.apache.fop.fo.expr.PropertyException:
>> file:/K:/BuchprojektSpringer/VierteAuflageXmlDeutsch/Lehrbuch.xml_xslt:5447:5425:
>> No conversion defined char; property:'text-align' (Siehe Position
>> 5447:5557) org.apache.fop.fo.expr.PropertyException:
>> file:/K:/BuchprojektSpringer/VierteAuflageXmlDeutsch/Lehrbuch.xml_xslt:5447:5425:
>> No conversion defined char; property:'text-align' at
>> org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:446) at
>> org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:499)
>> at
>> org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:386)
>> at org.apache.fop.fo.FObj.processNode(FObj.java:124) at
>> org.apache.fop.fo.flow.table.TableFObj.processNode(TableFObj.java:232)
>> at
>> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:291)
>> at
>> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179)
>> at net.sf.saxon.event.ContentHandlerProxy.startContent(Unknown Source)
>> at
>> net.sf.saxon.event.NamespaceReducer.startContent(NamespaceReducer.java:216)
>> at
>> net.sf.saxon.event.ComplexContentOutputter.startContent(ComplexContentOutputter.java:714)
>> at
>> net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:370)
>> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
>> Source) at
>> org.apache.xerces.xinclude.XIncludeHandler.startElement(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 net.sf.saxon.event.Sender.sendSAXSource(Sender.java:451) at
>> net.sf.saxon.event.Sender.send(Sender.java:153) at
>> net.sf.saxon.jaxp.IdentityTransformer.transform(IdentityTransformer.java:375)
>> at org.apache.fop.cli.InputHandlerFOP.transformTo(Unknown Source) at
>> org.apache.fop.cli.InputHandlerFOP.renderTo(Unknown Source) at
>> org.apache.fop.cli.Main.startFOP(Main.java:186) at
>> org.apache.fop.cli.Main.main(Main.java:217)
>>
> BTW I would accept these error messages when they could point to the
> place they occur. The way it is now is totally unhelpfull, from the
> stone age of computing like MS Windows 3.1 error messages!
>
> --
>
> spitzhalde9
> D-79853 lenzkirch
> bernhard.kleine at gmx.net
> www.b-kleine.com, www.urseetal.net
> -
> thunderbird mit enigmail
> GPG schlüssel: D5257409
> fingerprint:
> 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list