From d9232d126eae4169d2c2200a77f3521ceb47b50b Mon Sep 17 00:00:00 2001 From: dom96 Date: Mon, 28 Mar 2011 22:08:16 +0100 Subject: Bug fixes for standard library: httpclient, json, os, parsexml, xmltree, xmlparser, gtk2. --- lib/pure/xmlparser.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/pure/xmlparser.nim') 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) -- cgit 1.4.1-2-gfad0