Create entity nodes with xmlparser

This commit is contained in:
Matt Sullivan
2015-10-30 23:42:29 -05:00
parent f3814be530
commit 097c508897

View File

@@ -96,7 +96,7 @@ proc parse(x: var XmlParser, errors: var seq[string]): XmlNode =
next(x)
of xmlEntity:
## &entity;
errors.add(errorMsg(x, "unknown entity: " & x.entityName))
result = newEntity(x.entityName)
next(x)
of xmlEof: discard