wxMaxima file format: Why is it not plain XML?
2016-02-11 12:39:31 GMT
Dear wxMaxima Developers,
first I am not sure if this is the right forum. is there a separate one for wxMaxima?
My question/comment is about the XML format of wxMaxima. I very much appreciate that now the output is embedded into the file, so that I can look at the results without reprocessing it.
But I think the format chosen has some disadvantages. It is a XMLish format, but not plain XML, because it has a binary header and binary footer. This has 2 major drawbacks:
- It cannot be processed with standard XML processing tools. E.g. a XSLT processor is convenient to create an overview file for a library or automated documentation. But as is, I first have to strip away the header and footer.
- I cannot edit the file in a normal text editor. When I do, I get errors on loading the file. Editing the file in another editor makes sense, e.g. for spell checking. And it also would be convenient to use standard XML tools to take a wxMaxima file apart into two parts, one I want to spell check, one I won’t, then correct the part I want to correct and then to put them together again.
- I cannot automatically create wxMaxima files. I can imagine applications, where the document format and plotting capabilities of wxMaxima would be convenient e.g. to automatically create and process a measurement report.
In short, as the format is, I cannot use any standard XML tools to handle the files, but to a certain extent it is the point of XML to be able to do this.
How about ASCII encoding the PNG images? This would result in standard conformant XML files and blow up the file size only marginally (20%).
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________ Maxima-discuss mailing list Maxima-discuss <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/maxima-discuss