Forum Discussion
omatzura
17 years agoSuper Contributor
Hi Ali,
I'm not sure on the SQL syntax but it should be possible, something like TRIM( columnName) in the select clause.
What if you changed the assertion to be as follows:
declare namespace ns1='http://services.tvguide.com/v2.5/common/types';
declare namespace ns2='http://services.tvguide.com/v2.5/listings';
//ns2:GetServicesResponse/ns2:GetServicesResult/ns2:Service/ns1:Name/text() = normalize-space( '${DataSource#Name}' )
Expected Result
true
?
regards!
/Ole
eviware.com
I'm not sure on the SQL syntax but it should be possible, something like TRIM( columnName) in the select clause.
What if you changed the assertion to be as follows:
declare namespace ns1='http://services.tvguide.com/v2.5/common/types';
declare namespace ns2='http://services.tvguide.com/v2.5/listings';
//ns2:GetServicesResponse/ns2:GetServicesResult/ns2:Service/ns1:Name/text() = normalize-space( '${DataSource#Name}' )
Expected Result
true
?
regards!
/Ole
eviware.com