XMLNS in PyCharm

So I am configuring/setting up PyCharm for working on Babel and some of the HTML files make use of the Genshi namespace:

<html xmlns:py="http://genshi.edgewall.org/" py:strip="">

Understandably this triggers two introspection warnings:

URI is not registered (Settings | Project Settings | Schemas and DTDs) (under General | Xml Highlighting)

Namespace is not bound (under XML)

Is it even possible to point namespaces to external references or is local mapping the only possibility?

If I toss http://genshi.edgewall.org/ to the to-be-ignored section, I do not get the URI is not registered warning anymore, however, the Namespace is not bound warning remains. Is this correct?

This is on PyCharm EAP by the way.

0

Please sign in to leave a comment.