W3C home > Mailing lists > Public > public-forms@w3.org > July 2008

Re: namespace question

From: <Nick_Van_den_Bleeken@inventivegroup.com>
Date: Thu, 17 Jul 2008 08:40:27 +0200
To: Swithun Crowe <swithun@swithun.servebeer.com>
Cc: www-forms@w3.org,"public-forms (new)" <public-forms@w3.org>
Message-ID: <OF2172CA2B.3575687F-ONC1257489.0023C671-C1257489.0024AAB2@inventivegroup.com>
Hi Swithun,

Your problem is a bug in Firefox, the default namespace of the submitted 
instance should be the empty one. You have correctly specified this on 
your in-line instance.

I searched the Firefox XForms bugzilla database and found a bug report for 
this problem https://bugzilla.mozilla.org/show_bug.cgi?id=445285 . You 
probably want to vote on this bug report.

Regards,

Nick Van den Bleeken  -  Research & Development Manager
Inventive Designers
Phone: +32 - 3 - 8210170
Fax: +32 - 3 - 8210171
Email: Nick_Van_den_Bleeken@inventivegroup.com

www-forms-request@w3.org wrote on 07/11/2008 03:23:10 PM:

> 
> Hello
> 
> I have a small puzzling problem. I have an XForms document where the 
> default namespace is declared as so:
> 
> <html xmlns="http://www.w3.org/1999/xhtml" ...
> 
> (with all the other namespaces there too)
> 
> Then, in one of the instances, the default namespace is declared as 
empty:
> 
> <xf:instance id="text_instance">
>    <tei:TEI xmlns=""> ...
> 
> But then, when this instance is submitted, it shows up as:
> 
> <tei:TEI xmlns="http://www.w3.org/1999/xhtml" ...
> 
> I would like to get rid of this default namespace declaration. I would 
> rather not have to use a non-default namespace for the XHTML elements. 
> Shouldn't the xmlns="" inside the instance override the xmlns="http..." 
in 
> the ancestor html element?
> 
> Does anyone have any ideas? I'm using Firefox (2.0.0.14/0.8.5). I can 
ask 
> on the Mozilla XForms list if anyone thinks it is a implementation 
> specific problem.
> 
> A copy of the form is here:
> http://swithun.servebeer.com/namespace.xhtml
> 
> Thanks.
> 
> Swithun.
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> --
> 
> 

Inventive Designers' Email Disclaimer:   http://www.inventivedesigners.com/email-disclaimer =
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Received on Thursday, 17 July 2008 06:41:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:48 UTC