A package to process xml documents



Fred,

Thanks for the info about your XML package.
I'd like to know more about the capabilities of this new package
compared to the existing two XML packages in Maxima.
I'd be interested to replace one or the other in favor of
the new package if we know that the new package is a
superset (not just a different set) of the capabilities of the
other package or packages.

I wonder if you can create a collection of test cases to
help us compare the new XML package and the old ones.

I tried to run the example you gave but I ran into errors.
First MERROR doesn't seem to recognize the ~D format
directive. (I get this same error in SBCL, Clisp, and GCL
on Linux.) I replaced all the ~D with ~S to resolve that.
Then I get
Loading the XML document...
xml error: character not allowed here [line 41]
Digging into this it appears the character in question
fails the test (not (is_restricted_char c)) in xml_import.lisp.
I don't see anything odd about line 41 in mathml.xml.
Anyway maybe that's something you can look into.

All the best,
Robert Dodier