tx!
On Mar 28, 2010, at 9:24 PM, jaayer wrote:

> ---- On Sun, 28 Mar 2010 11:47:43 -0700 Hernán Morales Durand 
> <[email protected]> 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.
> 
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to