You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm new in eclipse and symfony. I just installed Eclipse and the plugin for Symfony 2, all right, but creating a new project and adding the Symfony nature, I get the following 5 errors:
cos-nonambig: WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"] and WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"](or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. doctrine-mapping.xsd /gcc/vendor/doctrine line 113 XML Schema Problem
cos-nonambig: WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"] and WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"](or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. doctrine-mapping.xsd /gcc/vendor/doctrine line 371 XML Schema Problem
Description Resource Path Location Type
cos-nonambig: WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"] and WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"](or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. doctrine-mapping.xsd /gcc/vendor/doctrine line 389 XML Schema Problem
cos-nonambig: WC[##other:"http://symfony.com/schema/dic/services"] and WC[##other:"http://symfony.com/schema/dic/services"](or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. services-1.0.xsd /gcc/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services line 20 XML Schema Problem
cvc-complex-type.2.3: Element 'routes' cannot have character [children], because the type's content type is element-only. routing.xml /gcc/vendor/bundles/Sensio/Bundle/GeneratorBundle/Resources/skeleton/crud/config line 5 XML Problem
I have excluded at the buildpath app/cache, app/logs and vendor/...GeneratorBundle.../skeleton folders.
Thank you very much.
The text was updated successfully, but these errors were encountered:
If you create new projects, you don't need to add the natures yourself, just use the "New Symfony Project" wizard. If you want to create a project from existing sources, than you need to manually add those natures.
However, the validation errors you posted are not coming from my plugin, it's XML/XSD validation errors that occur because those skeleton xsd/xml files are invalid from the XML/XSD validator point of view.
If you exclude folders from the build path, that only means that the PHP Indexer/Parser won't visit those folders, but all the other built-in validators still check them.
I have not found a solution for this problem yet, though i think you can somehow manually exclude folders from the XML/XSD validation too.
I'll investigate if it's possible to exclude those directories from XML validation programmatically somehow, so this can be automated too.
Hello, I'm new in eclipse and symfony. I just installed Eclipse and the plugin for Symfony 2, all right, but creating a new project and adding the Symfony nature, I get the following 5 errors:
cos-nonambig: WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"] and WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"](or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. doctrine-mapping.xsd /gcc/vendor/doctrine line 113 XML Schema Problem
cos-nonambig: WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"] and WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"](or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. doctrine-mapping.xsd /gcc/vendor/doctrine line 371 XML Schema Problem
Description Resource Path Location Type
cos-nonambig: WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"] and WC[##other:"http://doctrine-project.org/schemas/orm/doctrine-mapping"](or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. doctrine-mapping.xsd /gcc/vendor/doctrine line 389 XML Schema Problem
cos-nonambig: WC[##other:"http://symfony.com/schema/dic/services"] and WC[##other:"http://symfony.com/schema/dic/services"](or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. services-1.0.xsd /gcc/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services line 20 XML Schema Problem
cvc-complex-type.2.3: Element 'routes' cannot have character [children], because the type's content type is element-only. routing.xml /gcc/vendor/bundles/Sensio/Bundle/GeneratorBundle/Resources/skeleton/crud/config line 5 XML Problem
I have excluded at the buildpath app/cache, app/logs and vendor/...GeneratorBundle.../skeleton folders.
Thank you very much.
The text was updated successfully, but these errors were encountered: