You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Oblio Leitch (JIRA)" <ji...@apache.org> on 2017/02/23 17:29:44 UTC

[jira] [Created] (FOP-2691) leader-length definition is not parsed properly

Oblio Leitch created FOP-2691:
---------------------------------

             Summary: leader-length definition is not parsed properly
                 Key: FOP-2691
                 URL: https://issues.apache.org/jira/browse/FOP-2691
             Project: FOP
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Oblio Leitch


According to the [current schema|http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/fop/src/foschema/fop.xsd], the `leader-length` attribute is a {{leader_length_Type}}, which is defined as a {{length_range_Type}}.  The documentation says that this is 
{quote}
A compound datatype, with components: minimum, optimum, maximum. Each component is a {{length}}. If "minimum" is greater than optimum, it will be treated as if it had been set to "optimum". If "maximum" is less than optimum, it will be treated as if it had been set to "optimum". A property may define additional constraints on the values.
{quote}

However, I'm getting an exception when I try to use it:
{noformat}
Invalid property value encountered in leader-length="50% 100% 100%"
No conversion defined 50% 100% 100%;
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)