org.apache.commons.digester.RulesBase sets the namespace of the added rule 
to null if no current namespace has been set.

this patch prevents RulesBase overriding the namespace in the rule if it's 
namespace is null.

- robert

Index: src/java/org/apache/commons/digester/RulesBase.java
===================================================================
RCS file: 
/home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/RulesBase.java,v
retrieving revision 1.3
diff -r1.3 RulesBase.java
197c197,198
<         rule.setNamespaceURI(this.namespaceURI);
---
>         if (this.namespaceURI!=null)
>             rule.setNamespaceURI(this.namespaceURI);

Reply via email to