Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Gracefully handle undeclared namespaces #3

Closed
wichert opened this Issue Aug 3, 2011 · 0 comments

Comments

Projects
None yet
1 participant
Owner

wichert commented Aug 3, 2011

If a XML file uses an undefined namespace the lingua XML extractor silently ignores it. For example:

<div xmlns:i18n="http://xml.zope.org/namespaces/i18n"
     i18n:domain="voipro.portal">
    <p tal:condition="has_title" i18n:translate="">Hello, world!</p>
</div>

Note how the tal namespace is not defined.

@wichert wichert was assigned Aug 3, 2011

@wichert wichert closed this in 491aeda Sep 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment