You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ask Bjoern Hansen <as...@develooper.com> on 2003/02/21 00:27:18 UTC

REPORT request returned invalid XML in the response

On Thu, 20 Feb 2003, Michael Price wrote:

>  http://subversion.tigris.org/files/documents/15/2979/subversion-r4973.tar.gz
>
> Please note that the revision number in the tar filename is from the
> release branch, not the trunk. This release reflects trunk revision 4959
> with the changes in revisions 4964, 4965, and 4966.

I tried doing a switch to the release branch, like this:

[... ~/src/subversion/svn]$ svn switch -r 4973 http://svn.collab.net/repos/svn/tags/0.18/ .

but I get an error:

svn: RA layer request failed
svn: REPORT request failed on /repos/svn/trunk
svn: The REPORT request returned invalid XML in the response: Unknown XML element `error (in DAV:)'. (/repos/svn/trunk)


What did I do wrong?  :-)


  - ask

-- 
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: REPORT request returned invalid XML in the response

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Thu, Feb 20, 2003 at 11:00:23PM -0600, Karl Fogel wrote:
> Ask Bjoern Hansen <as...@develooper.com> writes:
> > Of course.
> > 
> > I put the -w outout on
> > 
> >   http://x1.develooper.com/~ask/tmp/svndump.bin
> > 
> > I haven't used (t)etherreal to do a trace before, so let me know if
> > I didn't do it right.
> 
> Hmm.  I can't see the error right away, looking at it.  Can you file
> an issue, with the repro recipe ('svn switch' etc), and with this dump
> attached?  Hate to defer it like that, but it's going to need some
> real eyes.

The response has a 200 status code, but the parsing of the "error"
element only happens for non-2xx responses (svn_ra_dav__parsed_request
and ra_dav_error_accepter). Either this response should not be 2xx or
the error handler needs to always be run even for 2xx responses, I
guess.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: REPORT request returned invalid XML in the response

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Ask Bjoern Hansen <as...@develooper.com> writes:
> Of course.
> 
> I put the -w outout on
> 
>   http://x1.develooper.com/~ask/tmp/svndump.bin
> 
> I haven't used (t)etherreal to do a trace before, so let me know if
> I didn't do it right.

Hmm.  I can't see the error right away, looking at it.  Can you file
an issue, with the repro recipe ('svn switch' etc), and with this dump
attached?  Hate to defer it like that, but it's going to need some
real eyes.

Thanks,
-K


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: REPORT request returned invalid XML in the response

Posted by Ask Bjoern Hansen <as...@develooper.com>.
On Thu, 20 Feb 2003, Karl Fogel wrote:

> > svn: RA layer request failed
> > svn: REPORT request failed on /repos/svn/trunk
> > svn: The REPORT request returned invalid XML in the response:
> > Unknown XML element `error (in DAV:)'. (/repos/svn/trunk)
>
> I don't know.  Can you do an ethereal trace?

Of course.

I put the -w outout on

  http://x1.develooper.com/~ask/tmp/svndump.bin

I haven't used (t)etherreal to do a trace before, so let me know if
I didn't do it right.


 - ask

-- 
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: REPORT request returned invalid XML in the response

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Ask Bjoern Hansen <as...@develooper.com> writes:
> I tried doing a switch to the release branch, like this:
> 
> [... ~/src/subversion/svn]$ svn switch -r 4973 http://svn.collab.net/repos/svn/tags/0.18/ .
> 
> but I get an error:
> 
> svn: RA layer request failed
> svn: REPORT request failed on /repos/svn/trunk
> svn: The REPORT request returned invalid XML in the response:
> Unknown XML element `error (in DAV:)'. (/repos/svn/trunk)

I don't know.  Can you do an ethereal trace?

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org