Confused by different REXML/xmllint parsing errors

Here's the XML
<DIV style="position:absolute;top:371;left:745"><nobr><span class="ft4">
be the (2<i>n</i>) ×</span></nobr></DIV>

REXML throws a ParseException:
#<REXML::ParseException: Missing end tag for 'span' (got "nobr")
Line: 1
Position: 114
Last 80 unconsumed characters:

xmllint from libxml2-utils gives a different error. Unfortunately I
haven't been able to make sense of it either.

parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xD7 0x3C 0x2F 0x73
position:absolute;top:371;left:745"><nobr><span class="ft4"> be the
(2<i>n</i>)
                                                                               ^

Any pointers would be greatly appreciated.

···

--
Posted via http://www.ruby-forum.com/.

I thought the times character was an asterisk. It must be that
character

Ammon Christiansen wrote:

···

Here's the XML
<DIV style="position:absolute;top:371;left:745"><nobr><span class="ft4">
be the (2<i>n</i>) ×</span></nobr></DIV>

REXML throws a ParseException:
#<REXML::ParseException: Missing end tag for 'span' (got "nobr")
Line: 1
Position: 114
Last 80 unconsumed characters:

xmllint from libxml2-utils gives a different error. Unfortunately I
haven't been able to make sense of it either.

parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xD7 0x3C 0x2F 0x73
position:absolute;top:371;left:745"><nobr><span class="ft4"> be the
(2<i>n</i>)
                                                                               ^

Any pointers would be greatly appreciated.

--
Posted via http://www.ruby-forum.com/\.