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

Re: svn commit: r1498851 - /subversion/trunk/subversion/libsvn_ra_serf/xml.c

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Tue, 2 Jul 2013 14:12:39 +0400

On Tue, Jul 2, 2013 at 1:16 PM, <rhuijben_at_apache.org> wrote:
> Author: rhuijben
> Date: Tue Jul 2 09:16:55 2013
> New Revision: 1498851
>
> URL: http://svn.apache.org/r1498851
> Log:
> In the serf transition based xml parser: provide an explicit error if the root
> element isn't matched in the transition table.
>
> Without this most parsers just return success for every invalid element such
> as '<html>' when the file contains valid xml.
>
> This requires a better (new) error code which I'll add as a separate commit, to
> allow backporting this.
>
Great! I agree that new separate error code would be really nice,
since we could handle it in OPTIONS processing to give user suggestion
that he is trying to access non Subversion server.

-- 
Ivan Zhakov
CTO | VisualSVN | http://www.visualsvn.com
Received on 2013-07-02 12:13:37 CEST

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.