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

RE: saving submitted XML locally

From: Mark Birbeck <Mark.Birbeck@x-port.net>
Date: Thu, 23 Oct 2003 20:54:53 +0100
Message-ID: <E3ED00A7C285EE408679DE2A26D1C7810148F861@S007.x-port.net>
To: "'Klotz, Leigh '" <Leigh.Klotz@pahv.xerox.com>, "''DuCharme, Bob (LNG-CHO)' '" <bob.ducharme@lexisnexis.com>
Cc: "''www-forms@w3c.org' '" <www-forms@w3c.org>

Leigh/Bob,

As Leigh says, there is no requirement to implement this, but I know that
X-Smiles does it, and I'm pretty sure that Novell XForms does too. 

And of course, formsPlayer does it. Also, if you do "file:x.xml" (i.e, a
relative path, and not an absolute one) then formsPlayer should save or load
the instance data from the desktop, which is quite handy for doing your own
little 'editors'.

Regards,

Mark

Mark Birbeck
x-port.net Ltd.

-----Original Message-----
From: Klotz, Leigh
To: 'DuCharme, Bob (LNG-CHO)'; 'www-forms@w3c.org'
Sent: 23/10/2003 19:50
Subject: RE: saving submitted XML locally


Are you asking as a user or as an implementor?
As a user,
<submission action="file://locahost/foo.xml" method="put" /> "may" write
to
a local file, but support is not required as part of conformance (i.e.,
it
is not a "must".)
If you're just looking for a quick test harness, many of the XForms
processors appear to support it.
As an implementor there are some subtleties regarding use of the file:
URI
scheme with other methods that are mentioned in the spec.

Leigh.

-----Original Message-----
From: DuCharme, Bob (LNG-CHO) [mailto:bob.ducharme@lexisnexis.com] 
Sent: Thursday, October 23, 2003 11:45 AM
To: www-forms@w3c.org
Subject: saving submitted XML locally



If I want to save the XML submitted by my XForm as a local disk file, I
suppose I could run Tomcat and point submission/@action to a CGI running
on
http://localhost:8080/whatever, but I'm wondering if anyone knows a
leaner
way to do it. 

thanks,

Bob
Received on Thursday, 23 October 2003 15:57:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:56 GMT