sboag       01/06/26 20:51:40

  Modified:    java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
  Log:
  Fix bug where getNodeName doesn't work properly for
  non-named elements.
  
  Revision  Changes    Path
  1.6       +3 -3      
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.java
  
  Index: SAX2DTM.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SAX2DTM.java      2001/06/21 21:13:40     1.5
  +++ SAX2DTM.java      2001/06/27 03:51:40     1.6
  @@ -567,7 +567,7 @@
           else
             return "xmlns:" + name;
         }
  -      else if (name == null)
  +      else if (0 == m_expandedNameTable.getLocalNameID(expandedTypeID))
         {
           return m_fixednames[type];
         }
  @@ -808,8 +808,8 @@
      */
     protected void ensureSize(int index)
     {
  -     // dataOrQName is an SuballocatedIntVector and hence self-sizing.
  -     // But DTMDefaultBase may need fixup.
  +        // dataOrQName is an SuballocatedIntVector and hence self-sizing.
  +        // But DTMDefaultBase may need fixup.
         super.ensureSize(index);
     }
   
  
  
  

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

Reply via email to