Re: [xml] running libxml in kernel space (fwd)



At 15:38 13.11.2003, you wrote:

>   You may want to look at expat for embeddeding too if libxml2 gives
> troubles.
which one would be best in your optionion?
libxml
libxml2
expat
expat2
other?

I've written a minimal SAX2 XMLWF (well formedness) parser that could fit your needs. It actually fullfills most of the subset requirements that Daniel listed, see http://www.saunalahti.fi/~samiuus/toni/xmlproc/

It's simpler than expat or libxml2 (mostly 'cos it implements only subset of xml 1.0 spec of course).

The heap usage could be tweaked more easily because parser is simpler and smaller although not as fast
as expat (but it should be fast enough for most purposes).
Then again it might be that markup is bloat solution for memory critical environment, just like Daniel wrote.

with respect,


Toni Uusitalo

"And I wish that I was made of stone
So that I would not have to see
A beauty impossible to define
A beauty impossible to believe"
- Nick Cave (Brompton Oratory) - romanticist?

"There are lots of myths that people have around issues of beauty and attraction, and part of the issue is to stop thinking about things in terms of myth, but to use the tools of neuroscience, and start dissecting and understanding how things actually function," said Dr. Hans Breiter, a psychiatrist and co-author of the study."
- The Brain Is Stimulated by Beauty, Study Finds - abcnews.com - scientist?






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