santiagopg    2002/08/27 06:04:28

  Modified:    java/src/org/apache/xalan/xsltc/dom DOMImpl.java
  Log:
  Allow the default namespace to be redefined as "".
  
  Revision  Changes    Path
  1.79      +4 -3      
xml-xalan/java/src/org/apache/xalan/xsltc/dom/DOMImpl.java
  
  Index: DOMImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/dom/DOMImpl.java,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- DOMImpl.java      28 Jun 2002 17:18:53 -0000      1.78
  +++ DOMImpl.java      27 Aug 2002 13:04:28 -0000      1.79
  @@ -3559,7 +3559,8 @@
            }
            stack.push(uri);
   
  -         if (!prefix.equals(EMPTYSTRING) || !uri.equals(EMPTYSTRING)) {
  +         // TODO: Why are we doing this test?
  +         // if (!prefix.equals(EMPTYSTRING) || !uri.equals(EMPTYSTRING)) {
                makeTextNode(false);
                int attr = makeNamespaceNode(prefix, uri);
                if (_nextNamespace == DOM.NULL)
  @@ -3569,7 +3570,7 @@
                _nextSibling2[attr] = DOM.NULL;
                // _prefix2[attr] = idx.shortValue();
                _prefix2[attr] = ((Integer) stack.elementAt(0)).shortValue();
  -         }
  +         // }
        }
   
        /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to