8000 merged branch Tobion/patch-4 (PR #6175) · symfony/symfony@9be270e · GitHub
[go: up one dir, main page]

Skip to content

Commit 9be270e

Browse files
committed
merged branch Tobion/patch-4 (PR #6175)
This PR was merged into the 2.0 branch. Commits ------- eec7885 needs to use simpleContent in xsd to allow empty elements Discussion ---------- needs to use simpleContent in xsd to allow empty elements
2 parents 90e910f + eec7885 commit 9be270e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Symfony/Component/Routing/Loader/schema/routing/routing-1.0.xsd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
</xsd:complexType>
3333

3434
<xsd:complexType name="element">
35-
<xsd:attribute name="key" type="xsd:string" />
35+
<xsd:simpleContent>
36+
<xsd:extension base="xsd:string">
37+
<xsd:attribute name="key" type="xsd:string" />
38+
</xsd:extension>
39+
</xsd:simpleContent>
3640
</xsd:complexType>
3741
</xsd:schema>

0 commit comments

Comments
 (0)
0