projects
/
Evergreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
recover from non-existant DTD's
[Evergreen.git]
/
Open-ILS
/
src
/
apachemods
/
mod_xmlbuilder.c
diff --git
a/Open-ILS/src/apachemods/mod_xmlbuilder.c
b/Open-ILS/src/apachemods/mod_xmlbuilder.c
index
f88f6af
..
18762dc
100644
(file)
--- a/
Open-ILS/src/apachemods/mod_xmlbuilder.c
+++ b/
Open-ILS/src/apachemods/mod_xmlbuilder.c
@@
-272,7
+272,7
@@
void xmlBuilderAddDtd( const char* sysId, xmlBuilderContext* context ) {
snprintf( buf, len, "%s/%s/%s", context->config->baseDir, locale, sysId );
xmlDtdPtr dtd = xmlParseDTD(NULL, buf);
-
+ if(!dtd) return;
/* cycle through entities and push them into the entity hash */
xmlNodePtr node = dtd->children;