juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi/src/java/org/apache/juddi/util/xml XMLUtils.java
Date Sat, 20 Mar 2004 13:15:11 GMT
sviens      2004/03/20 05:15:11

  Modified:    src/java/org/apache/juddi/util/xml XMLUtils.java
  Log:
  Reversing a change to getChildElementsByTagName (diff with previous version for details)
  
  Revision  Changes    Path
  1.4       +5 -2      ws-juddi/src/java/org/apache/juddi/util/xml/XMLUtils.java
  
  Index: XMLUtils.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/util/xml/XMLUtils.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLUtils.java	16 Mar 2004 15:10:02 -0000	1.3
  +++ XMLUtils.java	20 Mar 2004 13:15:11 -0000	1.4
  @@ -70,9 +70,12 @@
       {
         Node node = children.item(i);
         
  -      //System.out.println("parsing: "+node.getNodeName());
  +      //System.out.println("node name:       "+node.getNodeName());
  +      //System.out.println("node local name: "+node.getLocalName());
         
  -      if (node.getNodeType() == Node.ELEMENT_NODE && node.getNodeName().equals(tagName))
  +      // TODO (steve) Verify the use of getLocalName vs getNodeName.
  +      if (node.getNodeType() == Node.ELEMENT_NODE && node.getLocalName().equals(tagName))
  +      //if (node.getNodeType() == Node.ELEMENT_NODE && node.getNodeName().equals(tagName))
           result.addElement(node); // matching element
       }
   
  
  
  

Mime
View raw message