2 messages in com.canoo.lists.webtestRE: [Webtest] parameter xml value on ...
FromSent OnAttachments
Ian Spence05 Sep 2003 23:35 
Dierk Koenig08 Sep 2003 00:18 
Subject:RE: [Webtest] parameter xml value on invoke task
From:Dierk Koenig (dier@canoo.com)
Date:09/08/2003 12:18:31 AM
List:com.canoo.lists.webtest

hi, you need to use the appropriate xml entity e.g. &lt; for < &quot; etc.

otherwise the xml parser will screw up

cheers Mittie

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com]On Behalf Of Ian Spence Sent: Samstag, 6. September 2003 8:36 To: webt@lists.canoo.com Subject: [Webtest] parameter xml value on invoke task

I am trying to assign xml content to a parameter on an invoke task. e.g.

<invoke stepid="Security Request" url="security?requestparameter="<?xml version="1.0" encoding="ISO-8859-1"?><service type="security"><request name="authenticatetoken"><parameter name="userid">fred</parameter><parameter name="token">12345</parameter></request></service>" />

When the invoke task runs, it throws an error complaining about an invalid double-quote i.e. ["].

Should I escape double-quotes or use a single quote in the xml content ? Any other ideas ?