Permalink
Browse files

Fix info parser

  • Loading branch information...
1 parent b616271 commit 6a44d7762c9e6ef6b6f4cdf01f31d6e5e9677808 @mrook mrook committed Oct 24, 2012
Showing with 20 additions and 24 deletions.
  1. +20 −24 SVN/Parser/XML/Info.php
View
@@ -66,35 +66,31 @@ class VersionControl_SVN_Parser_XML_Info
* @var array $xmlPathConfig The XML configuration (like a DTD).
*/
protected $xmlPathConfig = array(
- 'info' => array(
+ 'entry' => array(
+ 'attribute' => array('kind', 'path', 'revision'),
+ 'quantifier' => '+',
'path' => array(
- 'entry' => array(
- 'attribute' => array('kind', 'path', 'revision'),
- 'quantifier' => '+',
+ 'url' => array(
+ 'config' => 'string',
+ ),
+ 'repository' => array(
'path' => array(
- 'url' => array(
+ 'root' => array(
+ 'config' => 'string',
+ ),
+ 'uuid' => array(
'config' => 'string',
),
- 'repository' => array(
- 'path' => array(
- 'root' => array(
- 'config' => 'string',
- ),
- 'uuid' => array(
- 'config' => 'string',
- ),
- ),
+ ),
+ ),
+ 'commit' => array(
+ 'attribute' => array('revision'),
+ 'path' => array(
+ 'author' => array(
+ 'config' => 'string',
),
- 'commit' => array(
- 'attribute' => array('revision'),
- 'path' => array(
- 'author' => array(
- 'config' => 'string',
- ),
- 'date' => array(
- 'config' => 'string',
- ),
- ),
+ 'date' => array(
+ 'config' => 'string',
),
),
),

0 comments on commit 6a44d77

Please sign in to comment.