I my test I did use the & syntax and got the same, incorrect behavior.
I just took a look at the latest binary and your test must have not made the 11-15 build. Not sure why we are getting differing results. This is the actual line that parses the link; <xtags:variable id="url" type="string" select="link"/> After this line I had to write a function to take out the spaces. The version of XTags I am using is from 10-24-2001. hmmmm.. Howard -----Original Message----- From: James Strachan [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 11:53 AM To: Tag Libraries Users List Subject: Re: XTAGS space amp; space problem Hi Howard Remember that in XML and HTML that & is a reserved symbol used to denote the start of an entity so that it must be escaped as & So some XML containing a URL with a link with & would look like this <link>http://server.com/someapp.jsp?id=27&name=james</link> If you edit your XML document to properly encode the & characters to & it'll probably work fine. Just to be sure,. I've committed a new test case in xtags/examples/web/test/test_amp.jsp that creates a href and displays a href that includes an ampersand inside it and it appears to work fine. James ----- Original Message ----- From: "Moore, Howard" <[EMAIL PROTECTED]> To: "'Tag Libraries Users List'" <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 4:40 PM Subject: RE: XTAGS space amp; space problem > > James, > > Sure. > > To reproduce the possible space_ampersand_space problem with XTAGS... > > - Take the Simple RSS Example > > - Either create an RSS file who's <link> tags contain ampersand-included > links such as; > <link>httppp://server.com/someapp.jsp?id=27&name=bubba</link> > > A simple way to do this is to just save the moreover.com RSS file to disk > and alter the URL's to include ampersands. > > > - Next point the Simple RSS example parser/transform at your contrived RSS > file and see if the URL's break. > > > Howard > > > > > > > -----Original Message----- > From: James Strachan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 12:26 AM > To: Tag Libraries Users List > Subject: Re: XTAGS space amp; space problem > > > Hi Howard > > I've never noticed that before. Could you give us an example of how to > reproduce this problem? > > James > ----- Original Message ----- > From: "Moore, Howard" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, November 15, 2001 12:13 AM > Subject: XTAGS space amp; space problem > > > > Greetings, > > > > Anyone notice XTAGS parses an ampersand in a URL then seems to put a space > > on either side of it? > > > > Behavior seems to happen if amp; or & is used. > > > > output example: http://server/dosomething.jsp?name=bubba > > <http://server/dosomething.jsp?name=bubba> & id=47 > > > > The SPACE before and after the ampersand breaks the URL as you have > > probably guessed. > > > > > > > > Has this been addressed before or has anyone experienced this behavior? > > > > > > Howard > > > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>