cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/xml/dom DOMUtil.java
Date Thu, 24 Jul 2003 09:17:17 GMT
haul        2003/07/24 02:17:17

  Modified:    src/java/org/apache/cocoon/xml/dom DOMUtil.java
  Log:
  Add missing "?"s in <?xml version="1.0"?>
  
  Revision  Changes    Path
  1.4       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/xml/dom/DOMUtil.java
  
  Index: DOMUtil.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/xml/dom/DOMUtil.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DOMUtil.java	12 Mar 2003 15:35:53 -0000	1.3
  +++ DOMUtil.java	24 Jul 2003 09:17:17 -0000	1.4
  @@ -1191,7 +1191,7 @@
               sb.append(node.getNodeValue());
               break;
           case Node.DOCUMENT_NODE:
  -            sb.append("<xml version=\"1.0\">");
  +            sb.append("<?xml version=\"1.0\"?>");
               if (node.hasChildNodes()) {
                   children = node.getChildNodes();
                   for(int i=0; i < children.getLength(); i++) {
  
  
  

Mime
View raw message