Opened 15 years ago

Closed 14 years ago

#123 closed defect (fixed)

Bogus warnings about duplicate IDs in HTML templates

Reported by: Dominic Hargreaves Owned by: Dagfinn Ilmari Mannsåker
Priority: normal Milestone:
Component: openguides Version: svn
Severity: normal Keywords: hackfestsummer2007-reviewed
Cc:

Description

With Test::HTML::Content installed, we get some warnings that have probably been around for ages:

t/27_geo_data_edit_form............ok 12/18element textarea: validity error : ID content already defined
    <td><textarea name="content" id="content" rows="21" cols="70" wrap="virtual"
                                                                               ^
element textarea: validity error : ID content already defined
    <td><textarea name="content" id="content" rows="21" cols="70" wrap="virtual"
                                                                               ^
element textarea: validity error : ID locales already defined
              <td><textarea name="locales" id="locales" rows="5" cols="70"></tex
                                                                          ^
element textarea: validity error : ID categories already defined
              <td><textarea name="categories" id="categories" rows="5" cols="70"
                                                                               ^
element select: validity error : ID edit_type already defined
        <select name="edit_type" id="edit_type">
                                               ^

etc etc.

Change History (6)

comment:1 Changed 15 years ago by nick

I've fixed the content id duplication

As best as I can tell, locale and edit_type aren't duplicated, so I don't know where those errors are coming from.

Can you test again with the latest svn, and close the ticket if the errors are now gone?

comment:2 Changed 15 years ago by Dominic Hargreaves

Testing on [846] the errors are all still there.

comment:3 Changed 14 years ago by Dominic Hargreaves

Owner: changed from Dominic Hargreaves to Nobody

comment:4 Changed 14 years ago by Dagfinn Ilmari Mannsåker

Keywords: hackfestsummer2007-reviewed added
Owner: changed from Nobody to Dagfinn Ilmari Mannsåker
Status: newassigned

Kake suggested that this might be a bug with Test::HTML::Content conflating name= and id=. I'll investigate.

comment:5 Changed 14 years ago by Dagfinn Ilmari Mannsåker

Summary: Duplicate IDs in HTML templatesBogus warnings about duplicate IDs in HTML templates

comment:6 Changed 14 years ago by Dagfinn Ilmari Mannsåker

Resolution: fixed
Status: assignedclosed

This is fixed in libxml2 2.6.29, closing this ticket

Note: See TracTickets for help on using tickets.