---- On Sun, 28 Mar 2010 11:47:43 -0700 Hernán Morales Durand <hernan.morales@gmail.com> wrote ----
Hi Alex, Try with the attached XML file in your Pharo directory
XMLDOMParser     parseDocumentFromFileNamed:         (FileDirectory default fullNameFor: 'likelySubtags.xml')
however, it seems to be fixed in XML-Parser-JAAyer.72 Cheers,
The problem was due to XMLStreamReader>>nextMatchAll: relying on #position: and #position and MultiByteFileStream understanding stream position in terms of bytes rather than characters. That's why it worked when Alexandre tried parsing a string containing multi-byte UTF-8 characters--the position of a ReadStream on a string corresponds to the position of characters in the string regardless of their width--but failed when Fabrizio tried to parse a file containing those same characters. It is fixed now and a little faster, too.