You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by cm...@collab.net on 2003/05/31 21:41:35 UTC

Re: Ampersand escaping in XML web output

I fixed this just a couple of days ago.  If you upgrade to the latest
Subversion, you should have the fix.

Sebastien Cevey <se...@cine7.net> writes:

> Hello
> 
> I just renamed a file to '&.txt' (don't ask why please, I don't even
> know myself :) ), and wondering how it would show up in the XML web
> output (I use an XSL stylesheet similar to collabnet's), I loaded the
> corresponing URL in my browser window.
> 
> Phoenix told me there was an error in the XML, and there was indeed :
> 
> 
>     <file name="&.tex" href="&.tex"></file>
> ----------------^            ^
> -----------------------------'
> 
> It should have been &amp; I guess ...
> [ How the browser handles the escaped values is not up to Subversion ... ]
> 
> I have not tried with other to-be-escaped caracters (single and double
> quotes, and so on), but I guess it is the same.
> 
> I know this is a minor bug, but I thought it'd be worth mentionning
> since I have not find an existing issue mentionning that (sorry if I
> missed it).
> 
> 
> Note: I use SVN 0.21.0


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org