RE: [xml] xmllint and HTML
- From: Jesse Pelton <jsp PKC com>
- To: "'albie alfarrabio di uminho pt'" <albie alfarrabio di uminho pt>, xml gnome org
- Subject: RE: [xml] xmllint and HTML
- Date: Thu, 30 Oct 2003 10:34:06 -0500
On the second point, at least, xmllint is correct. According to
http://www.w3.org/TR/1998/REC-html40-19980424/present/graphics.html#edef-HR,
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.)
-----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
Hi!
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
<hr></hr>
^
Thank for all ideas :D
best regards,
Alberto
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]