﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Rob Levine commented on Subversion is Xmlish</title><description>Interestingly enough, it turns out that you can get the .Net XmlTextReader to accept this format (not that I knew this before about an hour ago).
  
More info here:
  
http://blog.roblevine.co.uk/?p=12
  
I don't know if that is any help in your quest to read Subversion's xml, but maybe...
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment19</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment19</guid><pubDate>Thu, 06 Mar 2008 17:04:24 GMT</pubDate></item><item><title>Ayende Rahien commented on Subversion is Xmlish</title><description>Rob.
  
No XML parser that I tried could handle them, and I tried 3 different ones.
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment18</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment18</guid><pubDate>Wed, 05 Mar 2008 19:16:41 GMT</pubDate></item><item><title>Rob Levine commented on Subversion is Xmlish</title><description>The &lt;C:bugtraq:label&gt; certainly looks nasty, but I do believe it is syntactically allowable as an element name as the XML RFC seems to permit it. 
  
It does note that colons have a reserved meaning in the XML namespaces RFC and so authors shouldn't use them in element names, but it also says that this *must* be handled by parsers.
  
  
A very quick look at the relevant parts of the RFC is here: 
  
http://blog.roblevine.co.uk/?p=11
  
  
That is not to say I think this sample of XML is actually *nice*...
  
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment17</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment17</guid><pubDate>Wed, 05 Mar 2008 18:49:30 GMT</pubDate></item><item><title>Paul Hatcher commented on Subversion is Xmlish</title><description>That last one is a perfectly valid uri; there's only one colon and both the left and right are valid names.
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment16</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment16</guid><pubDate>Wed, 05 Mar 2008 14:31:05 GMT</pubDate></item><item><title>Jan Limpens commented on Subversion is Xmlish</title><description>sql server 2005 has something similar for its theasuarus
  
  
    &lt;thesaurus xmlns="x-schema:tsSchema.xml"&gt;
  
      &lt;diacritics = false/&gt;
  
    &lt;/thesaurus&gt;
  
  
does not make live any easier
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment15</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment15</guid><pubDate>Wed, 05 Mar 2008 00:21:01 GMT</pubDate></item><item><title>Ayende Rahien commented on Subversion is Xmlish</title><description>Dennis,
  
Take a look at the element name:
  
&lt;C:bugtraq:label&gt;
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment14</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment14</guid><pubDate>Tue, 04 Mar 2008 19:03:42 GMT</pubDate></item><item><title>orcmid commented on Subversion is Xmlish</title><description>If it is the namespace peculiarity that bothers you (DAV: not exactly being a URI), it goes back into WebDAV history, where the not-yet-solid namespace specifications were misunderstood.
  
  
I didn't look for other problems, but I suspect they have an origin in a misunderstanding of WebDAV (and any misunderstandings that still lurk in WebDAV).
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment13</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment13</guid><pubDate>Tue, 04 Mar 2008 18:59:23 GMT</pubDate></item><item><title>Rik Hemsley commented on Subversion is Xmlish</title><description>By using svn.exe or talking to the server over the wire, I _am_ storing the information in Subversion itself.
  
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment12</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment12</guid><pubDate>Tue, 04 Mar 2008 18:42:20 GMT</pubDate></item><item><title>Ayende Rahien commented on Subversion is Xmlish</title><description>Storing the information in Subversion itself.
  
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment11</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment11</guid><pubDate>Tue, 04 Mar 2008 17:58:05 GMT</pubDate></item><item><title>Rik Hemsley commented on Subversion is Xmlish</title><description>The svn developers I talked to told me that parsing the output of svn.exe is painful. Perhaps it has similar problems to the one you are seeing.
  
  
I'm not sure what you mean by 'using' the SVN server. If I'm not checking in / checking out / diffing etc. using svn.exe or the wire protocol, what else is there?
  
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment10</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment10</guid><pubDate>Tue, 04 Mar 2008 17:41:20 GMT</pubDate></item><item><title>Ayende Rahien commented on Subversion is Xmlish</title><description>The output of svn.exe is explicitly designed to be parsed by machines.
  
But I meant using the SVN server 
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment9</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment9</guid><pubDate>Tue, 04 Mar 2008 15:40:40 GMT</pubDate></item><item><title>Rik Hemsley commented on Subversion is Xmlish</title><description>You mean the command line program? Because its output is not good enough to parse.
  
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment8</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment8</guid><pubDate>Tue, 04 Mar 2008 15:28:25 GMT</pubDate></item><item><title>Ayende Rahien commented on Subversion is Xmlish</title><description>Why not use SVN itself for that?
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment7</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment7</guid><pubDate>Tue, 04 Mar 2008 15:25:53 GMT</pubDate></item><item><title>Rik Hemsley commented on Subversion is Xmlish</title><description>I was going to write a managed library for talking to svn servers, then use svn as the backend for a website - the idea of revision history being part of the storage was attractive. 
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment6</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment6</guid><pubDate>Tue, 04 Mar 2008 15:23:44 GMT</pubDate></item><item><title>Ayende Rahien commented on Subversion is Xmlish</title><description>Rik,
  
Why are you trying to simulate the protocol?
  
  
You don't have to worry about it changing, I would say. Too much relies on it.
  
  
You can also take the SvnBridge source code and use that as a base, you would need to supply an implementation of ISourceCodeProvider, but that about it
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment5</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment5</guid><pubDate>Tue, 04 Mar 2008 13:33:24 GMT</pubDate></item><item><title>Rik Hemsley commented on Subversion is Xmlish</title><description>I was tempted to do this myself, but it worried me that I'd make too many assumptions - or that the protocol would change 'under' me too rapidly.
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment4</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment4</guid><pubDate>Tue, 04 Mar 2008 13:26:33 GMT</pubDate></item><item><title>Ayende Rahien commented on Subversion is Xmlish</title><description>Rik,
  
What SvnBridge did is reverse engineer the protocol.
  
You can take a look at TestsProtocol to see how it was done.
  
Basically, it started from TCP level sniffer and build the tests from there
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment3</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment3</guid><pubDate>Tue, 04 Mar 2008 13:18:48 GMT</pubDate></item><item><title>Rik Hemsley commented on Subversion is Xmlish</title><description>Did you find any documentation on the svn wire protocol? I wanted to work with it a while back but couldn't find anything useful, even after talking to several svn developers.
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment2</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment2</guid><pubDate>Tue, 04 Mar 2008 09:34:07 GMT</pubDate></item><item><title>Grimace of Despair commented on Subversion is Xmlish</title><description>Moreover, since long, it's easy to have the svn command line spit out invalid xml. Failing operations can leave behind open tags. This is especially frustrating within automated builds that consume the svn output to get status information.
</description><link>http://ayende.com/3173/subversion-is-xmlish#comment1</link><guid>http://ayende.com/3173/subversion-is-xmlish#comment1</guid><pubDate>Tue, 04 Mar 2008 07:21:23 GMT</pubDate></item></channel></rss>