DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32225>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32225 [PATCH] prefixed attibutes for fo: namespace Summary: [PATCH] prefixed attibutes for fo: namespace Product: Fop Version: 0.20.5 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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;