protected Hashtable unknownFOs = new Hashtable();
// namespace implementation ideas pinched from John Cowan
- protected static class NSMap {
+/* protected static class NSMap {
String prefix;
String uri;
int level;
}
}
return uri + "^" + localPart;
- }
+ }*/
/**
* add a mapping from element name to maker.
String uri, String localName, String rawName) {
currentFObj.end();
currentFObj = (FObj) currentFObj.getParent();
- level--;
+/* level--;
while (((NSMap) namespaceStack.peek()).level > level) {
namespaceStack.pop();
- }
+ }*/
}
/** SAX Handler for the start of the document */
/* the formatting object started */
FObj fobj;
if(uri.equals("")) {
- uri = "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd";
+ uri = "http://www.w3.org/2000/svg";
}
/* the maker for the formatting object started */
FObj.Maker fobjMaker;
- level++;
+/* level++;
int length = attlist.getLength();
for (int i = 0; i < length; i++) {
String att = attlist.getQName(i);
namespaceStack.push(new NSMap(att.substring(6), value,
level));
}
- }
-
- String fullName = mapName(rawName);
+ }*/
+// String fullName = mapName(rawName);
+ String fullName = uri + "^" + localName;
fobjMaker = (FObj.Maker) fobjTable.get(fullName);
PropertyListBuilder currentListBuilder = (PropertyListBuilder)this.propertylistTable.get(uri);