]> granicus.if.org Git - libexpat/commitdiff
Test attribute list with a NOTATION and default value
authorRhodri James <rhodri@kynesim.co.uk>
Thu, 9 Mar 2017 15:08:06 +0000 (15:08 +0000)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 22 Jul 2017 19:46:16 +0000 (21:46 +0200)
expat/tests/runtests.c

index 4c4518036542520e9f0fd545dcadc3ec8521e2a6..20fb1f8b521b4bd114532db48a494d04459b3bdd 100644 (file)
@@ -1646,6 +1646,16 @@ START_TEST(test_dtd_attr_handling)
             NULL,
             XML_FALSE
         },
+        {
+            "<!ATTLIST doc a NOTATION (foo) 'bar'>\n"
+            "]>"
+            "<doc/>",
+            "doc",
+            "a",
+            "NOTATION(foo)",
+            "bar",
+            XML_FALSE
+        },
         { NULL, NULL, NULL, NULL, NULL, XML_FALSE }
     };
     AttTest *test;