ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/util/uk/org/iscream/cms/util/XMLStringParser.java
(Generate patch)

Comparing projects/cms/source/util/uk/org/iscream/cms/util/XMLStringParser.java (file contents):
Revision 1.5 by ajm, Tue Dec 12 20:44:30 2000 UTC vs.
Revision 1.7 by pjm2, Mon Jan 29 15:36:33 2001 UTC

# Line 101 | Line 101 | public class XMLStringParser extends HandlerBase {
101       */
102      public void characters (char[] buf, int offset, int len) throws SAXException {
103          String s = new String(buf, offset, len);
104 <        if (!s.trim().equals("")) {
105 <            packet.addParam(getPath(), s);
106 <        }
104 >        packet.addParam(getPath(), s);
105      }
106  
107      /**
# Line 146 | Line 144 | public class XMLStringParser extends HandlerBase {
144  
145   //---ATTRIBUTES---
146  
147 +    /**
148 +     * To keep track of our identation level
149 +     */
150      private int indentLevel = 0;
151 +    
152 +    /**
153 +     * An ArrayList of tags
154 +     */
155      private ArrayList tagList = new ArrayList();
156 +    
157 +    /**
158 +     * A reference to the XMLPacket we are making
159 +     */
160      private XMLPacket packet;
161      
162      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines