namespace behaviour using xhtml-xforms.nvdl

Having trouble installing Oxygen? Got a bug to report? Post it all here.
PaulHermans
Posts: 82
Joined: Sat Jan 13, 2007 5:39 pm
Location: Belgium

namespace behaviour using xhtml-xforms.nvdl

Post 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
Paul
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
George Cristian Bina
Post Reply