xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44619] New: Generic validation for positive integers
Date Mon, 17 Mar 2008 14:52:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44619

           Summary: Generic validation for positive integers
           Product: Fop
           Version: 1.0dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: fo tree
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: jeremias@apache.org


Many properties like column-count and number-columns-repeated are defined as
positive integers and: "If a non-positive or non-integer value is provided, the
value will be rounded to the nearest integer value greater than or equal to 1."

It would be good to have a possibility to declare that in FOPropertyMapping
instead of having to write validation code for each such property. ATM,
floating point values are often not rounded and not normalized following the
above rule.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message