[cvsnt] fileattr.xml problem with & character

Erik Moons erik.moons at isac.be
Wed Sep 7 20:22:48 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.



> -----Original Message-----
> From: Merrill Cornish [mailto:merrill.cornish at earthlink.net]
> Sent: woensdag 7 september 2005 20:49
> To: erik.moons at isac.be; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> Subject: Re: [cvsnt] fileattr.xml problem with & character
> 
> >>> Probably something that needs to be corrected?
> 
> No.  Ampersands are active in quoted strings so they can be used as
introducers to a
> multitude of special characters.  This usage is similar to the backslash
in C and C++
> strings used to introduce special characters such as \t and \n.  So, in
either XML or C,
> you have to escape the introducer characters.
> 
> Merrill

Correct, but when converting the older "fileattr" format to the XML based
"fileattr.xml" (when upgrading from cvsnt2.0.51 to 2.5.0.2b2064) the escape
sequence is not used and the fileattr.xml contains an unescaped & generating
the error.
I only encountered this problem after upgrading and with existing
repositories, newly created repositories don't suffer from this and &'s are
correctly escaped.

Erik.





More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook