forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helena Edelson <>
Subject workaround for && in xdocs/*
Date Fri, 09 Dec 2005 16:22:41 GMT

this workaround works for links with "&" in the URL when the link is in 
here is an example of one I used:;type=text&#38;text=&#38;from=eng&#38;to=fin
both in site.xml and in xdocs/translate.xml type content files.

I am not sure why it won't work for your dev but I am using F7 not F8

If this helps anyone I also successfully used:
    &#38;&#38; in place of && in xslt files also for those bleak times I 
have to rely on a small javascript.

&amp won't work neither will &nbsp; or any of those. just get a good 
ascii ref to keep the validators happy.


Moshe Yudkowsky wrote:

> I wrote:
> >>
> >>>I just ran my forrest files through a validator, and to my dismay I 
> see
> >>>that there's a problem.
> >>>
> >>>In site.xml, some of the URLs I enter have an "&" character in them.
> >>>write these as HTML entities; otherwise site.xml won't validate.
> Helena Edelson wrote:
> > concat and replace & with &#38 your url's.
> If I use "&#38;" instead of &amp; in the url in site.xml, I have the 
> same problem.
> If I use "&amp;amp;", I get &amp; resulting html output. That works 
> and that validates, so that will be my workaround in the meantime.
> David Crossley wrote:
> > Perhaps it is this ...
> >
> > "character entities (e.g. ampersand) are expanded again for href or 
> src attributes"
> That is indeed the issue. But I didn't understand the resolution; does 
> that mean I need to use 0.8-dev to get the fix incorporated?
> Ross, I will assume that since David's issue tracked this, I don't 
> need to raise a separate issue on the tracker.

View raw message