From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Tue Oct 03 2000 - 05:38:57 EDT
On Mon, Sep 25, 2000 at 02:53:14PM +0200, Daniel Veillard wrote:
> > Which means that is someone writes: <A Href="http://www.xml.org">,
> > and we look for href, we will not find it.
>
> Strange, the HTML parser take care of this to convert all names in
> markup to lowercase, and the XHTML specification forced this conversion
> for the XML versions of HTML.
Dohh, I just got pointed out that libxml HTML parser actually
didn't convert the attributes to lower case. It's really suprizing
I didn't noticed this earlier. This is the reason why your colleague
had this problem I assume.
I commited the very simple fix (calling htmlParseHTMLName instead of
htmlParseName at the beginning of htmlParseAttribute).
I hope this change won't cause troubles to people already using
the HTML parser I really intended to convert those to lowercase from
the start (like for element names).
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
This archive was generated by hypermail 2b29 : Tue Oct 03 2000 - 05:43:22 EDT