RE: Having problems with config

2018-11-25 Thread Theresa Forster
This file is copied almost directly from the official FOP example https://xmlgraphics.apache.org/fop/0.95/configuration.html true true ./ ./ 72 72 Theresa From: Alexios Giotis [mailto:alex.gio...@gmail.com]

Re: Having problems with config

2018-11-25 Thread Luca Bellonda
Hello, this error is usually reported when there is some text between the elements and it is not expected. It can be caused also from CR/LF translations from Windows to Unix. Try rewriting your file from scratch on target system in a new file. Try to paste the only elements without comments or

RE: Having problems with config

2018-11-25 Thread Theresa Forster
Its running via intellij and reports as UTF-8 encoding, the file was pasted in via copy paste from the sample from FOP. Its running on a windows machine not changing platform so not sure whats going on? The lines are ending CRLF but why would SAX have problems with that? Theresa

Re: Having problems with config

2018-11-25 Thread Luca Bellonda
I am unable to answer to your question without testing your file, but given the error, it seems that some text has been pasted into elements where is not expected. Maybe the copy and paste from HTML generated some extraneous artifact. My advice is to rewriting it from scratch. There is a sample

White space in FO causes PDF TOC problem

2018-11-25 Thread Mark Giffin
I'm using FOP 2.3 with the DITA Open Toolkit. The tags in DITA topics are used in the table of contents in a PDF. Each table of contents line is justified like this in the PDF: (left margin)Intro to XYZ14(right margin) (left