symfony/symfony — Issue #3312: Nicer error message when defining XML services
Author: lmcd
Created: 2012-02-09 14:38:11+00:00
State: open

Instead of this:

InvalidArgumentException: [ERROR 1871] Element '{http://symfony.com/schema/dic/services}service': This element is not expected. Expected is one of ( {http://symfony.com/schema/dic/services}services, ##other{http://symfony.com/schema/dic/services}* ). (in /Users/pub/docroot/projects/forks/hailocab/new-hailocab-dot-com/src/Hailo/PageBundle/Resources/config/services.xml - line 14, column 0)

Can we have something like:

tags must be nested inside of a single tag