File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class Dependency {
12
12
13
13
public function __construct (fDOMDocument $ dom , Project $ project ) {
14
14
$ this ->index = $ dom ;
15
- $ this ->baseDir = dirname ($ dom ->documentURI );
15
+ $ this ->baseDir = dirname (urldecode ( $ dom ->documentURI ) );
16
16
$ this ->index ->registerNamespace ('phpdox ' , 'http://xml.phpdox.net/src ' );
17
17
$ this ->project = $ project ;
18
18
}
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ public function __construct(\DOMNodeList $nodeList) {
24
24
*/
25
25
public function current () {
26
26
$ item = $ this ->nodeList ->item ($ this ->pos );
27
- //var_dump($item);
28
- $ path = dirname ($ item ->ownerDocument ->documentURI ) . '/ ' . $ item ->getAttribute ('xml ' );
27
+ $ path = dirname (urldecode ($ item ->ownerDocument ->documentURI )) . '/ ' . $ item ->getAttribute ('xml ' );
29
28
return new TokenFile (new FileInfo ($ path ));
30
29
}
31
30
You can’t perform that action at this time.
0 commit comments