https://bugzilla.wikimedia.org/show_bug.cgi?id=29843

       Web browser: ---
             Bug #: 29843
           Summary: mediawiki generates invalid xhtml id attributes
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to