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

Re: invalid XML on PROPFIND?

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2004-02-14 10:09:49 CET

Branko ÄŒibej wrote:

> ...
>>2) it should be checked why the XML parser inside the svn client does
>>not reject the XML (possibly running in non-namespace-aware mode???).
>
>
> I'm pretty sure it is.

Well then it's still unclear why it doesn't throw a parsing error.

>>3) it should be prevented that customer properties with invalid XML
>>names are entered in the first place.
>
>
> No again. DAV is only one of the repository access protocols, and what
> goes into the repository should not be constrained by the fact that DAV
> uses XML. We should just make sure to properly XML-escape everything in
> the ra_dav layer.

That's a possible approach, but I think it's unwise. Being compatible
with XML for the syntax of names makes a lot of sense -- whether you use
DAV or not.

Anyway, if you keep it that way you'll need a way to tunnel illegal name
characters inside XML names. That'll be non-trivial, as there is no
out-of-the-box XML escaping that you can apply.

Regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 14 10:10:26 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.