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

Issue with properties that are ISO-8859-1 encoded XML documents

From: Eric van der Vlist <vdv_at_dyomedea.com>
Date: 2004-10-06 09:00:45 CEST

Hi,

I am running subversion 1.0.6 on Debian sid:

++++++++++++++++++++++++++++++++++++++++++++++++++++++
# svn --version
svn, version 1.0.6 (r10360)
   compiled Sep 3 2004, 04:28:26

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

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
* ra_svn : Module for accessing a repository using the svn network
protocol.
  - handles 'svn' schema

and neon version: 0.24.7.dfsg-0.2
++++++++++++++++++++++++++++++++++++++++++++++++++++++

After migrating my subversion repository from an old version (through
dump/reload), I have this error when I checkout through http (the file
protocol works fine):

++++++++++++++++++++++++++++++++++++++++++++++++++++++
svn: REPORT request failed on '/svn/!svn/vcc/default'
svn: The REPORT request returned invalid XML in the response: XML parse
error at line 56936: Bytes: 0xE9 0x65 0x20 0x64
. (/svn/!svn/vcc/default)
vdv_at_delleric:/tmp$ svn co http://dev.xmlfr.org/svn/
svn: REPORT request failed on '/svn/!svn/vcc/default'
svn: The REPORT request returned invalid XML in the response: XML parse
error at line 118: Bytes: 0xE9 0x65 0x20 0x64
. (/svn/!svn/vcc/default)
++++++++++++++++++++++++++++++++++++++++++++++++++++++

tcpflow shows that these characters are in a property that is an
iso-8859-1 encoded property:

++++++++++++++++++++++++++++++++++++++++++++++++++++++
<S:set-prop name="document-original">&lt;?xml version="1.0"
encoding="ISO-8859-1"?&gt;
&lt;?xml-stylesheet type="text/css" href="nitf-xxe.css"?&gt;
&lt;!-- $Id: 030926-0001.xml 168 2003-09-26 17:59:03Z vdv@dyomedea.com $
--&gt;
&lt;!DOCTYPE nitf SYSTEM "nitf-3-1.dtd"&gt;
&lt;nitf&gt;
  &lt;head&gt;
    &lt;title&gt;Des royalties pour l&amp;#39;ISO?&lt;/title&gt;
  &lt;/head&gt;

  &lt;body&gt;
    &lt;body.head&gt;
      &lt;hedline&gt;
        &lt;hl1&gt;Des royalties pour
l&amp;#39;&lt;org&gt;ISO&lt;/org&gt;?&lt;/hl1&gt;

        &lt;hl2&gt;L&amp;#39;&lt;org&gt;ISO&lt;/org&gt; provoque une
levée de boucliers en évoquant
++++++++++++++++++++++++++++++++++++++++++++++++++++++

I have seen many posts around this type of problems in this mailing list
but I am not sure whether the one I am facing has been addressed yet and
if I should file a bug.

Thanks

Eric

-- 
Freelance consulting and training.
                                            http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 6 09:01:19 2004

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.