From: Kang Jeong-H. <Ke...@ma...> - 2002-09-19 19:53:43
|
Hi. GtkTMHtml calls GMarkup for parsing HTML string of @text in append_text(). but the GMarkup does not provide full HTML-compatible parsing, rather half-XML (means stric for pairing etc.) one. so it's time to make a decision: GMarkup or libxml's HTML parser? a) if GMarkup is appreciated, pliz persuade others at http://bugzilla.gnome.org/show_bug.cgi?id=93597 b) if libxml is appreciated, I'll #include <libxml.h> rather than glib. waiting for reply. |
From: Sean E. <bj...@bi...> - 2002-09-19 20:24:34
|
Ummm... why not just use the parser we already have? On Thu, 2002-09-19 at 15:52, Kang Jeong-Hee wrote: > Hi. > > GtkTMHtml calls GMarkup for parsing HTML string of @text in append_text(). > but the GMarkup does not provide full HTML-compatible parsing, > rather half-XML (means stric for pairing etc.) one. > > so it's time to make a decision: GMarkup or libxml's HTML parser? > > a) if GMarkup is appreciated, pliz persuade others at > http://bugzilla.gnome.org/show_bug.cgi?id=93597 > > b) if libxml is appreciated, I'll #include <libxml.h> rather than glib. > > waiting for reply. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gaim-devel mailing list > Gai...@li... > https://lists.sourceforge.net/lists/listinfo/gaim-devel > |
From: Kang Jeong-H. <Ke...@ma...> - 2002-09-19 20:45:40
|
On 2002.09.20 05:24 Sean Egan wrote: > Ummm... why not just use the parser we already have? you mean the lines of code beginning with gtk_imhtml_is_tag()? it's... yeah, kind of parser, but obsolete for gtk2's GtkTextView; I need an common interface like SAX which idealy provide way of implementation detail of rendering, not doing 1-by-1 bit of process. and the role of codes is closely implemented with pointer-hack. this is not fit to UTF-8 fashion. but I wanna say that I really respect the internal of the codes; I did implemented my patch as almost porting of these code. btw, I think gtkimhtml need SAX type parser. pliz concern. |
From: Nathan W. <fac...@fa...> - 2002-09-19 20:57:59
|
On Fri, Sep 20, 2002 at 04:52:37AM +0900, Kang Jeong-Hee wrote: > Hi. >=20 > GtkTMHtml calls GMarkup for parsing HTML string of @text in append_text(). > but the GMarkup does not provide full HTML-compatible parsing, > rather half-XML (means stric for pairing etc.) one. >=20 > so it's time to make a decision: GMarkup or libxml's HTML parser? >=20 > a) if GMarkup is appreciated, pliz persuade others at > http://bugzilla.gnome.org/show_bug.cgi?id=3D93597 >=20 > b) if libxml is appreciated, I'll #include <libxml.h> rather than glib. >=20 > waiting for reply. Well, I can't speak as to the merits of either. However, I'm already using libxml to parse the XML buddy list in the person tree. I'll be happy to send along the patches to autoconf et all if you want/need them. --=20 Nathan Walp || fac...@fa... GPG Fingerprint: || http://faceprint.com/ 5509 6EF3 928B 2363 9B2B DA17 3E46 2CDC 492D DB7E |
From: Lenny M. <ld...@ho...> - 2002-09-19 21:11:36
|
Things in the world are generally moving towards XML... I would suggest that! Lenny |
From: Ben N. <ol...@ol...> - 2002-09-19 21:14:21
|
On Thu, 19 Sep 2002 17:07:55 -0400 Lenny Maiorani <ld...@ho...> wrote: > Things in the world are generally moving towards XML... I would suggest > that! > > Lenny > XML-ize everything! XML email! I GOT MAIL! YAY! |
From: Christian H. <ch...@gn...> - 2002-09-19 21:49:56
|
On Thu, Sep 19, 2002 at 05:14:08PM -0400, Ben Neuman wrote: > On Thu, 19 Sep 2002 17:07:55 -0400 > Lenny Maiorani <ld...@ho...> wrote: > > > Things in the world are generally moving towards XML... I would suggest > > that! > > > > Lenny > > > > XML-ize everything! XML email! I GOT MAIL! YAY! > XML is not bad at all, when used under the right circumstances. Since we're already parsing a markup language, and SGML parsers tend to be slower than XML parser, AND since we'll be using XML anyway from the L/F/PERSON/F/L tree, we may as well use XML now.. IF it's appropriate. I don't know the protocols well enough, but if they're sending SGML, then we should stick with our current parser. My $0.01. I spent the other on a hotdog and drumsticks. Christian -- Christian Hammond <> The GNUpdate Project ch...@gn... <> http://www.gnupdate.org/ Root beer and doughnuts -- because breakfast is the most important meal of the day! |