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

svn --xml outputs invalid XML with unversioned files (issue #2656)

From: Sander Rijken <sr_at_d-90.nl>
Date: 2006-11-16 16:05:46 CET

When trying to interact with svn.exe using its XML format, it
appeared to spit out invalid xml when errors occur. I encountered it
with a command similar to:
svn status --xml versionedDirectory\versionedFile unversionedDirectory
\unversionedFile

This outputs the following xml:
<?xml version="1.0"?>
<status>
<target
    path="src\master.build">
</target>
<target
    path="build-0\AssemblyInfo.cpp">
</status>

which is obviously invalid because the second <target> tag is opened
but not closed.

Someone else appears to have entered an issue about the same problem
in svn log:
http://subversion.tigris.org/issues/show_bug.cgi?id=2656

for example:
svn log --xml unversionedDir\unversionedFile outputs:

<?xml version="1.0"?>
<log>

I'm not sure what the preferred

-- 
Sander
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 16 16:06:24 2006

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.