[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replac
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package |
Date: |
Mon, 14 Sep 2015 22:26:04 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35 |
Follow-up Comment #9, bug #45951 (project octave):
@Mike:
It would surely be preferrable to just provide the function. I wouldn't be
surprised if several Linux distros provide xerces and other Java libs.
Matlab ships a plethora of Java libs, but the associated catch is that they
are all somehow interdependent. Replacing one (better/newer/more
functionality/...) often breaks things elsewhere (like "dll hell"). Let's not
copy this in Octave.
@Panxto:
Your reasoning happens to be the same I have for invoking Java libs for the
spreadsheet I/O. With one exception: regular expressions usually outperform
XML parsers when data lists (arrays) are to be extracted from (not too
complicated) XML. Having a parsed XML-tree in RAM (or rather, the JVM) makes
for a large overhead compared to just processing a long string.
Would this xmlread be put into core right away or would you first want to have
it live in the io package? I'd love to see xmlwrite as well, in core or io,
could be as easy as xmlread.
FYI, io-2.2.10 is very near.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45951>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Pantxo Diribarne, 2015/09/13
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Philip Nienhuis, 2015/09/13
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Philip Nienhuis, 2015/09/13
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Mike Miller, 2015/09/14
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Pantxo Diribarne, 2015/09/14
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Mike Miller, 2015/09/14
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Philip Nienhuis, 2015/09/14
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Pantxo Diribarne, 2015/09/14
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Mike Miller, 2015/09/14
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Pantxo Diribarne, 2015/09/15
- [Octave-bug-tracker] [bug #45951] Add "xmlread" to core Octave or replace the one in io package, Philip Nienhuis, 2015/09/15