make sure parentElement is set properly for <xi:include> elements

svn path=/branches/xmlbuildsystem/; revision=12918
This commit is contained in:
Royce Mitchell III 2005-01-10 14:03:21 +00:00
parent b663342f01
commit 72a0e1e6b7

View file

@ -709,6 +709,7 @@ XMLLoadFile ( const string& filename, const Path& path )
return NULL; return NULL;
} }
// replace inclusion tree with the imported tree // replace inclusion tree with the imported tree
e2->parentElement = e->parentElement;
e2->name = e->name; e2->name = e->name;
e2->attributes = e->attributes; e2->attributes = e->attributes;
*parent_container = e2; *parent_container = e2;