[oXygen-user] Transformation error: How to track?
Radu Coravu
support at oxygenxml.com
Wed Jul 29 22:53:57 CDT 2020
Hi Bernhard,
This seems to be a case in which the intermediary XSL-FO document used
by the PDF processor to produce the PDF is invalid.
In such cases you can duplicate the transformation scenario, in the "FO
Processor" tab uncheck the "Perform FO processing" checkbox and in the
"Output" tab choose to save to file with the "fo" extension instead of
"pdf" and to open the output file in Oxygen.
Then use the duplicate transformation scenario and run it over the XML
content. You will get the intermediary XSL-FO output opened in Oxygen,
you can format and indent it and then you can use Oxygen's validation to
fish for the error.
Regards,
Radu
Radu Coravu
Oxygen XML Editor
On 7/30/20 12:07 AM, Bernhard Kleine wrote:
>
> I am surprised: I reduced the book to the framework and it was
> transformed. A partial book was not. Then I tested all the five parts
> individually, they were all transformed. When I then tried to
> transform the entire book it was transformed. Very strange! And I did
> change a jota in the book, I only commented out whole chapters and parts.
>
> The end of it is that the book is transformed again.
>
> Sorry to bother you
>
> Bernhard
>
> Am 29.07.2020 um 21:34 schrieb Bernhard Kleine:
>> A book I am working with for quite some time and which had always
>> transforming smoothly, suddenly throws an error while transforming. How
>> to track the error in order to correct the offending piece. Validation
>> was ok.
>>
>> Where can I find FalterInLenzirchV2.xml_xslt?
>>
>> Using Oxygen 20.1 on Win10
>>
>> Kind regards
>>
>> Bernhard
>>
>>> The process 'Apache FOP' ended with code: 1.
>>> The error was:
>>> ERROR - Invalid property value encountered in start-indent="<xsl:choose>
>>> <xsl:when test="$fop.extensions != 0">0pt</xsl:when>
>>> <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
>>> <xsl:otherwise>2pc</xsl:otherwise>
>>> </xsl:choose>": org.apache.fop.fo.expr.PropertyException:
>>> file:/K:/Schmetterlingsbuechlein/xml/FalterInLenzkirchV2.xml_xslt:35:489:
>>> illegal character; property:'start-indent' (Siehe Position 35:11160)
>>> org.apache.fop.fo.expr.PropertyException:
>>> file:/K:/Schmetterlingsbuechlein/xml/FalterInLenzkirchV2.xml_xslt:35:489:
>>> illegal character; property:'start-indent'
>>> at
>>> org.apache.fop.fo.expr.PropertyTokenizer.next(PropertyTokenizer.java:182)
>>> at
>>> org.apache.fop.fo.expr.PropertyParser.parseProperty(PropertyParser.java:119)
>>> at org.apache.fop.fo.expr.PropertyParser.parse(PropertyParser.java:92)
>>> at
>>> org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:438)
>>> 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.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:213)
>>> at
>>> net.sf.saxon.event.ComplexContentOutputter.startContent(ComplexContentOutputter.java:721)
>>> at net.sf.saxon.event.ReceivingContentHandler.startElement(Unknown
>>> Source)
>>> 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:427)
>>> at net.sf.saxon.event.Sender.send(Sender.java:138)
>>> at
>>> net.sf.saxon.jaxp.IdentityTransformer.transform(IdentityTransformer.java:383)
>>> 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)
>>
>> _______________________________________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
> --
> spitzhalde9
> D-79853 lenzkirch
> bernhard.kleine at gmx.net
> www.b-kleine.com,www.urseetal.net
> Ich darf auch auf mein neues Buch "Falter in Lenzkirch" aufmerksam machen
> (Infos bei mir)
> -
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20200730/34ec0135/attachment.html>
More information about the oXygen-user
mailing list