[
Lists Home |
Date Index |
Thread Index
]
On Mon, Feb 10, 2003 at 05:19:47PM +0100, Peter Jacobi wrote:
> John Cowan <cowan@mercury.ccil.org> wrote:
>
> > An Open Source implementation of XMLReader would be very welcome.
>
> http://www.xmlsoft.org/xmlreader.html - that's in C.
>
> I assume Daniel himself will comment on this, especially about C#.
Right Peter, thanks :-)
Well someone on the DotGNU team asked about this interface. So I looked
at it an implemented it directly in libxml2 at the C level. Note that
the Mono people (another C# framework) are likely to keep their
implementation in pure C# to avoid some nasty side effect problem in case
of class inheritances, a wrapper around a C implementation can get really
hard to subclass.
I don't aim at a 100% compatibility, especially since the default behaviour
of the XMLTextReader mandate behaviour which is clearly (blatantly !)
not compliant to XML-1.0, so I have no regrets making my own tweaks and
extensions to that base interface which IMHO has a very good programming
model.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
|