Re: [docbook-apps] Segmented list issue with FOP

From
<>
Date
2010-08-26T14:03:54+00:00
ID
Thread
Re: [docbook-apps] Segmented list issue with FOP
Dean: 

For what it is worth, I have also seen very similar errors - but definately not using a segmented list, 

Using DocBook XSL 1.75.2, FOP 0.95

same warning, and error message about proportional column width, and though not a segmented list it was in some other sort of list and/or a table.

Process did not fail, and I was able to produce PDF. I thought it might be an issue with the FOP rendering, not the XML code. 

Your code looks fine to me. 

 

 For what its worth....

 

/Gregorio

 

-----Original Message-----

From: deannelson <>

To: 

Sent: Wed, Aug 25, 2010 5:12 pm

Subject: [docbook-apps] Segmented list issue with FOP

Hello all,

I am using a segmented list (1.75.2) and it gives me a warning in FOP 1.0 but still renders fine:

 

------------

WARNING: The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 2:23461)

Aug 25, 2010 2:05:58 PM org.apache.fop.events.LoggingEventListener processEvent

SEVERE: Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException: file:/C:/doc/Documentation/403/seglisttest.fo:2:23461: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width' (See position 2:23541)

Aug 25, 2010 2:05:58 PM org.apache.fop.events.LoggingEventListener processEvent

SEVERE: Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.Proper

tyException: file:/C:/doc/Documentation/403/seglisttest.fo:2:23461: proportional-column-width() function may only be use

d when fo:table has table-layout="fixed".; property:'column-width' (See position 2:23621)

-----

 

Here is the code I used:

 

 

----

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>

<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.docbook.org/xml/4.5/docbookx.dtd" [

]>

<section id="grip-chem">

    <title>Effect of Chemicals on Grip Plate Polymer</title>

 

    <segmentedlist type="tabular">

        <segtitle>Chemical</segtitle>

        <segtitle>Rating</segtitle>

        <seglistitem>

            <seg>Acetic acid</seg>

            <seg>B</seg>

        </seglistitem>

        <seglistitem>

            <seg>Acetone</seg>

            <seg>C</seg>

        </seglistitem>

        <seglistitem>

             <seg>Aluminum Chloride solutions</seg>

            <seg>T</seg>

        </seglistitem>

    </segmentedlist>

 

</section>

----

 

I tried to find this in the stock style sheets but couldn't see where it is being generated. Is this just some old code that needs a touch up or is there a another parameter that I may have missed dealing with the sizing?

 

 

Regards,

Dean Nelson