http://trac.turbogears.org/ticket/1383

Some discussion might be necessary on this.  Basically in xhtml the
"id" attribute is defined by the w3c as....

ID and NAME tokens must begin with a letter ([A-Za-z]) and may be
followed by any number of letters, digits ([0-9]), hyphens ("-"),
underscores ("_"), colons (":"), and periods (".").

However, currently the "valid_id" regular expression on line 55 of
core.py only accepts alphanumeric characters.  Although periods and
colons are not often used, I use the hyphen and underscore all the
time.  Allowing elements to have ids with underscores might confuse
toscawidgets though, because it seems that's how toscawidgets keeps
track of compound widgets.  Not really sure what a solution would be,
I imagine this must have come up before???

-Ian Charnas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to turbogears-trunk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to