]> granicus.if.org Git - libexpat/commitdiff
xmlparse.c: Fix extraction of namespace prefix from XML name (#186)
authorSebastian Pipping <sebastian@pipping.org>
Wed, 12 Jun 2019 13:42:22 +0000 (15:42 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 12 Jun 2019 13:42:54 +0000 (15:42 +0200)
expat/lib/xmlparse.c

index 30d55c5c37d34839a4ca1e12f41557297e29c014..737d7cd2db20a6bac14ab77ef10580281a68171a 100644 (file)
@@ -6071,7 +6071,7 @@ setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *elementType)
       else
         poolDiscard(&dtd->pool);
       elementType->prefix = prefix;
-
+      break;
     }
   }
   return 1;