Procházet zdrojové kódy

prevents npe if namespace is unknown


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194490 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_20_3
Keiron Liddle před 23 roky
rodič
revize
e4e3f3d636
1 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. 5
    2
      src/org/apache/fop/fo/FOTreeBuilder.java

+ 5
- 2
src/org/apache/fop/fo/FOTreeBuilder.java Zobrazit soubor

@@ -210,12 +210,15 @@ public class FOTreeBuilder extends DefaultHandler implements TreeBuilder {
FObj fobj;

/* the maker for the formatting object started */
FObj.Maker fobjMaker;
FObj.Maker fobjMaker = null;

// String fullName = mapName(rawName);
//String fullName = uri + "^" + localName;
HashMap table = (HashMap)fobjTable.get(uri);
fobjMaker = (FObj.Maker)table.get(localName);
if(table != null) {
fobjMaker = (FObj.Maker)table.get(localName);
}

PropertyListBuilder currentListBuilder =
(PropertyListBuilder)this.propertylistTable.get(uri);


Načítá se…
Zrušit
Uložit