I know certain DB engines do not employ boolean types so perhaps that was
causing the problem.

On 2/27/09, Lawrence Krubner <[email protected]> wrote:
>
>
>
> Okay, I got an older version of schema.yml out of Subversion and
> rebuilt the model with that, and everything went fine.
>
> Here is the change I made that crashed the file, can someone tell me
> what I did wrong?
>
> I took this line:
>
>     active: { type: CHAR, size: '1', required: true, default: '' }
>
> and changed it to this:
>
>
>     active: { type: BOOLEAN, required: true, default: '' }
>
> Why would this cause a crash?
>
>
> -- lawrence
>
>
>
>
>
>
>
>
> On Feb 27, 12:29 am, Lawrence Krubner <[email protected]> wrote:
> > I made some changes to schema.yml. Then I ran this command:
> >
> > php symfony propel:build-model
> >
> > And I got these errors:
> >
> > [PHP Error] DOMDocument::load(): error parsing attribute name in /home/
> > lawrence/public_html/bocahoops/config/generated-schema.xml, line: 41
> > [line 407 of /usr/share/php/symfony/plugins/sfPropelPlugin/lib/vendor/
> > propel-generator/classes/propel/phing/AbstractPropelDataModelTask.php]
> >
> > [PHP Error] DOMDocument::load(): attributes construct error in /home/
> > lawrence/public_html/bocahoops/config/generated-schema.xml, line: 41
> > [line 407 of /usr/share/php/symfony/plugins/sfPropelPlugin/lib/vendor/
> > propel-generator/classes/propel/phing/AbstractPropelDataModelTask.php]
> >
> > [PHP Error] DOMDocument::load(): Couldn't find end of Start Tag column
> > line 41 in /home/lawrence/public_html/bocahoops/config/generated-
> > schema.xml, line: 41 [line 407 of /usr/share/php/symfony/plugins/
> > sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/
> > AbstractPropelDataModelTask.php]
> >
> > [propel-om] Could not perform XSLT transformation.  Make sure PHP has
> > been compiled/configured to support XSLT.
> >
> > [PHP Error] DOMDocument::load(): error parsing attribute name in /home/
> > lawrence/public_html/bocahoops/config/generated-schema.xml, line: 41
> > [line 102 of /usr/share/php/symfony/plugins/sfPropelPlugin/lib/vendor/
> > propel-generator/classes/propel/engine/database/transform/
> > XmlToAppData.php]
> >
> > [PHP Error] DOMDocument::load(): attributes construct error in /home/
> > lawrence/public_html/bocahoops/config/generated-schema.xml, line: 41
> > [line 102 of /usr/share/php/symfony/plugins/sfPropelPlugin/lib/vendor/
> > propel-generator/classes/propel/engine/database/transform/
> > XmlToAppData.php]
> >
> > [PHP Error] DOMDocument::load(): Couldn't find end of Start Tag column
> > line 41 in /home/lawrence/public_html/bocahoops/config/generated-
> > schema.xml, line: 41 [line 102 of /usr/share/php/symfony/plugins/
> > sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/
> > database/transform/XmlToAppData.php]
> >
> > Execution of target "om-template" failed for the following reason: /
> > home/lawrence/public_html/bocahoops/config/generated-schema.xml:41:18:>
> required
> >
> > [phingcall] /home/lawrence/public_html/bocahoops/config/generated-
> > schema.xml:41:18: > required
> >
> > I didn't get these errors when I first set up the project, so I'm
> > assuming I've done something to cause these errors. Aside from
> > schema.yml, what else could cause this?
> >
> > Also, the errors above mention this file:
> >
> > /home/lawrence/public_html/bocahoops/config/generated-schema.xml
> >
> > And yet, there is no such file. I'd like to open it and look at it,
> > but it doesn't exist. Why?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to