W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > July to September 2002

Re: Xlink w/queries

From: Lachlan Cannon <luminosity@members.evolt.org>
Date: Wed, 21 Aug 2002 18:29:45 +1000
Message-ID: <3D634F79.3060105@members.evolt.org>
To: jason burbage <jason@netfiredesigns.com>, www-xml-linking-comments@w3.org

jason burbage wrote:
> Hi everyone.
> I?m relatively new to the whole XML scene and I?m having a little 
> trouble using CGI-style queries with XLink (?foo1=bar1&foo2=bar2).  I 
> read an old archived message here that said it should work, no problem 
> (per RFC 2396) but the question mark and ampersand in the URL still 
> seems to throw off the XML interpreter (it says it?s malformed).  I 
> tried url-encoding them (%3F) but it interprets that literally.  I know 
> it?s just my naivety, and I hope someone here has a simple answer to my 
> question.

Because & designates entities, you have to escape it. try using &amp; in 
place of your &s

Web: http://illuminosity.net/
E-mail: lach@illuminosity.net
MSN: luminosity @ members.evolt.org
Received on Wednesday, 21 August 2002 04:31:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:24 UTC