W3C home > Mailing lists > Public > www-forms@w3.org > June 2002

RE: Chapter 2.4 Inconsistencies

From: Dan Dennedy <DDennedy@digitalbang.com>
Date: Wed, 26 Jun 2002 15:03:04 -0400
Message-ID: <C96072E096CC0D4EA606C1119F51858A01DC08@intrabang01.digitalbang.com>
To: "Calbazana, Al" <ACalbazana@epotec.com>, <www-forms@w3.org>
These are two fragments that apparantly are not a part of the same document even though they logically refer to the same sample problem. One assumes the default namespace is XForms while the other does not. That accounts for why one fragment contains the "xforms" prefix and the other does not.
If you put
on the root element it should resolve "my:payment"
Some people like the examples to be all consistent. I tend to like them mixed up a little to see different implementations and make me really understand what is going on. However, if the fragments are based upon the same sample problem, then I agree it makes sense to keep them consistent.
P.S. Please stop posting "remove me" and "unsubscribe" commands to this list. See http://www.w3.org/Mail/Request for instructions. 

-----Original Message-----
From: Calbazana, Al [mailto:ACalbazana@epotec.com]
Sent: Tuesday, June 25, 2002 10:32 PM
To: 'www-forms@w3.org'
Subject: RE: Chapter 2.4 Inconsistencies



I am just taking another peek at the XForms draft after some time away and noticed something confusing in the 2.4 sample.  I see that it has also confused others, but I am still not clear on how this namespacing works.  Can someone give a little explanation (I've read the posts in the list concerning these but I am still not clear)?


Sample instance data reads:




    <payment as="credit" xmlns="http://commerce.example.com/payment">





  <xforms:submitInfo action="http://example.com/submit" method="post"/>



UI Control reads:


    <group xmlns="http://www.w3.org/2002/01/xforms" ref="my:payment">

      <selectOne ref="@as">

        <caption>Select Payment Method</caption>




How are these namespaces to be resolved?




Received on Wednesday, 26 June 2002 15:03:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:06 UTC