zfcampus/zf-deploy — pull request #26 by weierophinney (2014-07-15 15:57:07+00:00)
Title: Cannot validate deployment.xml if zfdeploy.phar is in a folder with spaces

If I put zfdeploy.phar in a folder, which name contains spaces, and execute it like this:

```$ /tmp/folder\ with\ space/zfdeploy.phar build xxx.zpk```

then the execution fails with the following output:

```
Creating package "xxx.zpk"...
PHP Warning: DOMDocument::schemaValidate(): I/O warning : failed to load external entity "phar:///tmp/folder%20with%20space/zfdeploy.phar/src/../config/zpk/schema.xsd" in phar:///tmp/folder with space/zfdeploy.phar/src/Deploy.php on line 165
PHP Warning: DOMDocument::schemaValidate(): Failed to locate the main schema resource at 'phar:///tmp/folder with space/zfdeploy.phar/src/../config/zpk/schema.xsd'. in phar:///tmp/folder with space/zfdeploy.phar/src/Deploy.php on line 165
PHP Warning: DOMDocument::schemaValidate(): Invalid Schema in phar:///tmp/folder with space/zfdeploy.phar/src/Deploy.php on line 165
The XML file "/tmp/ZFDeploy_53a1d1c004a96/deployment.xml" does not validate against the schema "phar:///tmp/folder with space/zfdeploy.phar/src/../config/zpk/schema.xsd".
```