[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: [xml] Feature request
From: |
Sungjin Chun |
Subject: |
Fw: [xml] Feature request |
Date: |
Wed, 6 Dec 2000 23:56:27 +0900 |
Hi, I'm Sungjin Chun.
Half of our hope becomes true.
----- Original Message -----
From: "Daniel Veillard" <Daniel.Veillard@w3.org>
To: <xml@rpmfind.net>
Sent: Wednesday, December 06, 2000 11:36 AM
Subject: Re: [xml] Feature request
>
> On Wed, Nov 29, 2000 at 04:05:10PM +0100, Manuel Guesdon wrote:
> >
> > Hello,
> >
> > We have two problems with the HTML parser:
> > o when <html><body> is missing in the file/buffer to parse
(because it's a "sub-component"), libxml add it (it is
> > done in htmlCheckImplied function).
> > o we use a "proprietary" tag which is not recognized so a
message is printed.
> >
> > Is it possible to add a parameter/option, so libxml doesn't add the
<html><body> tags when they are missing ?
>
> yes, I added the following call, just call it at init time with val = 0;
> to desactivate the auto-insertion of omitted tags.
>
> int htmlHandleOmittedElem(int val);
> > Is it possible to add a function so "proprietary tags" could be added in
HTMLparser knwon tags ?
>
> Hum, I dislike that. I would prefer you establish you own error handler
> and catch this specific error. I prefer that libxml reports errors like
> this, and that you work around it, unless you can point me to a public
> request to add this extension in some standard body (W3C/IETF/...).
> Sorry the proper way is to use XHTML and XML namespaces to extend the
> original vocabulary ...
>
> Daniel
>
> --
> Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | Today's Bookmarks :
> Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux XML libxml WWW
> Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
> http://www.w3.org/People/all#veillard%40w3.org | RPM badminton Kaffe
> ----
> Message from the list xml@rpmfind.net
> Archived at : http://xmlsoft.org/messages/
> to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fw: [xml] Feature request,
Sungjin Chun <=