Re: [Vala] Announce: Acme.Xml 0.1.0, wrapper for libxml2's xmlTextReader/xmlTextWriter API
- From: Simon Kågedal Reimer <skagedal gmail com>
- To: Daniel Espinosa <esodan gmail com>
- Cc: gxml-list gnome org
- Subject: Re: [Vala] Announce: Acme.Xml 0.1.0, wrapper for libxml2's xmlTextReader/xmlTextWriter API
- Date: Tue, 13 Aug 2013 15:45:38 +0200
Hi Daniel and others!
That sounds great, I would love to incorporate my work into GXml
eventually if you'd like that. I think for the time being it will be
easiest to continue work in my repository, until I have something that
is reasonably solid and tested. I'm working on this in the few hours
of spare time I can find, so progress is rather slow...
I will definitely have a closer look at GXml soon. Last I tried to
compile it I think I had the wrong Vala version.
I've had some problems with libxml2's XmlTextWriter, it seems to me to
be a bit buggy, but maybe I'm doing something wrong. I'll let you know
when I have something works. If it's ok, it would be nice if I can use
this mailing list for issues concering what is currently known as
"Acme" (silly wordplay on ECMA, if you were wondering :) )
I've also considered not using libxml2 for at least some parts. The
XmlWriter would not be too difficult to rewrite in Vala. This would
make things a little more manageable. I've also peeked in the Mono
sources, they have an implementation of this that one could try
porting from C# to Vala.
By the way, is this list brand new or are the archives not working correctly?
Regards,
Simon Kågedal Reimer
On Sun, Aug 11, 2013 at 10:12 PM, Daniel Espinosa <esodan gmail com> wrote:
I think this is a great opportunity to work together, I mean GXml and Acme.
First all I think this work should use same namespace than GXml.
Second I would like to use your work on Serialization, my actual work on
that is located in serialization branch at GXml repository, but use DOM and
I started to think that is better to use xmlTextReader and Writer for better
performane on large documents.
I need to know if I can share my work to you to test the concept.
Hello,
I started working on a wrapper for libxml's xmlTextReader and
xmlTextWriter API:s for simple "pull"-style reading and writing of
XML. Benifits against using libxml directly include, if/when things
are working correctly:
- Memory-managed GObject based classes
- Reading and writing with GIO streams
- Error reporting through GError
- Slightly more similar to the ECMA .NET API;s on which this is based
- Readable documentation
Regarding the last point - I've copied some documentation from the
DotGNU project, which I think comes directly from the ECMA spec. As
far as I can understand it is freely usable. A big TODO point remains
in checking that the behavior and the doc actually correspond...
Anyway, I just wanted to get this out since I would love to hear some
thoughts on the API and also the implementation, if anyone is
interested. I'm aware there is another project that wraps libxml in
Vala/GObject, GXml - that works at the DOM level so they are really
differrent things for different use cases, I think (although it would
be great if they worked well together).
Links for downloading, documentation and git repository here:
http://helgo.net/simon/projects/acme-xml/
Regards,
Simon Kågedal Reimer
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]