Re: [oXygen-user] Strange error while transforming docbook 5 to pdf (next error)

2018-02-15 Thread Bernhard Kleine
Hi Radu,


> Probably one or more PNG images that you are using have the same
> problem being read.
> In the Oxygen Preferences->"XML / XSLT-FO-XQuery / FO Processors" page
> there is a "Memory available to the built-in FOP" combo where you can
> select a larger memory size. This may or may not fix the problem,
> ideally finding those problem PNG images and re-saving them would be
> the better way to go.
>
> Regards,
> Radu
>
This helped and I got the entire book transformed. Thanks a lot for your
patience.
Bernhard

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@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




signature.asc
Description: OpenPGP digital signature
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Strange error while transforming docbook 5 to pdf (next error)

2018-02-14 Thread Bob Stayton
This first error saying text-align="char" looks like an attempt to use 
the feature of CALS tables that would align columns along a certain 
character, such as a "." for decimal point.   This is specified on a 
table's colspec with


align="char" char="."

This should generate text-align="." for that table column. 
Unfortunately, text-align is listed in the FOP compliance document [1] 
as only partially supported:


"Only start, end, center and justify are supported"

The fact that your error message says text-align="char" suggests the 
table column was coded in the XML as


align="char" char="char"

Is that the case?

[1] https://xmlgraphics.apache.org/fop/compliance.html

Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 2/14/2018 6:14 AM, 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.kle...@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@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Strange error while transforming docbook 5 to pdf (next error)

2018-02-14 Thread Oxygen XML Editor Support (Radu Coravu)

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
  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.kle...@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@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user