четверг, 5 мая 2016 г.

Symfony {urn:oasis:names:tc:xliff:documen t:1.2}br not expected

You can get the same error like me:
[Symfony\Component\Translation\Exception\InvalidResourceException]
  Invalid resource provided: "1.2"; Errors: [ERROR 1871] Element '{urn:oasis:names:tc:xliff:documen
  t:1.2}br': This element is not expected. Expected is one of ( {urn:oasis:names:tc:xliff:document:
  1.2}g, {urn:oasis:names:tc:xliff:document:1.2}bpt, {urn:oasis:names:tc:xliff:document:1.2}ept, {u
  rn:oasis:names:tc:xliff:document:1.2}ph, {urn:oasis:names:tc:xliff:document:1.2}it, {urn:oasis:na
  mes:tc:xliff:document:1.2}mrk, {urn:oasis:names:tc:xliff:document:1.2}x, {urn:oasis:names:tc:xlif
  f:document:1.2}bx, {urn:oasis:names:tc:xliff:document:1.2}ex ). (in /var/www/rgk.lv/rgk-symfony/
  - line 12, column 0)
It solves by adding string in composer.json:
"geschke/translator-gui-bundle": "dev-master"

And doing composer update

Комментариев нет:

Отправить комментарий