diff options
author | dom96 <dominikpicheta@googlemail.com> | 2011-03-28 22:08:16 +0100 |
---|---|---|
committer | dom96 <dominikpicheta@googlemail.com> | 2011-03-28 22:08:16 +0100 |
commit | d9232d126eae4169d2c2200a77f3521ceb47b50b (patch) | |
tree | 40595f798f34d370eb6fc76a0b45f724e62a22df /lib/pure/xmlparser.nim | |
parent | dc669155e39007f1b584eef247dff90523f836bf (diff) | |
download | Nim-d9232d126eae4169d2c2200a77f3521ceb47b50b.tar.gz |
Bug fixes for standard library: httpclient, json, os, parsexml, xmltree, xmlparser, gtk2.
Diffstat (limited to 'lib/pure/xmlparser.nim')
-rwxr-xr-x | lib/pure/xmlparser.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/xmlparser.nim b/lib/pure/xmlparser.nim index ad28bf618..8c5c5f5ab 100755 --- a/lib/pure/xmlparser.nim +++ b/lib/pure/xmlparser.nim @@ -68,11 +68,11 @@ proc parse(x: var TXmlParser, errors: var seq[string]): PXmlNode = of xmlElementOpen: result = newElement(x.elementName) next(x) - result.attr = newStringTable() + result.attrs = newStringTable() while true: case x.kind of xmlAttribute: - result.attr[x.attrKey] = x.attrValue + result.attrs[x.attrKey] = x.attrValue next(x) of xmlElementClose: next(x) |