Ticket #123 (closed defect: fixed)

Opened 2 years ago

Last modified 17 months ago

Bogus warnings about duplicate IDs in HTML templates

Reported by: dom Owned by: ilmari
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

Changed 2 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?

Changed 2 years ago by dom

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

Changed 18 months ago by dom

  • owner changed from dom to Nobody

Changed 18 months ago by ilmari

  • keywords hackfestsummer2007-reviewed added
  • owner changed from Nobody to ilmari
  • status changed from new to assigned

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

Changed 18 months ago by ilmari

  • summary changed from Duplicate IDs in HTML templates to Bogus warnings about duplicate IDs in HTML templates

Changed 17 months ago by ilmari

  • status changed from assigned to closed
  • resolution set to fixed

This is fixed in libxml2 2.6.29, closing this ticket

Note: See TracTickets for help on using tickets.