summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/xmlparser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/xmlparser.nim b/lib/pure/xmlparser.nim
index 355053e0d..16bbe1455 100644
--- a/lib/pure/xmlparser.nim
+++ b/lib/pure/xmlparser.nim
@@ -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: