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

Skip to content

Commit cfc48bc

Browse files
committed
fixup xsd
1 parent f9dbeb7 commit cfc48bc

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/routing-1.0.xsd

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22

3-
<xsd:schema xmlns="http://symfony.com/schema/routing"
3+
<xsd:schema xmlns="http://symfony.com/schema/framework-routing"
44
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5-
targetNamespace="http://symfony.com/schema/routing"
5+
targetNamespace="http://symfony.com/schema/framework-routing"
66
elementFormDefault="qualified">
77

8+
<xsd:include schemaLocation="http://symfony.com/schema/routing/routing-1.0.xsd" />
9+
810
<xsd:redefine schemaLocation="http://symfony.com/schema/routing/routing-1.0.xsd">
911
<xsd:complexType name="routes">
10-
<xsd:complexContent>
11-
<xsd:extension base="routes">
12-
<xsd:choice minOccurs="0" maxOccurs="unbounded">
13-
<xsd:element name="import" type="import" />
14-
<xsd:element name="route" type="route" />
15-
<xsd:element name="template-route" type="template-route" />
16-
<xsd:element name="redirect-route" type="redirect-route" />
17-
<xsd:element name="url-redirect-route" type="url-redirect-route" />
18-
</xsd:choice>
19-
</xsd:extension>
20-
</xsd:complexContent>
12+
<xsd:choice minOccurs="0" maxOccurs="unbounded">
13+
<xsd:element name="import" type="import" />
14+
<xsd:element name="route" type="route" />
15+
<xsd:element name="template-route" type="template-route" />
16+
<xsd:element name="redirect-route" type="redirect-route" />
17+
<xsd:element name="url-redirect-route" type="url-redirect-route" />
18+
</xsd:choice>
2119
</xsd:complexType>
2220
</xsd:redefine>
2321

0 commit comments

Comments
 (0)