Unlike HTML, attribute names in XML (and thus property names in FO) are
case-sensitive. The fix is to use lowercase names.
 
Eric Amick
Legislative Computer Systems
Office of the Clerk
 

________________________________

From: Binod Garg [mailto:[email protected]] 
Sent: Wednesday, December 31, 2008 8:10
To: [email protected]
Subject: Regarding case.


I have used style attributes in my html like <span style=COLOR: red;
FONT-WEIGHT: bold'> .This is giving exception like
org.apache.fop.fo.ValidationException: null:1:4537: Error(1/4537):
fo:inline, Invalid property name 'FONT-WEIGHT'. or
org.apache.fop.fo.ValidationException: null:1:4537: Error(1/4537):
fo:inline, Invalid property name 'COLOR'. When I am replacing this with
lowercase as <span style=color: red; font-weight: bold'> this works
fine. Can sumbody please let me know the cause for this and a quick fix
for this.
 
 
Thanks,
Binod

Reply via email to