Skip to content

Commit 15e8e87

Browse files
Adding a note that XSD validation of config files is optional
1 parent 5702a9b commit 15e8e87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/dependency_injection/compilation.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ the XML configuration::
170170
return 'http://www.example.com/symfony/schema/';
171171
}
172172

173+
..note::
174+
XSD validation is optional, returning ``false`` from the ``getXsdValidationBasePath``
175+
method will disable it.
176+
173177
The XML version of the config would then look like this:
174178

175179
.. code-block:: xml

0 commit comments

Comments
 (0)