From 460f4527834e5f6e0d5b2b9b434c9b12e53d0552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Mon, 12 Jul 2021 14:23:18 +0200 Subject: [PATCH] Fix an error in hashNode : a tag can define multiple xml namespaces --- include/libgourou.h | 2 +- src/libgourou.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/libgourou.h b/include/libgourou.h index b32a895..fc8164c 100644 --- a/include/libgourou.h +++ b/include/libgourou.h @@ -40,7 +40,7 @@ #define ACS_SERVER "http://adeactivate.adobe.com/adept" #endif -#define LIBGOUROU_VERSION "0.2.1" +#define LIBGOUROU_VERSION "0.2.2" namespace gourou { diff --git a/src/libgourou.cpp b/src/libgourou.cpp index 2b069c0..ceb9c6d 100644 --- a/src/libgourou.cpp +++ b/src/libgourou.cpp @@ -132,7 +132,8 @@ namespace gourou ns = attrName.substr(attrName.find(':')+1); nsHash[ns] = ait->value(); - break; + // Don't break here because we may multiple xmlns definitions + // break; } }