From e917a18a60c43b7d42cd3f6d8fae8ea6c4f1d5f3 Mon Sep 17 00:00:00 2001 From: Marco Petersen Date: Fri, 21 Feb 2020 22:36:35 +0100 Subject: [PATCH] Add XML schema location for container configuration At first I assumed this was omitted to keep the code snippet more concise and easier to comprehend. But then again, the `xsi` namespace already in place would be redundant. If the intention was indeed to keep things more simple, I would suggest removing the `xsi` namespace entirely. --- routing.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/routing.rst b/routing.rst index 41421d563a9..b3a558699f5 100644 --- a/routing.rst +++ b/routing.rst @@ -1949,7 +1949,9 @@ generate URLs. This context can be configured globally for all commands: + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://symfony.com/schema/dic/services + https://symfony.com/schema/dic/services/services-1.0.xsd"> example.org @@ -2062,7 +2064,9 @@ method) or globally with these configuration parameters: + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://symfony.com/schema/dic/services + https://symfony.com/schema/dic/services/services-1.0.xsd"> https