From: fotis Date: Sat, 15 Jul 2000 11:39:31 +0000 (+0000) Subject: replace getRawName with getQName to make it SAX 2 final compatible X-Git-Tag: pre-columns~371 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=93daa4b1c22fca8daa78f06d723e0ec74249e116;p=xmlgraphics-fop.git replace getRawName with getQName to make it SAX 2 final compatible git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193506 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/fo/FOTreeBuilder.java b/src/org/apache/fop/fo/FOTreeBuilder.java index 0d30be9a1..e532a67e7 100644 --- a/src/org/apache/fop/fo/FOTreeBuilder.java +++ b/src/org/apache/fop/fo/FOTreeBuilder.java @@ -197,7 +197,7 @@ public class FOTreeBuilder extends DefaultHandler { level++; int length = attlist.getLength(); for (int i = 0; i < length; i++) { - String att = attlist.getRawName(i); + String att = attlist.getQName(i); if (att.equals("xmlns")) { namespaceStack.push( new NSMap("", attlist.getValue(i), diff --git a/src/org/apache/fop/fo/PropertyListBuilder.java b/src/org/apache/fop/fo/PropertyListBuilder.java index a8692781f..f1eec744b 100644 --- a/src/org/apache/fop/fo/PropertyListBuilder.java +++ b/src/org/apache/fop/fo/PropertyListBuilder.java @@ -260,7 +260,7 @@ public class PropertyListBuilder { Hashtable table; table = (Hashtable)elementTable.get(elementName); for (int i = 0; i < attributes.getLength(); i++) { - String attributeName = attributes.getRawName(i); + String attributeName = attributes.getQName(i); Property.Maker propertyMaker = null; if(sptable != null) { propertyMaker = (Property.Maker)sptable.get(attributeName); diff --git a/src/org/apache/fop/fo/XTFOTreeBuilder.java b/src/org/apache/fop/fo/XTFOTreeBuilder.java index 84623ebd6..b4cd6a899 100644 --- a/src/org/apache/fop/fo/XTFOTreeBuilder.java +++ b/src/org/apache/fop/fo/XTFOTreeBuilder.java @@ -197,7 +197,7 @@ public class XTFOTreeBuilder extends HandlerBase { level++; int length = attlist.getLength(); for (int i = 0; i < length; i++) { - String att = attlist.getRawName(i); + String att = attlist.getQName(i); if (att.equals("xmlns")) { namespaceStack.push( new NSMap("", attlist.getValue(i),