Re: [Pharo-project] Error parsing XML File

2010-03-29 Thread Alexandre Bergel
Hi Hernán, Thanks for your file. I added as a test in XML-Parser. Cheers, Alexandre On 28 Mar 2010, at 14:47, Hernán Morales Durand wrote: Hi Alex, Try with the attached XML file in your Pharo directory XMLDOMParser parseDocumentFromFileNamed: (FileDirectory default

Re: [Pharo-project] Error parsing XML File

2010-03-28 Thread Fabrizio Perin
@Alex: sorry but i cannot send you the file (i shouldn't even have it). Thanks a lot for the support and the explanation :) Fabrizio 2010/3/28 Stéphane Ducasse > tx! > On Mar 28, 2010, at 9:24 PM, jaayer wrote: > > > On Sun, 28 Mar 2010 11:47:43 -0700 Hernán Morales Durand < > hernan.mora

Re: [Pharo-project] Error parsing XML File

2010-03-28 Thread Stéphane Ducasse
tx! On Mar 28, 2010, at 9:24 PM, jaayer wrote: > On Sun, 28 Mar 2010 11:47:43 -0700 Hernán Morales Durand > wrote > >> Hi Alex, >> Try with the attached XML file in your Pharo directory >> >> XMLDOMParser >> parseDocumentFromFileNamed: >> (FileDirectory default fullN

Re: [Pharo-project] Error parsing XML File

2010-03-28 Thread jaayer
On Sun, 28 Mar 2010 11:47:43 -0700 Hernán Morales Durand 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

Re: [Pharo-project] Error parsing XML File

2010-03-27 Thread Alexandre Bergel
Can you send me the file please? Alexandre On 27 Mar 2010, at 12:47, Fabrizio Perin wrote: Hi Alex, thanks for your effort. Actually the problem was related exactly to the readStream, my method to import the XML files uses the class FileStream, instead now it use StandardReadStream and ev

Re: [Pharo-project] Error parsing XML File

2010-03-27 Thread Fabrizio Perin
Hi Alex, thanks for your effort. Actually the problem was related exactly to the readStream, my method to import the XML files uses the class FileStream, instead now it use StandardReadStream and everything works fine. All Tests where green in my image too (including your new test) but the error st

Re: [Pharo-project] Error parsing XML File

2010-03-26 Thread Alexandre Bergel
Hi Fabrizo, I think you're in the right place to talk about that. I haven't been able to reproduce your error. I added a test: XMLParserTest>>testNonUTF8Characters self shouldnt: [XMLDOMParser parseDocumentFrom: 'Bean BLABLABLA Eidgenössisches Institut für BLABLALBLA' readStream] r

[Pharo-project] Error parsing XML File

2010-03-26 Thread Fabrizio Perin
Hi, I was parsing an XML File with the last version of XML Parser (XML-Parser-JAAyer.68) and i get an error related to a not UTF-8 character that the parser found into the document. The XML document contains some german character: Actually i'm not sure if the error is which is in the UTF8TextCon