Tj3Man 0.1.0 generates invalid xhtml (minor issue)

3 views
Skip to first unread message

René Küttner

unread,
Jun 6, 2011, 6:22:29 PM6/6/11
to taskjug...@googlegroups.com

When running tj3man --manual to create taskjuggler's user manual of
version 0.1.0 it generates invalid xhtml.

The html root element is closed right after it has been opened (see
snippet below). Therefore, head and body tag become additional root
elements of the document.

------8<-------
<!-- This file has been generated by tj3man v0.1.0 -->
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"></html>
<head>
----->8-------

regards,
Ren�

Chris Schlaeger

unread,
Jun 7, 2011, 4:00:41 AM6/7/11
to taskjug...@googlegroups.com
2011/6/7 René Küttner <rene.k...@googlemail.com>

>
> ------8<-------
> <!-- This file has been generated by tj3man v0.1.0 -->
> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"></html>
> <head>
> ----->8-------

Good catch! Did you see rendering errors with any browser or did you
look at the generated HTML? Firefox on Linux seems to be smart enough
to handle even such broken HTML correctly.

Chris

René Küttner

unread,
Jun 7, 2011, 3:58:35 PM6/7/11
to taskjug...@googlegroups.com
On Tue, Jun 07, 2011 at 10:00:41AM +0200, Chris Schlaeger wrote:
> Good catch! Did you see rendering errors with any browser or did you
> look at the generated HTML? Firefox on Linux seems to be smart enough
> to handle even such broken HTML correctly.

Browsers don't seem to care about the invalid xhtml. After pulling v0.1.0
some of my xpath statements stopped to match. So I started investigating
the problem, looked at the generated files and found the reported bug.

Thanks for the quick fix by the way!

Ren�

Reply all
Reply to author
Forward
0 new messages