Problem:
Running XML parsers on xml files with the following DOCTYPE definintions results in a scheme error.
Code Block |
---|
<!DOCTYPE configuration [
<!ENTITY include SYSTEM "generic.xml">
]>
|
Code Block |
---|
501 Protocol scheme 'file' is not supported file:///afs/slac.stanford.edu/u/sf/ytl/Work/SNMP/lan-monitoring/branches/xml-based-dispatcher/conf/devices/generic.xml
Handler couldn't resolve external entity at line 8, column 0, byte 108
error in processing external entity reference at line 8, column 0, byte 108:
<configuration>
&include;
^
<remap>
at /usr/local/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi/XML/Parser.pm line 187
|
Solution:
Install the following perl modules:
Code Block |
---|
HTML::Tagset
HTML::Parser
|