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

Re: First draft of XML Data Module

From: Mark Birbeck <mark.birbeck@webbackplane.com>
Date: Tue, 12 Aug 2008 00:04:36 +0100
Message-ID: <ed77aa9f0808111604jaec6827ld67a5849c9f2315b@mail.gmail.com>
To: "Charles F Wiecha" <wiecha@us.ibm.com>
Cc: public-forms <public-forms@w3.org>

Hi Charlie,

This is great! Nice work.

Of course the problem is that it sparks further ideas, and I know we
have to stop somewhere...but anyway, I'll throw out this idea and you
can see what you think.

What about having the @type attribute, and using it in the same way
that it is used in <script>. We could say that the default value is
"text/xml", in order to make it backwards-compatible with current uses
of xf:instance in XForms.

But it would open up the possibility in the future of having instances
that are plain text, JSON, and so on.

It would also give us a value that could be used as a hint to the
processor about what to use in the accept headers when making the GET
request for the document identified by @src/@resource.

Anyway...that's a separate discussion, and I certainly think that the
module as it stands is nice and clear, and well demarcated.

Regards,

Mark

On Mon, Aug 11, 2008 at 9:57 PM, Charles F Wiecha <wiecha@us.ibm.com> wrote:
>
> Here's the first cut at refactoring <instance> alone out of the XForms
> Instance module.  I have a couple of questions inline as editorial
> comments, namely:
>
> 1. How do we want to handle xforms-link-exception?  Normally it's targeted
> at <model>.  I suggest here it targets <instance> since this module can be
> used alone.  Do we depend on it bubbling to <model> when used there?  Do we
> create a new event just for this module?  If so, should we change the name?
>
> 2. What's the consensus in terms of supporting schemas on data instances?
> Again, when used alone (no model) it might be useful to allow for schemas,
> for built-in types, for in-line type references.  No bind constraints of
> course.  My sense is not to do this but I'm just checking...
>
> 3. What about the name?
>
> 4. How should I reference Common attributes?
>
> We can discuss on the list or schedule some time on Wed for the
> above...Charlie
>
> (See attached file: index-all.html)
>
> Charles Wiecha
> Manager, Multichannel Web Interaction
> IBM T.J. Watson Research Center
> P.O. Box 704
> Yorktown Heights, N.Y.  10598
> Phone: (914) 784-6180, T/L 863-6180, Cell: (914) 320-2614
> wiecha@us.ibm.com



-- 
Mark Birbeck, webBackplane

mark.birbeck@webBackplane.com

http://webBackplane.com/mark-birbeck

webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)
Received on Monday, 11 August 2008 23:05:21 UTC

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