[OctDev] xmlread

2008-01-28 Thread Mats Hedlund
I have unpacked an ODF spreadsheet and now I'm trying to read its contents.xml file. In matlab I have no problem using xmlread('contents.xml') but in octave it doesn't work, saying Invalid XML (state 1): Unexpected character `t' in prolog. Any ideas? Thanks, Mats -

Re: [OctDev] Probable xlsread bug

2008-01-28 Thread Olivier Lefevre
Yes, the problem is that str2double tokenizes the line incorrectly: it simply jumps over the empty slots, e.g, str2double("3.4,,3.2") return [3.4, 3.2]. The man page for that function is actually mum on what happens in that case, so it could be a "feature" or a case of undefined behaviour in the ma

Re: [OctDev] Probable xlsread bug

2008-01-28 Thread Jonathan Stickel
> Date: Mon, 28 Jan 2008 20:41:17 +0100 > From: Olivier Lefevre <[EMAIL PROTECTED]> > Subject: Re: [OctDev] Probable xlsread bug > To: octave-dev@lists.sourceforge.net > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Yes, to address the speed issu

Re: [OctDev] Flushing behaviour

2008-01-28 Thread Olivier Lefevre
Thanks but this whole 14.1.1.1 section of the manual is about Octave running interactively, which is not what I was asking about. -- O.L. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visua

Re: [OctDev] DOWNSAMPLE.M ML incompatibility and a patch

2008-01-28 Thread Søren Hauberg
fre, 25 01 2008 kl. 08:32 -0600, skrev Muthiah Annamalai: > Tribo Laboy wrote: > > On Jan 25, 2008 1:48 PM, Muthiah Annamalai <[EMAIL PROTECTED]> wrote: > > > > > >> I dont know if I must gohead and make the change. Maybe you > >> should report a warning instead. > >> > >> using the builtin fun

Re: [OctDev] DOWNSAMPLE.M ML incompatibility and a patch

2008-01-28 Thread Muthiah Annamalai
> Message: 1 > Date: Sat, 26 Jan 2008 11:16:33 +0900 > From: "Tribo Laboy" <[EMAIL PROTECTED]> > Subject: Re: [OctDev] DOWNSAMPLE.M ML incompatibility and a patch > To: "Muthiah Annamalai" <[EMAIL PROTECTED]> > Cc: octave-dev@lists.sourceforge.net > Message-ID: > <[EMAIL PROTECTED]> > Conten

Re: [OctDev] Flushing behaviour

2008-01-28 Thread Muthiah Annamalai
> Does anyone know what is the flushing behaviour of Octave > when it's not used in interactive mode? Can one rely on a > flush at the end of each "answer" to a command? > > Thanks, > > -- O.L. > I think its well documented, or atleast written up in the manual etc. It is octave:1> more off tu

[OctDev] Flushing behaviour

2008-01-28 Thread Olivier Lefevre
Does anyone know what is the flushing behaviour of Octave when it's not used in interactive mode? Can one rely on a flush at the end of each "answer" to a command? Thanks, -- O.L. - This SF.net email is sponsored by: Micros

Re: [OctDev] Probable xlsread bug

2008-01-28 Thread Olivier Lefevre
Yes, to address the speed issue one may have to step outside Octave proper but what about the would-be bug? Is it a bug or a feature? Is the xlsread author reading this forum? Regards, -- O.L. - This SF.net email is sponsor