On 21 November 2011 08:32, Philippe Mouawad <[email protected]> wrote: > Hello Sebb, > These are the same limitations on Properties files: > http://stackoverflow.com/questions/2406975/escaping-equal-sign-in-properties-files > > What do you mean by: > > - Is it really necessary to escape : in parameter values?
You wrote: +# Don't forget to escape : by \: in the file +# Example: +# ns= However, the entries ns1=http\://biz.aol.com/schema/2006-12-18 and ns2=http://biz.aol.com/schema/2006-12-18 work equally well. According to: http://download.oracle.com/javase/7/docs/api/java/util/Properties.html#load%28java.io.Reader%29 it is necessary to escape ':' (and '=') when they are part of the *key*, but not otherwise. So I think your comment could (and should) be removed, unless you can find documentation that states otherwise. > > > Maybe my comment is confusing. > > Regards > > On Mon, Nov 21, 2011 at 12:45 AM, sebb <[email protected]> wrote: > >> On 20 November 2011 22:16, <[email protected]> wrote: >> > Author: pmouawad >> > Date: Sun Nov 20 22:16:51 2011 >> > New Revision: 1204281 >> > >> > URL: http://svn.apache.org/viewvc?rev=1204281&view=rev >> > Log: >> > Bug 43294 - XPath Extractor namespace problems >> > >> > Modified: >> > jmeter/trunk/bin/jmeter.properties >> > >> > Modified: jmeter/trunk/bin/jmeter.properties >> > URL: >> http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.properties?rev=1204281&r1=1204280&r2=1204281&view=diff >> > >> ============================================================================== >> > --- jmeter/trunk/bin/jmeter.properties (original) >> > +++ jmeter/trunk/bin/jmeter.properties Sun Nov 20 22:16:51 2011 >> > @@ -52,6 +52,13 @@ cookies=cookies >> > # XML Reader(Parser) - Must implement SAX 2 specs >> > xml.parser=org.apache.xerces.parsers.SAXParser >> > >> > +# Path to a Properties file containing Namespace mapping in the form >> > +# prefix=Namespace >> > +# Don't forget to escape : by \: in the file >> >> Is it really necessary to escape : in parameter values? >> >> > +# Example: >> > +# ns=http\://biz.aol.com/schema/2006-12-18 >> > +#xpath.namespace.config= >> > + >> > >> #--------------------------------------------------------------------------- >> > # SSL configuration >> > >> #--------------------------------------------------------------------------- >> > >> > >> > >> > > > > -- > Cordialement. > Philippe Mouawad. >
