Re: [xml-bindings]Push parsers in libxml2



If memory serves me right, Daniel Veillard wrote:
> > 	So I'm really interested in getting libxml# to touch 2 ends of what
> > it is supposed to bridge ... 1) Get it to an API similar to libxml-python,
> > 2) Get it to emulate ECMA parsing model ..
> 
>   If you could describe a bit better what are the constraints of the ECMA
> parsing model I could try to elaborate and help you. 

http://dotgnu.org/pnetlib-doc/System/Xml/XmlTextReader.html sort of condenses
all I want ...

What I had been planning was to parse till I get a node, stop the parser ,
to support the XmlTextReader.Read() method .. And use ParseChunk to feed 
4k peices from the Stream into the parser rather than attempt a complicated
I/O wrapping routine with delegates ...

> For 1) well the generation of bindings should be relatively easy, 
> something like the generator.py allow to build the bulk of the bindings 
> from the XML API description.

Yes ... I'm working with generator.py (slowly...) .. Also I'm trying to
figure out how to generate bindings without any C glue code ... We already
have such a binding for X11 .. The non-glue bindings is what is holding
me back.. Also I'm trying to build it so that a libxml2 dll in Windows
can also be accessed via this API ... 

I'll do it soon enough .. just need to find time :-)

Gopal
-- 
The difference between insanity and genius is measured by success



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