Ticket #2529518 (closed defect)
Reporter Ricardo Ramirez |
Opened: 11/9/10 Last modified: 08/18/11 Status: closed Type: defect Resolution: fixed |
Owner Matt Sweeney |
Target Release: 3.4.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Y.one() failing when getting an id that includes a colon | ||
| Description: | In the following call, w successfully gets the element, and z does not:
This is important because Frameworks like MyFaces in JavaServer faces autogenerate the ids, and separate them using semicolons, for example, it is pretty common to see content generated as <table id='myIdentifier'> I tried searching if a colon was an invalid identifier, DOM does not seem to say anything about that Since some frameworks use it, it would be nice for YUI to be able to retrieve those id, it makes integrating YUI with JavaServer faces difficult. |
||
| Type: | defect | Observed in Version: | 3.2.0 |
| Component: | Selector | Severity: | S3 (normal) |
| Assigned To: | Matt Sweeney | Target Release: | 3.4.0 |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | dom,node | Relates To: | |
| Browsers: | Firefox 3.x - All | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 11/9/10
|
|
Posted: 12/8/10
|
|
Posted: 01/26/11
|
|
Posted: 04/28/11
|
|
Posted: 04/29/11
|
|
Posted: 05/24/11
|
|
Posted: 06/8/11
|
|
Posted: 06/8/11
|
|
Posted: 08/18/11
|
Forgot to say, the element is declared in the page as
<div id='hello:1'></div>