Bug 40629 - ERROR while CSS length property value '0' is valid
Summary: ERROR while CSS length property value '0' is valid
Status: CLOSED INVALID
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: fo tree (show other bugs)
Version: 0.92
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 10:14 UTC by Arend Freije
Modified: 2012-04-01 13:55 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arend Freije 2006-09-28 10:14:57 UTC
When using the CSS length property value of '0', e.g. in margin-top="0", FOP
produces an error:

ERROR (PropertyList.java:365) [org.apache.fop.fo.PropertyList] No conversion
defined 0; property:'margin-top'

Bu the CSS specs state:
After the '0' length, the unit identifier is optional.

FOP should accept the length '0' and use a default unit.
Comment 1 Manuel Mall 2006-09-28 10:24:05 UTC
In XSL-FO <length> values must have a unit qualification. See section 5.11 of 
the XSL-FO specification.
Comment 2 Glenn Adams 2012-04-01 13:55:01 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs