[E-Lang] Kernel-E in Minimal-XML
Jonathan S. Shapiro
shap@eros-os.org
Thu, 5 Oct 2000 17:33:06 -0400
Just out of curiosity, does minimal XML at least skip over any attributes
that it finds in the input? It would be nice if we could generate real XML
and use a simple parser...
In any case, I'm not at all convinced that parsing XML is that hard. Doing a
*validating* parse is quite a nuisance, but a nonvalidating parse is very
very easy.
Part of the complexity, I suspect, is that the current SAX/DOM parsers are
trying to be extremely general and are trying to minimize memory overhead.
For this application, if you cannot read the entire thing into memory then
you aren't going to be able to use it anyway...
In any case, has anyone actually tried to look at the difficulty of using
libxml? I need a better parser for PCMS, so it would be helpful to know
people's experiences...
shap