Last modified: 2011-07-12 13:41:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31843, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29843 - mediawiki generates invalid xhtml id attributes
mediawiki generates invalid xhtml id attributes
Status: RESOLVED DUPLICATE of bug 9530
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-12 13:36 UTC by Florian Hars
Modified: 2011-07-12 13:41 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Florian Hars 2011-07-12 13:36:21 UTC
If a (sub)headline starts with a number, it gets an id attribute that starts with a number, too, although NameStartChar http://www.w3.org/TR/REC-xml/#NT-NameStartChar doesn't allow it.

For example:

Ethernet_physical_layer:355: element span: validity error : Syntax of value for attribute id of span is not valid
it Ethernet">edit</a>]</span> <span class="mw-headline" id="10_gigabit_Ethernet"
                                                                               ^
Possible solution: Prepend an underscore it the headline doesn't start with a NameStartChar, or almost any of the solutions proposed for bug 7356
Comment 1 Chad H. 2011-07-12 13:41:05 UTC

*** This bug has been marked as a duplicate of bug 9530 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links