W3C home > Mailing lists > Public > www-forms-editor@w3.org > March 2003

Namespaces for XForms 1.0 functions??

From: <AndrewWatt2001@aol.com>
Date: Sat, 8 Mar 2003 16:55:50 EST
Message-ID: <67.b96854f.2b9bc0e6@aol.com>
To: xforms@yahoogroups.com, www-forms-editor@w3.org, www-forms@w3.org

This is by way of an exploratory question, and arises after spending some 
time recently with XQuery 1.0.

Given that multi-namespace documents will become increasingly common does it 
make sense now, before XForms 1.0 proceeds to a further stage, to define a 
namespace URI for XPath 1.0 / XForms 1.0 functions (similar to the approach 
taken with regard to functions in the current XQuery WDs)?

The uses where I might, with my present perspective, combine XForms and 
XQuery don't seem to require a namespace to be defined at this stage. 
However, since in theory XForms 1.0 can be combined with any arbitrary XML 
host language, I wonder whether it makes sense ... as preventive medicine? 
... to define an XForms function namespace at this stage.

I assume that an XForms 1.0 processor would typically treat unprefixed 
functions as belonging to whatever the default XForms 1.0 functions namespace 
might be.

If a namespace URI is thought sensible, presumably we would also need a 
mechanism to associate a namespace prefix with the XForms functions URI.

And how, at future times, are XForms 1.0 functions to be distinguished from 
XForms x.x functions? Different namespace URIs? Same URI but some indication 
of version?

Or maybe it is logically impossible for any function name collisions to 
occur?? Isn't multi-namespace XML fun? :)

Andrew Watt
Received on Saturday, 8 March 2003 16:56:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:12 GMT