Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

failing xliff schema validation for locale es #213

Description

@taofather

Hello

I avoid this issue running behat forcing english locale:
vendor/bin/behat --lang=en

When I run behat in my env with spanish locale, it produces an InvalidResourceException with messages:
Invalid resource provided: "1.2"; Errors: [ERROR 1845] Element 'xliff': No matching global declaration available for the validation root. (in /var/www/myproject/ - line 1, column 0)

Fixed adding property:
xmlns="urn:oasis:names:tc:xliff:document:1.2"
into xliff root at /vendor/behatch/contexts/i18n/es.xliff
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2"> <file ... etc etc
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions