I have an XML file, file1.xml, and I'm trying to include in it a snippet from file2.xml, like so:
file1.xml
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE Context [
<!ENTITY File2Contents SYSTEM "file2.xml">
]>
<Context>
&File2Contents;
</Context>
file2.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Manager path=""/>
Problem
I keep getting odd parser complaints regarding "pseudo attributes" in my file2.xml, so my question is whether that XML declaration is supposed to be in file2.xml, or whether file2.xml is really a properly-formed XML document or more of a standalone snippet file...