propelorm/Propel — Issue #273: Build fail with match validator
Author: leandroluccerini
Created: 2012-02-01 10:36:10+00:00
State: open

I've added this rule to the schema.xml file:

\
\
\< /validator\>

But when i build the project it returns

_______________________________________________________________________________
[PHP Error] DOMDocument::load(): xmlParseEntityRef: no name in file:///C:/Users/
Leandro.Luccerini/Documents/My%20Dropbox/Progetti/Treinuno/farm/schema.xml, line
: 39 [line 419 of C:\Users\Leandro.Luccerini\Documents\My Dropbox\Progetti\Trein
uno\propel\generator\lib\task\AbstractPropelDataModelTask.php]
[PHP Error] DOMDocument::load(): xmlParseEntityRef: no name in file:///C:/Users/
Leandro.Luccerini/Documents/My%20Dropbox/Progetti/Treinuno/farm/schema.xml, line
: 39 [line 419 of C:\Users\Leandro.Luccerini\Documents\My Dropbox\Progetti\Trein
uno\propel\generator\lib\task\AbstractPropelDataModelTask.php]
[PHP Error] DOMDocument::schemaValidate(): The document has no document element.
[line 442 of C:\Users\Leandro.Luccerini\Documents\My Dropbox\Progetti\Treinuno\
propel\generator\lib\task\AbstractPropelDataModelTask.php]
Execution of target "om-template" failed for the following reason: C:\Users\Lean
dro.Luccerini\Documents\My Dropbox\Progetti\Treinuno\propel\generator\build-prop
el.xml:538:20: XML schema file (C:\Users\Leandro.Luccerini\Documents\My Dropbox\
Progetti\Treinuno\farm\schema.xml) does not validate. See warnings above for rea
sons validation failed (make sure error_reporting is set to show E_WARNING if yo
u don't see any).
[phingcall] C:\Users\Leandro.Luccerini\Documents\My Dropbox\Progetti\Treinuno\pr
opel\generator\build-propel.xml:538:20: XML schema file (C:\Users\Leandro.Luccer
ini\Documents\My Dropbox\Progetti\Treinuno\farm\schema.xml) does not validate. S
ee warnings above for reasons validation failed (make sure error_reporting is se
t to show E_WARNING if you don't see any).
Execution of target "om" failed for the following reason: C:\Users\Leandro.Lucce
rini\Documents\My Dropbox\Progetti\Treinuno\propel\generator\build-propel.xml:52
5:22: Execution of the target buildfile failed. Aborting.
[phing] C:\Users\Leandro.Luccerini\Documents\My Dropbox\Progetti\Treinuno\pr
opel\generator\build-propel.xml:525:22: Execution of the target buildfile failed
. Aborting.
_______________________________________________________________________________

Any suggestion?