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

Bug #800191 reported by Abbelf Feng on 2011-06-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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: '.', '_', '-', ':'.

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  Edit
Everyone can see this information.

Other bug subscribers