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

[BUG REPORT] svn log --xml outputs invalid XML

From: Dominique PERETTI <dperetti_at_lachoseinteractive.net>
Date: 2004-07-28 12:50:42 CEST

I couldn't get why my xml parser died on subversion's log. Here is why :

Any strict xml parser will complain like this :
"invalid XML character (Unicode: 0x1a) was found in the element content
of the document."
or "Unable to load file, possibly invalid UTF-8 contents!"

> svn log --xml -r 10416 http://svn.collab.net/repos/svn/trunk

<?xml version="1.0" encoding="utf-8"?>
<log>
<logentry
    revision="10416">
<author>kfogel</author>
<date>2004-07-26T14:05:14.054174Z</date>
<msg>* COMMITTERS: Expand Øyvind Møll's access to include general
docs as
     well as .po, and add Øyvind Holm (sunny256) with the same partial
     access. Thanks to Jostein Chr. Andersen
&lt;jostein@josander.net&gt;
     for arranging this.
</msg>
</logentry>
</log>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 28 12:50:49 2004

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