This commit is contained in:
Araq
2013-10-07 21:36:43 +02:00

View File

@@ -110,7 +110,7 @@ proc parseXml*(s: PStream, filename: string,
of xmlElementOpen, xmlElementStart:
result = parse(x, errors)
break
of xmlComment, xmlWhitespace, xmlSpecial: nil # just skip it
of xmlComment, xmlWhitespace, xmlSpecial, xmlPI: nil # just skip it
of xmlError:
errors.add(errorMsg(x))
else: