Unknown XML namespace, how i can write right namespace?



I have this error in the formation of XML:



<type>yii\base\InvalidParamException</type>
<name>Exception</name>
<message>Unknown XML namespace "xmlns:"</message>
<code>0</code>


Because of the fact that I'm wrote <yandex:full-text>, if insert <yandex> without a colon, then everything is fine. Prompt how correctly not necessary to generate XML? Formed to create RSS using PHP and framework Yii2.


No comments:

Post a Comment