I've seen for a while now that inside the
arguments tag in di.xml or in the layout files the attribute
xsi:type is used.
I took it for granted and used it like that, but I don't understand why the need for the
xsi namespace. What does it mean?
name attribute does not have a namespace.
Here is a random example.
<arguments> <argument name="configurationsMap" xsi:type="array"> <item name="default_message_identifier" xsi:type="array"> <item name="renderer" xsi:type="const">\Magento\Framework\View\Element\Message\Renderer\EscapeRenderer::CODE</item> </item> </argument> </arguments>
I know what the value of the
xsi:type attribute means, but not why the need for the namespace.
This is not impeding my work, but it bugs me a lot.