From 0bf794cf48c0acf58238083669857c202484b650 Mon Sep 17 00:00:00 2001 From: Brian Graham Date: Thu, 30 May 2013 11:16:00 -0400 Subject: [PATCH] XML validation code needs constraint-mapping element Missing XML information causes errors, has been been problematic for a while. See link for example: http://vvv.tobiassjosten.net/symfony/symfony2-validation-in-xml/ --- book/forms.rst | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/book/forms.rst b/book/forms.rst index 9f8f8a1b7ac..e4e8953e318 100644 --- a/book/forms.rst +++ b/book/forms.rst @@ -318,15 +318,18 @@ object. .. code-block:: xml - - - - - - - \DateTime - - + + + + + + + + + \DateTime + + + .. code-block:: php