Salome HOME
projects
/
modules
/
yacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed expat support (replaced by libxml2)
[modules/yacs.git]
/
src
/
yacsloader
/
blocParsers.hxx
diff --git
a/src/yacsloader/blocParsers.hxx
b/src/yacsloader/blocParsers.hxx
index c1642f00a56ac9f871cbf371a542e484b7802429..fef6eacb2362569155af30531811f4c1625feda1 100644
(file)
--- a/
src/yacsloader/blocParsers.hxx
+++ b/
src/yacsloader/blocParsers.hxx
@@
-87,6
+87,8
@@
struct bloctypeParser:parser
virtual void onEnd(const char *el,parser* child);
virtual void buildAttr(const XML_Char** attr)
{
+ if (!attr)
+ return;
this->required("name",attr);
for (int i = 0; attr[i]; i += 2)
{