fix FSCORE-45

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5625 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-08-20 16:35:22 +00:00
parent c806a20d65
commit 4f58b28247
1 changed files with 2 additions and 2 deletions

View File

@ -951,8 +951,8 @@ static int preprocess(const char *file, int write_fd, int rlevel)
char *arg, *e; char *arg, *e;
char *bp = expand_vars(buf, ebuf, sizeof(ebuf), &cur); char *bp = expand_vars(buf, ebuf, sizeof(ebuf), &cur);
/* we ignore <include> or </include> for the sake of validators */ /* we ignore <include> or </include> for the sake of validators as well as <?xml version="1.0"?> type stuff */
if (strstr(buf, "<include>") || strstr(buf, "</include>")) { if (strstr(buf, "<include>") || strstr(buf, "</include>") || strstr(buf, "<?")) {
continue; continue;
} }