Looks related to
http://issues.apache.org/jira/browse/TAPESTRY-1218

Try enabling friendly urls... it should fix this for now

On 2/27/07, Barry Books <[EMAIL PROTECTED]> wrote:

I started validating my site as XHTML strict and ran into a problem Idid
not expect. The W3C validator reports
# Warning  Line 9 column 109: cannot generate system identifier forgeneral
entity "service".
...Acumera/app?page=AcuVigil%3AMGStatus&service=page"/>
With the following explanation:
http://www.htmlhelp.com/tools/validator/problems.html#amp
Ampersands (&'s) in URLs
Another common error occurs when including a URL which contains
anampersand ("&"):
<!-- This is invalid! --> <ahref="foo.cgi
?chapter=1&section=2&copy=3&lang=en">...</a>
This example generates an error for "unknown entity section" becausethe
"&" is assumed to begin an entity reference. Browsers oftenrecover safely
from this kind of error, but real problems do occur insome cases. In this
example, many browsers correctly convert &copy=3to (c)=3, which may cause
the link to fail. Since &lang; is the HTMLentity for the left-pointing angle
bracket, some browsers also convert&lang=en to 〈=en. And one old browser
even finds the entity &sect;,converting &section=2 to §ion=2.
To avoid problems with both validators and browsers, always use &amp;in
place of & when writing URLs in HTML:
<a href="foo.cgi?chapter=1&amp;section=2&amp;copy=3&amp;lang=en">...</a>
Note that replacing & with &amp; is only done when writing the URL inHTML,
where "&" is a special character (along with "<" and ">"). Whenwriting the
same URL in a plain text email message or in the locationbar of your
browser, you would use "&" and not "&amp;". With HTML, thebrowser translates
"&amp;" to "&" so the Web server would only see "&"and not "&amp;" in the
query string of the request.

This surprised me because every url I've ever seen has an & in it.Doesthis seem 
correct and if so I guess Tapestry should support aseparator other
than &
Barry




--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

Reply via email to