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

Not well-formed output for "svn log --xml" command

From: Paolo Marini <news_at_paolomarini.it>
Date: 2005-01-02 16:58:44 CET

If I run the following command on a command window (WinXP)

svn log -v --xml -r 3730 svn://mono.myrealbox.com/source/trunk

it happens that the output contains an unexpected character U+001a within
text content of element 'msg' (just before the closing tag </msg>).
I have found this issue trying to parse the output in order to extract some
statistics from the repository. After redirecting the output to a file with

svn log -v --xml -r 3730 svn://mono.myrealbox.com/source/trunk >
mono_History.xml

the attempt to validate it with a free tool from
http://www.elcel.com/products/xmlvalid.html revealed the exact position of
the non-valid character.

Hope this helps. For further info, please contact me.

Paolo Marini

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 2 21:09:32 2005

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

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