/[Apache-SVN]
ViewVC logotype

Revision 1498851


Jump to revision: Previous Next
Author: rhuijben
Date: Tue Jul 2 09:16:55 2013 UTC (10 years, 9 months ago)
Changed paths: 1
Log Message:
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.

* subversion/libsvn_ra_serf/xml.c
  (svn_ra_serf__xml_cb_start): Expect transitions from the default state to
    succeed, by returning an error when it doesn't.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_ra_serf/xml.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26