]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
replace getRawName with getQName to make it SAX 2 final compatible
authorfotis <fotis@unknown>
Sat, 15 Jul 2000 11:39:31 +0000 (11:39 +0000)
committerfotis <fotis@unknown>
Sat, 15 Jul 2000 11:39:31 +0000 (11:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193506 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/FOTreeBuilder.java
src/org/apache/fop/fo/PropertyListBuilder.java
src/org/apache/fop/fo/XTFOTreeBuilder.java

index 0d30be9a1ade7f62da92de4f4803d8b7c3cb08e7..e532a67e7d86a8fb4e4149d1072f24b05602f78a 100644 (file)
@@ -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),
index a8692781fffdf9df19572715ea59722e555b4c26..f1eec744b29c8b8aeebcbba87d6c7b68cd2d2d53 100644 (file)
@@ -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);
index 84623ebd6c7c14253bf21dfc2f0b4ba445c2b3de..b4cd6a89921ca64c50412e63ad468544f077a015 100644 (file)
@@ -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),