sboag 00/12/31 01:57:02
Modified: java/src/org/apache/xalan/templates ElemLiteralResult.java
Log:
Add defensive code to make sure namespace isn't null. Should
probably remove at some point.
Revision Changes Path
1.18 +2 -0
xml-xalan/java/src/org/apache/xalan/templates/ElemLiteralResult.java
Index: ElemLiteralResult.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemLiteralResult.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ElemLiteralResult.java 2000/12/27 22:28:31 1.17
+++ ElemLiteralResult.java 2000/12/31 09:57:02 1.18
@@ -315,6 +315,8 @@
*/
public void setNamespace(String ns)
{
+ if(null == ns) // defensive, shouldn't have to do this.
+ ns = "";
m_namespace = ns;
}