Hi,
I am a new libxml user. And I am using libxml2 SAX
interface in Linux to parse the xml file with the following
content:
<?xml version="1.0" encoding="iso-8859-1"
?>
<!DOCTYPE corpus SYSTEM "lexical-sample.dtd"> <corpus lang='english'> <lexelt
item="art.n">
<instance id="art.40001"
docsrc="bnc_ACN_245">
<answer instance="art.40001" senseid="art%1:06:00::"/> <context> <head>Art</head>you can dance to from the creative group called Halo [/caption] [/div2] [div2] [head] </context> </instance> </lexelt> </corpus> And the following error information is
shown:
Entity: line 1: error: Start tag expected, '<'
not found
仵?? ^ warning: failed to load external entity "train" Can any I help me to understand what are the errors
occur and how to fix them? Many thanks.
Regards
Weifeng
|