Index: xml-fop/src/org/apache/fop/fo/PropertyListBuilder.java =================================================================== RCS file: /home/cvspublic/xml-fop/src/org/apache/fop/fo/Attic/PropertyListBuilder.java,v retrieving revision 1.33.2.1 diff -w -u -r1.33.2.1 PropertyListBuilder.java --- xml-fop/src/org/apache/fop/fo/PropertyListBuilder.java 25 Feb 2003 12:56:54 -0000 1.33.2.1 +++ xml-fop/src/org/apache/fop/fo/PropertyListBuilder.java 13 Nov 2004 15:21:16 -0000 @@ -161,7 +161,16 @@ } for (int i = 0; i < attributes.getLength(); i++) { - String attributeName = attributes.getQName(i); + + String attributeName; + // If we have a Format attribute, omit prefix + if (attributes.getURI(i) == "http://www.w3.org/1999/XSL/Format") + { + + attributeName = attributes.getLocalName(i); + } else { + attributeName = attributes.getQName(i); + } /* Handle "compound" properties, ex. space-before.minimum */ int sepchar = attributeName.indexOf('.'); String propName = attributeName;
The patch code uses attributes.getURI(i) == "http://www.w3.org/1999/XSL/Format" However, it really should use .equals() shouldn't it?
Of course.
The development of the maintenance branch has stopped. The code in FOP Trunk/0.93 is much more flexible and should handle the cases this patch addresses. Closing the issue.
batch transition to closed remaining pre-FOP1.0 resolved bugs