I'm using XML Simple to parse an XML file, the problematic part looks like that:
<textBody>
<title>
<titlePart>
<text>SECTION A <emdash/> HUMAN NECESSITIES</text>
</titlePart>
</title>
</textBody>
<ipcEntry kind="t" symbol="A01" ipcLevel="C" entryType="K" lang="EN">
<textBody>
<title>
<titlePart>
<text>AGRICULTURE</text>
</titlePart>
</title>
</textBody>
</ipcEntry
for some reason XML::Simple completely ignores <text>SECTION A <emdash/> HUMAN NECESSITIES</text>
I guess its because the emdash tag, because <text>AGRICULTURE</text>
is parsed just fine.
I also tried setting the parser by:
$XML::Simple::PREFERRED_PARSER = 'XML::Parser';
still no go. Any idea?