[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Ampersand escaping in XML web output

From: Sebastien Cevey <seb_at_cine7.net>
Date: 2003-06-01 00:05:12 CEST

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

-- 
Sebastien Cevey <seb@cine7.net>
Cine7.Net  -  Milcis.Net  -  ProgramPlay.Org
Jabber: theefer@albus.homelinux.net - ICQ: 48895760
" Would you like to know more? "
[ Starship Troopers ]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 31 22:27:38 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.