RE: [xml] xmllint and HTML

On Thu, 2003-10-30 at 15:34, Jesse Pelton wrote:
On the second point, at least, xmllint is correct.  According to,
an end tag for <hr> is forbidden in HTML.  (It's a different story in XHTML,
of course, but XHTML should be treated as XML, not HTML.)

OK, then should I bugzilla it, or not?
By the way, it would be nice if --html do not complain if you send him a
xml file (looking to the header we could change to XML parser without
the user need to look at the file to see if it is xhtml).


-----Original Message-----
From: Alberto Manuel Brandão Simões 
[mailto:albie alfarrabio di uminho pt] 
Sent: Thursday, October 30, 2003 10:00 AM
To: xml gnome org
Subject: [xml] xmllint and HTML


Although I may seem complaining, do not see it like that. 
Maybe it is my
bad English :)

1. I was used to use xmllint --html to process HTML or generic HTML
files with some special (mine) tags. Now, xmllint complains (ok, I can
ignore the complains :D but it would be nice to have a generic
pseudo-html processor)

2. The second problem is that an empty tag (again with xmllint --html)
gives complains: for example
 _.xml:2: error: Unexpected end tag : hr
Thank for all ideas :D
best regards,

xml mailing list, project page
xml gnome org

xml mailing list, project page
xml gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]