After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587867 - xmllint --html --xmlout emits unclosed tags
xmllint --html --xmlout emits unclosed tags
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
2.7.3
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-06 10:17 UTC by sworley
Modified: 2009-08-23 13:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description sworley 2009-07-06 10:17:28 UTC
Please describe the problem:
xmllint --html --xmlout emits unclosed tags.

Steps to reproduce:
xmllint --xmlout --html - <<< '<link>'

Actual results:
<html><head><link></head></html>

Expected results:
<html><head><link/></head></html>

Does this happen every time?
Yes.

Other information:
This is a regression.  Subversion r3789 works correctly, r3790 does not.
Comment 1 Daniel Veillard 2009-08-23 13:34:04 UTC
Okay, a side effect to the switch to new save APIs, it's limited
to xmllint, just adding the flag fixed it :

paphio:~/XML -> xmllint --xmlout --html tst.html 
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><link/></head></html>
paphio:~/XML -> 

  thanks for raising the issue, fixed in git,

Daniel