Hello everyone,

This thread is a follow-up for [EMAIL PROTECTED] thread about
HTML 4.01compliance. As mentioned in that thread, JSF spec requires
implementor to
provide a HTML 4.01 compliant renderkit (Section 8.5). However, both JSF RI
and MyFaces cannot currently ensure that. One of the reason is the prefix
used for generated ids. Currently UIViewRoot.UNIQUE_PREFIX_ID = "_id".
However, W3C does not allow ids starting with an underscore (see
http://www.w3.org/TR/html401/struct/global.html#h-7.5.2 and
http://www.w3.org/TR/html401/types.html#type-name).

Therefore, I think the value of UNIQUE_PREFIX_ID should be changed to
something like "mf_id" in order to comply with the spec, even if RI does
not.


Regards,

~Simon


Original thread can be found at
http://mail-archives.apache.org/mod_mbox/myfaces-users/200704.mbox/browser,
thread named XHTML Strict

Reply via email to