Dashboard > Internet End-to-End Performance Monitoring > ... > Coding and Administration > XML Gives Error in Processing External Entity References
XML Gives Error in Processing External Entity References
Added by Yee-Ting Li, last edited by Yee-Ting Li on Feb 21, 2007  (view change)
Labels: 
(None)


Problem

You are trying to include data from another xml document into another.

You use

child XML document
<?xml version="1.0"?>
<!DOCTYPE spec [
<!ENTITY inherit SYSTEM "generic.xml">
]>

<configuration>

&inherit;
</configuration>
generic.xml
<?xml version="1.0"?>
<configuration>
...
</configuration>

Parsing gives the following error:

error in processing external entity reference at line

Solution

You must include the version tag in the <?xml?> begin line in all documents such that:

child XML document
<?xml version="1.0" encoding="ISO-8859-1"?>
...

and

generic.xml
<?xml version="1.0"  encoding="ISO-8859-1"?>

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.8 Build:#814 Oct 02, 2007) - Bug/feature request - Contact Administrators