Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334660 - UITestUtil#isValidId() does not allow hyphen characters
Summary: UITestUtil#isValidId() does not allow hyphen characters
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 1.4 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 10:29 EST by gianluca Mising name CLA
Modified: 2011-01-18 11:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gianluca Mising name CLA 2011-01-18 10:29:27 EST
Build Identifier: Build id: 20100917-0705 with RAP 1.3.1

As a comment in the method itself there is a link to http://www.w3.org/TR/html401/types.html#type-cdata (id and name) in order to know which characters are allowed.
In the document linked also "-" is allowed, but the implementation compeletly ignores hyphens.
I really need to have "-" in my ids for my purposes.

Reproducible: Always

Steps to Reproduce:
1. Enable test with "-Dorg.eclipse.rwt.enableUITests=true"
2. use an id with an hyphen somewhere
3.
Comment 1 Rüdiger Herrmann CLA 2011-01-18 11:42:14 EST
Fixed in HEAD