Using a SVN repo file as a source for an XML data provider

182 Views Asked by At

As title really, how/is it possible to set the Source property of an XmlDataProvider to use a file held on our SVN repository?

I've tried this:

<XmlDataProvider x:Key="xmlDPPlatforms" Source="https://[path to xml file]" />

But it doesn't work, which I'm guessing is down to the fact that it's held on a secure (HTTPS) repository? It doesn't throw any errors, but nothing which relies on the file get's populated.

I know I could theoretically use svn commands to download the latest version into a stream/string, and bind that to the dataprovider, but that seems a bit convoluted to me?

Running on .net 3.5 framework, but no qualms about upgrading it to 4 if need be.

Thanks

1

There are 1 best solutions below

0
On

check the apache access/error logs when the client should be getting the file. maybe it's authentication or authorization related