History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-62
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Zarar Siddiqi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

Trouble parsing text with ampersands

Created: 24/May/06 10:26 AM   Updated: 24/May/06 12:06 PM
Component/s: Client Driver - Java
Affects Version/s: 0.7.1
Fix Version/s: 0.8.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows XP


 Description  « Hide
selenium.getTitle() does not retrieve any text past the ampersand sign. Any title with & or it's HTML counterpart & is not fully retrieved.

For example, in the following, only "First Part " is returned by selenium.getTitle():

<title>First Part & Second Part</title>

The same problem also exists when using selenium.getValue(field).

I would think this is happening in all selenium.getXXX() methods.



 All   Comments   Work Log   Change History      Sort Order:
Dan Fabulich - 24/May/06 10:31 AM
Duplicate of SRC-53, fixed in SVN. Try the nightlies:

http://release.openqa.org/selenium-remote-control/nightly

Zarar Siddiqi - 24/May/06 10:31 AM
I guess I was trying to be too smart by escaping special characters. JIRA really needs a preview feature. Here's the message again just for kicks:

selenium.getTitle() does not retrieve any text past the ampersand sign. Any title with & or it's HTML counterpart & is not fully retrieved.

For example, in the following, only "First Part " is returned by selenium.getTitle():

<title>First Part & Second Part</title>

The same problem also exists when using selenium.getValue(field).

I would think this is happening in all selenium.getXXX() methods.

Zarar Siddiqi - 24/May/06 12:06 PM
The nightly build does fix the issue. Thanks.