git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194496 13f79535-47bb-0310-9956-ffa450edef68tags/fop-0_20_3
@@ -149,7 +149,7 @@ public class FObj extends FONode { | |||
* reference areas and use the value of its writing-mode property. | |||
* If no such ancestor is found, use the value on the root FO. | |||
*/ | |||
private void setWritingMode() { | |||
protected void setWritingMode() { | |||
FObj p; | |||
FObj parent; | |||
for (p = this; |
@@ -62,7 +62,11 @@ public class UnknownXMLObj extends XMLObj { | |||
protected UnknownXMLObj(FObj parent, PropertyList propertyList, String space, String tag) { | |||
super(parent, propertyList, tag); | |||
this.namespace = space; | |||
this.name = this.namespace + ":" + tag; | |||
if(!"".equals(space)) { | |||
this.name = this.namespace + ":" + tag; | |||
} else { | |||
this.name = "(none):" + tag; | |||
} | |||
} | |||
public String getNameSpace() { |
@@ -168,5 +168,6 @@ public abstract class XMLObj extends FObj { | |||
public void rollback(Vector snapshot) {} | |||
protected void setWritingMode() {} | |||
} | |||