8000 removed wrong routing xsd statement `mixed="true"` · norberttech/symfony@57edf56 · GitHub
[go: up one dir, main page]

Skip to content

Commit 57edf56

Browse files
committed
removed wrong routing xsd statement mixed="true"
mixed="true" means that the element could contain both text and other elements, e.g. `<requirement key="_locale">text <subelement /></requirement>` But this wrong and such a definition would not even validate against the scheme as the xsd does not define which elements would be expected inside.
1 parent cdb3ecc commit 57edf56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<xsd:attribute name="class" type="xsd:string" />
3333
</xsd:complexType>
3434

35-
<xsd:complexType name="element" mixed="true">
35+
<xsd:complexType name="element">
3636
<xsd:attribute name="key" type="xsd:string" />
3737
</xsd:complexType>
3838
</xsd:schema>

0 commit comments

Comments
 (0)
0