FOP generates errors for background-color
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 15
- Joined: Mon Jun 19, 2017 11:24 pm
FOP generates errors for background-color
I'm trying to set some background colors, and FOP is generating errors. It doesn't matter if I use valid color names or valid HEX values, I get this error:
[fop] [ERROR] Invalid property value encountered in background-color="": org.apache.fop.fo.expr.PropertyException: file:/C:/dita-demo-content-collection-master/Thunderbird/temp/custpdf/topic.fo:21
No conversion defined ; property:'background-color' (See position 21:-1)
The output still generates, but it sure creates a lot of garbage to go through if I need to debug a real issue. Is this a known issue?
[fop] [ERROR] Invalid property value encountered in background-color="": org.apache.fop.fo.expr.PropertyException: file:/C:/dita-demo-content-collection-master/Thunderbird/temp/custpdf/topic.fo:21
The output still generates, but it sure creates a lot of garbage to go through if I need to debug a real issue. Is this a known issue?
Bill Burns
Content Architect | Healthwise
bburns@healthwise.org | www.healthwise.org
208.331.6917 (office) | 208.345.1897 (fax)
Healthwise helps people make better health decisions.
Content Architect | Healthwise
bburns@healthwise.org | www.healthwise.org
208.331.6917 (office) | 208.345.1897 (fax)
Healthwise helps people make better health decisions.
-
- Posts: 9470
- Joined: Fri Jul 09, 2004 5:18 pm
Re: FOP generates errors for background-color
Dear Bill,
We are not familiar with how your PDF customization looks like.
Maybe you could set the parameter "clean.temp=no" and after publishing open the XSL-FO file from the transformation temporary files folder (probably in your case /C:/dita-demo-content-collection-master/Thunderbird/temp/custpdf/topic.fo), format and indent it in Oxygen (using the toolbar action) and then search for background-color="". Then look and try to find out what parts of your XSLT customization generated that empty color.
Regards,
Radu
We are not familiar with how your PDF customization looks like.
Maybe you could set the parameter "clean.temp=no" and after publishing open the XSL-FO file from the transformation temporary files folder (probably in your case /C:/dita-demo-content-collection-master/Thunderbird/temp/custpdf/topic.fo), format and indent it in Oxygen (using the toolbar action) and then search for background-color="". Then look and try to find out what parts of your XSLT customization generated that empty color.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 15
- Joined: Mon Jun 19, 2017 11:24 pm
Re: FOP generates errors for background-color
Did this, but I was looking at the wrong instances (which were not problematic). I managed to find the real problem elsewhere. Thanks.
Bill Burns
Content Architect | Healthwise
bburns@healthwise.org | www.healthwise.org
208.331.6917 (office) | 208.345.1897 (fax)
Healthwise helps people make better health decisions.
Content Architect | Healthwise
bburns@healthwise.org | www.healthwise.org
208.331.6917 (office) | 208.345.1897 (fax)
Healthwise helps people make better health decisions.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service