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.13 by tdb, Tue May 29 17:02:35 2001 UTC vs.
Revision 1.14 by tdb, Wed Mar 13 12:44:55 2002 UTC

# Line 59 | Line 59 | public class XMLStringParser extends DefaultHandler {
59       * within the XMLPacket.
60       */
61      public void startElement (String uri, String name, String qName, Attributes atts) {
62 <        _tagList.addLast(name);
62 >        _tagList.addLast(qName);
63          if (atts != null) {
64              for (int i = 0; i < atts.getLength (); i++) {
65 <                _packet.addParam(getPath()+".attributes."+atts.getLocalName(i), atts.getValue(i));
65 >                _packet.addParam(getPath()+".attributes."+atts.getQName(i), atts.getValue(i));
66              }
67          }
68      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines