Posted 12 years ago by Cecilia Tufvesson
Version: 4.0.0251
Avatar
Hello!
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="http://www.tat.se/cascades" visuals="visuals/default/v_system.tml" xmlns:xi="http://www.w3.org/2001/XInclude">
<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:
http://www.tat.se/kastor/kml, 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?

Br,
Cecilia

Comments (1)

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


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 10 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.