Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1c4bc8

Browse files
committed
remove "..." from XML element tags
The ellipses were used as placeholders in XML element tags. Thus, the XML wasn't well-formed and therefore would have never been rendered properly.
1 parent dbc02a2 commit c1c4bc8

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

book/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ file:
16751675
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
16761676
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
16771677
1678-
<framework:config ...>
1678+
<framework:config>
16791679
<framework:templating>
16801680
<framework:form>
16811681
<framework:resource>AcmeTaskBundle:Form</framework:resource>

book/http_cache.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -862,13 +862,13 @@ First, to use ESI, be sure to enable it in your application configuration:
862862
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
863863
xmlns:framework="http://symfony.com/schema/dic/symfony"
864864
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
865-
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
865+
http://symfony.com/schema/dic/symfony
866+
http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
866867
867-
<framework:config ...>
868+
<framework:config>
868869
<!-- ... -->
869870
<framework:esi enabled="true" />
870871
</framework:config>
871-
872872
</container>
873873
874874
.. code-block:: php

book/service_container.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ the service container gives you a much more appealing option:
629629
</parameters>
630630
631631
<services>
632-
<service id="my_mailer" ...>
632+
<service id="my_mailer">
633633
<!-- ... -->
634634
</service>
635635
<service id="newsletter_manager" class="%newsletter_manager.class%">
@@ -726,7 +726,7 @@ Injecting the dependency by the setter method just needs a change of syntax:
726726
</parameters>
727727
728728
<services>
729-
<service id="my_mailer" ...>
729+
<service id="my_mailer">
730730
<!-- ... -->
731731
</service>
732732
<service id="newsletter_manager" class="%newsletter_manager.class%">
@@ -794,7 +794,7 @@ it exists and do nothing if it doesn't:
794794
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
795795
796796
<services>
797-
<service id="my_mailer" ...>
797+
<service id="my_mailer">
798798
<!-- ... -->
799799
</service>
800800
<service id="newsletter_manager" class="%newsletter_manager.class%">

components/dependency_injection/configurators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ The service config for the above classes would look something like this:
156156
.. code-block:: xml
157157
158158
<services>
159-
<service id="my_mailer" ...>
159+
<service id="my_mailer">
160160
<!-- ... -->
161161
</service>
162162
<service id="email_formatter_manager" class="EmailFormatterManager">

cookbook/form/form_collections.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ we talk about next!).
510510
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
511511
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
512512
513-
<entity name="Acme\TaskBundle\Entity\Task" ...>
513+
<entity name="Acme\TaskBundle\Entity\Task">
514514
<!-- ... -->
515515
<one-to-many field="tags" target-entity="Tag">
516516
<cascade>
@@ -609,7 +609,7 @@ First, add a "delete this tag" link to each tag form:
609609
jQuery(document).ready(function() {
610610
// Get the ul that holds the collection of tags
611611
$collectionHolder = $('ul.tags');
612-
612+
613613
// add a delete link to all of the existing tag form li elements
614614
$collectionHolder.find('li').each(function() {
615615
addTagFormDeleteLink($(this));
@@ -667,9 +667,9 @@ the relationship between the removed ``Tag`` and ``Task`` object.
667667
is handling the "update" of your Task::
668668

669669
// src/Acme/TaskBundle/Controller/TaskController.php
670-
670+
671671
use Doctrine\Common\Collections\ArrayCollection;
672-
672+
673673
// ...
674674
public function editAction($id, Request $request)
675675
{

cookbook/templating/global_variables.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This is possible inside your ``app/config/config.yml`` file:
2020
.. code-block:: xml
2121
2222
<!-- app/config/config.xml -->
23-
<twig:config ...>
23+
<twig:config>
2424
<!-- ... -->
2525
<twig:global key="ga_tracking">UA-xxxxx-x</twig:global>
2626
</twig:config>
@@ -67,7 +67,7 @@ system, which lets you isolate or reuse the value:
6767
.. code-block:: xml
6868
6969
<!-- app/config/config.xml -->
70-
<twig:config ...>
70+
<twig:config>
7171
<twig:global key="ga_tracking">%ga_tracking%</twig:global>
7272
</twig:config>
7373
@@ -111,7 +111,7 @@ This should feel familiar, as it's the same syntax you use in service configurat
111111
.. code-block:: xml
112112
113113
<!-- app/config/config.xml -->
114-
<twig:config ...>
114+
<twig:config>
115115
<!-- ... -->
116116
<twig:global key="user_management">@acme_user.user_management</twig:global>
117117
</twig:config>

0 commit comments

Comments
 (0)