String containing colon (:) should be valid for the value of an id attribute

Bug #800191 reported by Abbelf Feng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
In Progress
Undecided
Unassigned

Bug Description

nXhtml reports "invalid value" for the id attribute if the colon (:) is used. For example: <div id="a:b" />. However, as per HTML 4 specification, the following characters are valid as long as it is not used as the first character: '.', '_', '-', ':'.

http://stackoverflow.com/questions/70579/what-are-valid-values-for-the-id-attribute-in-html

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks for the bug report, Abbelf. However I suspect this is a bug in Emacs itself. Can you please try and see if you have the same problem if you just use nxml-mode (with the relevant DTD)? If so, then please report it as an Emacs bug.

Changed in nxhtml:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.