On 2009-10-20, Tony Rozga <[email protected]> wrote:

> I'm using XMLUnit primarily for HTMLDocumentBuilder and
> TolerantSaxDocumentBuilder (nice tools btw!).

Honestly, I would have thought they had been obsoleted by things like
tagsoup or jtidy.

> If I build a Document from html with &nbsp; in it the String contents
> of the Node in question have weird bytes where the space should be.

There are way more space characters in Unicode than you'll ever want to
know.  In particular there is a "non-breaking space" character and I
guess this is what you see as "weird bytes".  &nbsp; is not a simple
space and so you can't expect to get that.

Stefan

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Xmlunit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlunit-general

Reply via email to