GNOME Bugzilla – Bug 587867
xmllint --html --xmlout emits unclosed tags
Last modified: 2009-08-23 13:34:04 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.
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