Re: glib and XML

2005-03-04 Thread David Necas (Yeti)
On Fri, Mar 04, 2005 at 03:40:04PM +0100, Iago Rubio wrote: > > You're wrong. > > That's one layer on validation - the last one - but validation starts > with syntax checking indeed. If XML is not well-formed, it isn't XML at all (otherwise you could say any file is XML). Only [well-formed] X

Re: glib and XML

2005-03-04 Thread Iago Rubio
On Fri, 2005-03-04 at 15:01 +0100, Maciej Katafiasz wrote: > Dnia 04-03-2005, piÄ o godzinie 12:35 +0100, Iago Rubio napisaÅ: > > On Thu, 2005-03-03 at 16:24 -0400, Andrà Pedralho wrote: > > > I took it as correct cause it is auto-generated by another third > > > famous application! So... Is there

Re: glib and XML

2005-03-04 Thread Maciej Katafiasz
Dnia 04-03-2005, pią o godzinie 12:35 +0100, Iago Rubio napisał: > On Thu, 2005-03-03 at 16:24 -0400, André Pedralho wrote: > > I took it as correct cause it is auto-generated by another third > > famous application! So... Is there an HTML parser? > > You need a non validating XML parser. Non-val

Re: glib and XML

2005-03-04 Thread Iago Rubio
On Thu, 2005-03-03 at 16:24 -0400, Andrà Pedralho wrote: > I took it as correct cause it is auto-generated by another third > famous application! So... Is there an HTML parser? You need a non validating XML parser. I don't know if it'll be able to cope with the crappy output you showed us but you'

Re: glib and XML

2005-03-03 Thread David Necas (Yeti)
On Thu, Mar 03, 2005 at 03:51:23PM -0400, André Pedralho wrote: > I'm building an app that uses the GLib simple XML subset parser > (http://developer.gnome.org/doc/API/2.0/glib/glib-Simple-XML-Subset-Parser.html), > but I'm getting a problem at this! > My XML has some recursions e.g. > > 1 > 2

Re: glib and XML

2005-03-03 Thread Tim Müller
On Thursday 03 March 2005 19:51, André Pedralho wrote: > My XML has some recursions e.g. > > 1 > 2some text > 3some name > 4some text > 5 > 6 another name > 7 some text > 8 > 9 some text > 10 some name > 11 > > How can you see, there is a (line 5) tag insi

Re: glib and XML

2005-03-03 Thread André Pedralho
I took it as correct cause it is auto-generated by another third famous application! So... Is there an HTML parser? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: glib and XML

2005-03-03 Thread Brian J. Tarricone
André Pedralho wrote: I'm building an app that uses the GLib simple XML subset parser (http://developer.gnome.org/doc/API/2.0/glib/glib-Simple-XML-Subset-Parser.html), but I'm getting a problem at this! My XML has some recursions e.g. 1 2some text 3some name 4some text 5 6 an