Posted 17 years ago by Cecilia Tufvesson
Version: 4.0.0251
When setting DefaultNamespace for our schema (m_hSchemaResolver->DefaultNamespace = NAMESPACE_KASTOR;) it seems that the amespace is set even if other namespace is specified.

I expected default to be used when no other namespace is specified but it seems that it always uses this namespace.

Having a file like:
<uiRoot xmlns="" visuals="visuals/default/v_system.tml" xmlns:xi="">
<onKey keyCode="400" cmd="LSK"/>
<onKey keyCode="540" cmd="CSK"/>
<onKey keyCode="410" cmd="RSK"/>
<onKey keyCode="500" cmd="UP"/>
<onKey keyCode="510" cmd="DOWN"/>
<onKey keyCode="520" cmd="LEFT"/>
<onKey keyCode="530" cmd="RIGHT"/>

When holding the mouse pointer over <onKey it says that name space is:, which is what we specify as default.

If we remove the m_hSchemaResolver->DefaultNamespace = NAMESPACE_KASTOR; it shows the correct information in the editor.

I guess that is not the correct behaviour, or?


Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Thanks Cecilia, this is now fixed for the upcoming maintenance release.

Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.