You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Wolf Josef <jo...@siemens.com> on 2002/10/17 09:41:32 UTC

"XML parse error"?

Hello!

Just tried the following:

  ~/local/tmp> svn co
https://svn.collab.net/repos/svn/tags/0.14.3/subversion/libsvn_subr
  A  libsvn_subr/svn_error.c
  [ ... ]
  Checked out revision 3381.
  ~/local/tmp> cd libsvn_subr/
  ~/local/tmp/libsvn_subr> svn up -r 3200
  /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:332:
(apr_err=175002, src_err=0)
  svn: RA layer request failed
  svn: REPORT request failed on
/repos/svn/tags/0.14.3/subversion/libsvn_subr
  /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:316:
(apr_err=175002, src_err=0)
  svn: The REPORT request returned invalid XML in the response: XML parse
error at line 1: xmlParseStartTag: invalid element name
  .. (/repos/svn/tags/0.14.3/subversion/libsvn_subr)
  ~/local/tmp/libsvn_subr> svn --version
  svn, version 0.14.3 (dev build)
     compiled Oct 16 2002, 16:02:13

  Copyright (C) 2000-2002 CollabNet.
  Subversion is open source software, see http://subversion.tigris.org/

  The following repository access (RA) modules are available:

  * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
    - handles 'http' schema
    - handles 'https' schema
  * ra_local : Module for accessing a repository on local disk.
    - handles 'file' schema


Is this a known issue?

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

Re: "XML parse error"?

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Wed, Oct 23, 2002 at 06:05:42PM -0500, Ben Collins-Sussman wrote:
> Josef Wolf <jw...@raven.inka.de> writes:
> 
> > >   ~/local/tmp> svn co https://svn.collab.net/repos/svn/tags/0.14.3/subversion/libsvn_subr
> > >   A  libsvn_subr/svn_error.c
> > >   [ ... ]
> > >   Checked out revision 3381.
> > >   ~/local/tmp> cd libsvn_subr/
> > >   ~/local/tmp/libsvn_subr> svn up -r 3200
> > >   /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=175002, src_err=0)
> > >   svn: RA layer request failed
> > >   svn: REPORT request failed on /repos/svn/tags/0.14.3/subversion/libsvn_subr   /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:316: (apr_err=175002, src_err=0)
> > >   svn: The REPORT request returned invalid XML in the response: XML parse error at line 1: xmlParseStartTag: invalid element name  .. (/repos/svn/tags/0.14.3/subversion/libsvn_subr)
> 
> I'm able to reproduce this error very easily.
> 
> Keep in mind:  the repository path doesn't *exist* in r3200.  So in
> theory your update command should delete the entire working copy.
> 
> As it is, it looks like the response is sending some kind of weird
> XML, but I can't see the problem, because my stupid svn client is
> requesting a gzipped response.  (Can I disable that?!)

See issue #940 for details.  (Yes, disabling gzip would be a useful
config option. You can also get neon to dump the gunzipped response
blocks by flipping an #if 0 in ne_compress.c)

Regards,

joe

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

Re: "XML parse error"?

Posted by Ben Collins-Sussman <su...@collab.net>.
Josef Wolf <jw...@raven.inka.de> writes:

> >   ~/local/tmp> svn co https://svn.collab.net/repos/svn/tags/0.14.3/subversion/libsvn_subr
> >   A  libsvn_subr/svn_error.c
> >   [ ... ]
> >   Checked out revision 3381.
> >   ~/local/tmp> cd libsvn_subr/
> >   ~/local/tmp/libsvn_subr> svn up -r 3200
> >   /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=175002, src_err=0)
> >   svn: RA layer request failed
> >   svn: REPORT request failed on /repos/svn/tags/0.14.3/subversion/libsvn_subr   /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:316: (apr_err=175002, src_err=0)
> >   svn: The REPORT request returned invalid XML in the response: XML parse error at line 1: xmlParseStartTag: invalid element name  .. (/repos/svn/tags/0.14.3/subversion/libsvn_subr)

I'm able to reproduce this error very easily.

Keep in mind:  the repository path doesn't *exist* in r3200.  So in
theory your update command should delete the entire working copy.

As it is, it looks like the response is sending some kind of weird
XML, but I can't see the problem, because my stupid svn client is
requesting a gzipped response.  (Can I disable that?!)

REPORT /repos/svn/tags/0.14.3/subversion/libsvn_subr HTTP/1.1
Host: svn.collab.net
User-Agent: neon/0.23.5 SVN/0.14.3 (dev build)
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 126
Content-Type: text/xml
Accept-Encoding: gzip
Accept-Encoding: gzip

<S:update-report xmlns:S="svn:">
<S:target-revision>3200</S:target-revision><S:entry
rev="3466"></S:entry>
</S:update-report>

HTTP/1.1 200 OK
Date: Wed, 23 Oct 2002 22:43:16 GMT
Server: Apache/2.0.43-dev (Unix) mod_ssl/2.0.43-dev OpenSSL/0.9.6 DAV/2 SVN/0.14.3 (dev build)
Content-Encoding: gzip
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

[...unintelligble gzip data...]



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

Re: "XML parse error"?

Posted by Josef Wolf <jw...@raven.inka.de>.
Hello!

Maybe noone have seen this post. Could please somebody check whether
this problem occures only to me. I can reproduce this problem on two
different hosts with two different clients. It looks to me that the
problem is on the server (in this case the server on
svn.collab.net). here is the receipe I posted a couple of days
before.

>   ~/local/tmp> svn co https://svn.collab.net/repos/svn/tags/0.14.3/subversion/libsvn_subr
>   A  libsvn_subr/svn_error.c
>   [ ... ]
>   Checked out revision 3381.
>   ~/local/tmp> cd libsvn_subr/
>   ~/local/tmp/libsvn_subr> svn up -r 3200
>   /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=175002, src_err=0)
>   svn: RA layer request failed
>   svn: REPORT request failed on /repos/svn/tags/0.14.3/subversion/libsvn_subr   /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:316: (apr_err=175002, src_err=0)
>   svn: The REPORT request returned invalid XML in the response: XML parse error at line 1: xmlParseStartTag: invalid element name  .. (/repos/svn/tags/0.14.3/subversion/libsvn_subr)
>   ~/local/tmp/libsvn_subr> svn --version
>   svn, version 0.14.3 (dev build)
>      compiled Oct 16 2002, 16:02:13
> 
>   Copyright (C) 2000-2002 CollabNet.
>   Subversion is open source software, see http://subversion.tigris.org/
> 
>   The following repository access (RA) modules are available:
> 
>   * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
>     - handles 'http' schema
>     - handles 'https' schema
>   * ra_local : Module for accessing a repository on local disk.
>     - handles 'file' schema
> 
> 
> Is this a known issue?

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