octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML tools for Octave


From: David Bateman
Subject: Re: XML tools for Octave
Date: Fri, 09 Jun 2006 21:54:22 +0200
User-agent: Mozilla Thunderbird 1.0.6-7.6.20060mdk (X11/20050322)

Schloegl Alois wrote:

> Quoting David Bateman <address@hidden>:
>
>> As a fairly dumb conversion of xmldata to an oct-file (though I tried to
>> replace C strings with the C++ std::string class), how does the attached
>> work. Basically, I've just tested to the point where is compiles and no
>> further. I also think there is a serious problem in the original code in
>> that malformed input might cause a seg-fault. Consider the example
>> "</xml>v</xml>" that seems to me will not create the struct to contain
>> the field and then try to assign to it. I tried to fix this.
>>
>> The conversion is very direct and there are ugly multiple assignments to
>> the return value list. It would be better to get rid of these. Help
>> strings etc might also be improved..
>>
>> D.
>>
>
>
> When I tried to apply it to a large XML file, it reads only the first 
> elements.

Oppps.. I see. Try the attached version..

D.

Attachment: xml.tgz
Description: application/compressed-tar


reply via email to

[Prev in Thread] Current Thread [Next in Thread]