Return-Path: Delivered-To: apmail-xmlbeans-user-archive@www.apache.org Received: (qmail 20110 invoked from network); 29 Sep 2006 09:20:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2006 09:20:51 -0000 Received: (qmail 62152 invoked by uid 500); 29 Sep 2006 09:20:50 -0000 Delivered-To: apmail-xmlbeans-user-archive@xmlbeans.apache.org Received: (qmail 62137 invoked by uid 500); 29 Sep 2006 09:20:49 -0000 Mailing-List: contact user-help@xmlbeans.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: user@xmlbeans.apache.org List-Id: Delivered-To: mailing list user@xmlbeans.apache.org Received: (qmail 62126 invoked by uid 99); 29 Sep 2006 09:20:49 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2006 02:20:49 -0700 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=NO_REAL_NAME Received: from [194.106.33.239] ([194.106.33.239:56880] helo=webmail1.freedom2surf.net) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 93/75-10102-A65EC154 for ; Fri, 29 Sep 2006 02:20:44 -0700 Received: from webmail1.freedom2surf.net (i-194-106-33-239 [127.0.0.1]) by webmail1.freedom2surf.net (Postfix) with ESMTP id 591D32289B1 for ; Fri, 29 Sep 2006 10:19:19 +0100 (BST) Received: (from apache@localhost) by webmail1.freedom2surf.net (8.12.11/8.12.11/Submit) id k8T9JJ4a003935 for user@xmlbeans.apache.org; Fri, 29 Sep 2006 10:19:19 +0100 X-Authentication-Warning: webmail1.freedom2surf.net: apache set sender to acoyle@f2s.com using -f Received: from 213.86.142.250 ([213.86.142.250]) by webmail.freedom2surf.net (IMP) with HTTP for ; Fri, 29 Sep 2006 10:19:17 +0100 Message-ID: <1159521557.451ce5155ac28@webmail.freedom2surf.net> Date: Fri, 29 Sep 2006 10:19:17 +0100 From: acoyle@f2s.com To: user@xmlbeans.apache.org Subject: Default namespace and serialization MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 213.86.142.250 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi I have a xmlbeans binding class instance, and I wish to use the default namespace either when 'saving' the xml or when calling the 'xmlText' method. In order to do this, I would specify an 'xml option' to use the default namespace. However, if I serialize and then de-serialize the instance, the resulting instance now uses the 'ns' namespace. Of course, once de-serialized in this form, specifying the same 'xml option' for default namespace has no effect, because the 'ns' namespace has already been added. Is this a bug in xmlbeans? Or would the ability to set 'xml options' for serialization be classed as an enhancement? Thanks Alex. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org For additional commands, e-mail: user-help@xmlbeans.apache.org