# Confused by different REXML/xmllint parsing errors

**URL:** <https://www.ruby-forum.com/t/confused-by-different-rexml-xmllint-parsing-errors/99718>\
**Category:** Ruby\
**Created:** [July 25, 2006, 3:37am UTC](https://www.ruby-forum.com/t/confused-by-different-rexml-xmllint-parsing-errors/99718 "2006-07-25T03:37:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ammonc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@ammonc](https://www.ruby-forum.com/u/ammonc)\
**Post date:** [July 25, 2006, 3:37am UTC](https://www.ruby-forum.com/t/confused-by-different-rexml-xmllint-parsing-errors/99718/1 "2006-07-25T03:37:06Z")

</div>

Here’s the XML

 be the (2_n_) Ã?

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"\> be the  
(2_n_)  
^

Any pointers would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![ammonc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@ammonc](https://www.ruby-forum.com/u/ammonc)\
**Post date:** [July 25, 2006, 6:26am UTC](https://www.ruby-forum.com/t/confused-by-different-rexml-xmllint-parsing-errors/99718/2 "2006-07-25T06:26:59Z")

</div>

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

Ammon C. wrote:

> Here’s the XML
> 
> be the (2_n_) Ã?
> 
> 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"\> be the  
> (2_n_)  
> ^
> 
> Any pointers would be greatly appreciated.
