Page 1 of 1

namespace behaviour using xhtml-xforms.nvdl

Posted: Sat Feb 17, 2007 4:17 pm
by PaulHermans
If I start a new xml file using the supplied xhtml-xforms.nvdl
I get
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<model xmlns="http://www.w3.org/2002/xforms"></model>
</head>
</html>

However if I change the namespace declarations as follows
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:f="http://www.w3.org/2002/xforms">
<h:head>

Oxygen still proposes to insert
<model xmlns="http://www.w3.org/2002/xforms"></model>
while I hoped that it would be
<f:model></f:model>

After some time the desired behavior appears, but disappears again. The precise conditions are not clear to me yet.


Paul

Posted: Mon Feb 19, 2007 5:08 pm
by sorin_ristache
Hello,

Thank you for reporting the problem. There is a problem with taking into account the namespace prefixes defined on elements from one namespace (ex: element html from the XHTML namespace) in content completion proposals of elements from other namespace (ex: element model of the XForms namespace). We will fix the problem in the next version.


Regards,
Sorin

Posted: Mon Feb 26, 2007 5:52 pm
by george
Hi Paul,

Just to let you know that this has been fixed in the current development stream so the fix will go in the next release. Thanks again for reporting the problem.

Best Regards,
George