Extend testlimits
diff --git a/testlimits.c b/testlimits.c
index 5335117..1cebd3e 100644
--- a/testlimits.c
+++ b/testlimits.c
@@ -60,6 +60,7 @@
     { "Huge text node", "huge:textNode", "<foo>", "</foo>" },
     { "Huge attribute node", "huge:attrNode", "<foo bar='", "'/>" },
     { "Huge comment node", "huge:commentNode", "<foo><!--", "--></foo>" },
+    { "Huge PI node", "huge:piNode", "<foo><?bar ", "?></foo>" },
 };
 
 static const char *current;
@@ -1213,6 +1214,10 @@
     {"huge:commentNode", XML_MAX_TEXT_LENGTH - CHUNK, 0, 0},
     {"huge:commentNode", XML_MAX_TEXT_LENGTH + CHUNK, 0, 1},
     {"huge:commentNode", XML_MAX_TEXT_LENGTH + CHUNK, XML_PARSE_HUGE, 0},
+    /* max lenght of a PI node */
+    {"huge:piNode", XML_MAX_TEXT_LENGTH - CHUNK, 0, 0},
+    {"huge:piNode", XML_MAX_TEXT_LENGTH + CHUNK, 0, 1},
+    {"huge:piNode", XML_MAX_TEXT_LENGTH + CHUNK, XML_PARSE_HUGE, 0},
 };
 
 typedef struct testDesc testDesc;