ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant-antidote/src/java/org/apache/tools/ant/gui/xml DOMNodeSerializer.java
Date Sun, 27 Jul 2003 15:15:22 GMT
antoine     2003/07/27 08:15:22

  Modified:    src/java/org/apache/tools/ant/gui/xml DOMNodeSerializer.java
  Log:
  missing tagnames except for <project> tag
  PR: 21888
  
  Revision  Changes    Path
  1.3       +4 -1      ant-antidote/src/java/org/apache/tools/ant/gui/xml/DOMNodeSerializer.java
  
  Index: DOMNodeSerializer.java
  ===================================================================
  RCS file: /home/cvs/ant-antidote/src/java/org/apache/tools/ant/gui/xml/DOMNodeSerializer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DOMNodeSerializer.java	10 Feb 2003 14:35:14 -0000	1.2
  +++ DOMNodeSerializer.java	27 Jul 2003 15:15:22 -0000	1.3
  @@ -145,6 +145,9 @@
   
           String localname = (node.getLocalName() == null) ? "" :
               node.getLocalName();
  +        if (localname.equals("")) {
  +            localname = (node.getNodeName() == null ) ? "" : node.getNodeName();
  +        }
   
           String prefix = (node.getPrefix() == null) ? "" :
               node.getPrefix();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message