- From: John Boyer <boyerj@ca.ibm.com>
- Date: Tue, 23 Oct 2007 16:51:50 -0700
- To: "Klotz, Leigh" <Leigh.Klotz@xerox.com>
- Cc: "Lars Oppermann" <Lars.Oppermann@Sun.COM>, "Philip Fennell" <Philip.Fennell@bbc.co.uk>, www-forms@w3.org
- Message-ID: <OF4954B9E2.613F971C-ON8825737D.00829422-8825737D.0083242D@ca.ibm.com>
Well, shouldn't it instead just be setting a higher quality rating on accepting XML content, but not exclude html? This would allow the bulk of systems to continue serving out well-formed XML as text/html content. The XForms processor is OK here because it will just generate a parse exception if the form hits a system that serves out tag soup. The form author writes the src attribute and there is no xpath override, so it seems reasonable to put the onus on the form author to src reference content that is in fact well-formed XML. Cheers, John M. Boyer, Ph.D. STSM: Lotus Forms Architect and Researcher Chair, W3C Forms Working Group Workplace, Portal and Collaboration Software IBM Victoria Software Lab E-Mail: boyerj@ca.ibm.com Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer "Klotz, Leigh" <Leigh.Klotz@xerox.com> 10/23/2007 04:14 PM To "Lars Oppermann" <Lars.Oppermann@Sun.COM>, John Boyer/CanWest/IBM@IBMCA cc "Philip Fennell" <Philip.Fennell@bbc.co.uk>, <www-forms@w3.org> Subject RE: XForms:instance requests, the HTTP Accept header and RESTful Web Services... I still think it's wrong that Mozilla Firefox XForms extension is saying it accepts text/html for instance/@src. -----Original Message----- From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On Behalf Of Lars Oppermann Sent: Saturday, October 20, 2007 2:26 AM To: John Boyer Cc: Philip Fennell; www-forms@w3.org Subject: Re: XForms:instance requests, the HTTP Accept header and RESTful Web Services... John, This seems like a really good solution, as it avoids the duplicating of submission functionality into the instance element which I was worried about. It also shows how submission is somewhat of a high-level wrapper for an XmlHttpRequest object which isn't explicitly tied to the HTTP protocol... /Lars John Boyer wrote: > <submission id="S" replace="instance" instance="X" resource="URL" > serialization="none" ...> > <header> ... set up accept header here ...</header> > </submission> > > In the future, the following > > <instance submission="S"/>
Received on Tuesday, 23 October 2007 23:52:42 UTC