You mean: add "bindings" of libxml HTML functions to GXml GObject's?This should be great!Because I'm adding interfaces to GXml, is possible to implement GXml.Document interface (and all its interfaces) to provide a Gee's methods access to all HTML documents, and of course this implementation should add any HTML specify functions.I should review libxml documentation in order to see, if wrapping should be in a new Class or should use existing classes. If the last, the actual implementation should be improved to access directly to libxml structures, to avoid memory and processing overhead, as of today.This overhead is low in small documents, but a pain in large ones.2015-05-12 11:00 GMT-05:00 yannick inizan <inizan yannick gmail com>:maybe few public functions for Html ? I've made these function for this : https://github.com/inizan-yannick/video-vala/blob/master/libvideo/utils.vala2015-05-12 17:56 GMT+02:00 Daniel Espinosa <esodan gmail com>:D) Any one else?B) Create DOM level 1 or 2 interfaces and implement them with "x" prefixed classes (from 0.4 release) and/or "Tw" onesA) Use xmlTextReader form libxml to read XML documentsPlanning (suggestions welcome!)I) Finish renaming 0.4 classes to use an "x" prefix, and convert them to GInterfacese) TwDocument use libxml 2.0 xmlTextWriter to write documents, this makes 3 to 5 times faster when you write large XML documentsc) Most classes in GXml 0.4 are replaced by interfaces,for example, GXml.Document is implemented by xDocument and TwDocument classesb) Most classes in GXml 0.4 are moved to a prefix "x", like GXml.Document to GXml.xDocumenta) Adding Interfaces to provide GXml with different implementation for parsing/writting XML documents. Most interfaces provides Gee's collections API to access/modify them, making them more easy to use and faster, depending on its implementation.Just to point.For 0.6 version, I'm going to:d) Added better support for unknown nodesf) I'm focusing my work on improve Serializable framework of GXml.Work to come:
C) Re-implement xDocument and xNode, to use directly libxml structures, to avoid memory and processing overhead2015-05-12 10:40 GMT-05:00 Daniel Espinosa <esodan gmail com>:Sorry. Found another missed file from test. I've added as for
commit 6db926ecc01d8b22d7e4f4e8cb2572574c1bef01Should compile again.2015-05-12 10:35 GMT-05:00 yannick inizan <inizan yannick gmail com>:thanks :)2015-05-12 17:34 GMT+02:00 Daniel Espinosa <esodan gmail com>:Good news to know some one is following my work on GXml! thanks again.Fixed at:Thanks for you Advice.
commit 0f1cf8a88ca806a1061fa132adeef3b7824fab662015-05-12 6:27 GMT-05:00 yannick inizan <inizan yannick gmail com>:Hi ;)Seems you have missed some files when you have commited :
config.status: error: cannot find input file: `test/Makefile.in'If y disable test (remove 'test' lines in configure.ac & Makefile.am), there are other errors :
make[2]: *** No rule to make target 'Comment.vala', needed by 'gxml_0_6_la_vala.stamp'. Arrêt.make[2]: *** No rule to make target 'Text.vala', needed by 'gxml_0_6_la_vala.stamp'. Arrêt.for a correct build I have to checkout old commit.
Sorry for this mail and good luck for your work ;)Yannick.
--Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)
--Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)
--Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)
--Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)