Opened 17 years ago
Closed 16 years ago
#1598 closed defect (fixed)
XHTML Incompatibilities
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Component: | GraphvizPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
graphviz output that's linked to an image map produces invalid XHTML. The problems are:
- "area" tag is not closed; should be <area ... />
- "id" attributes must be unique; duplicated in "area" and "img" tags
- "id" attributes must begin with a letter; generated "sha_key" has possibility of beginning with a number; static letter should be prefixed to "sha_key"
The first bullet is a problem with graphviz's output. My environment: Win 2k3 Enterprise, Apache 2.2.3, Python 2.5.1, mod_python 3.3.1, graphviz 2.12 (pre-built binary), Trac 0.11dev. I've attached a patch that fixed the output for me.
Please note: this is the first time I've ever coded in Python. So...sorry if something is wrong or if it's messy. I just look at this as a pointer to what could be done. I hope it helps someone out.
Attachments (1)
Change History (4)
Changed 17 years ago by
Attachment: | xhtml-graphviz.py.patch added |
---|
comment:1 Changed 16 years ago by
I think you have to report this bug on graphviz mailing list, it's not related to the plugin. Tool used to generated the sitemap is from graphviz.
Cheers
Note: i'll try to ask to grapviz team myself, i'm on the ml
comment:2 Changed 16 years ago by
Owner: | changed from Peter Kropf to Christian Boos |
---|
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch file fixing error in ticket