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

Re: using the bookmarks demo?

From: Mikko Honkala <honkkis@tml.hut.fi>
Date: Wed, 22 Oct 2003 15:09:18 +0300
Message-ID: <3F96736E.4000701@tml.hut.fi>
To: "DuCharme, Bob (LNG-CHO)" <bob.ducharme@lexisnexis.com>, "'www-forms@w3.org'" <www-forms@w3.org>


the examples at http://www.w3.org/MarkUp/Forms/2002/Examples
seem to have old xforms namespaces in them.

The namespaces should be changed to
xmlns:xforms="http://www.w3.org/2002/xforms" (REC)

that is why the submission element is not found with x-smiles 0.82, 
which uses the REC namespace. Also there seems to be some problem with 
the payschema.xsd, as you note. The Working Group will update these 

(Too see the working page where the bookmark example came from, select 
bookmarks->edit from the X-Smiles menu).

  Mikko Honkala

DuCharme, Bob (LNG-CHO) wrote:
> Here's what I'm trying to do: bring up a simple XForms form on my computer,
> fill some of it out, click the button that submits it to the server, and
> then see the XML that got submitted. If submission/@action points to a CGI
> that converts all the & to &amp; and the < to &lt; and then puts the result
> between the <pre></pre> tags of a generated HTML page, that would be fine. 
> I saved http://www.w3.org/MarkUp/Forms/2002/Examples/spec-examples/eg-00.xml
> to disk. XSmiles 0.82 gives me an error because it couldn't find
> payschema.xsd, which isn't listed on
> http://www.w3.org/MarkUp/Forms/2002/Examples/spec-examples/. 
> So I saved
> http://www.w3.org/MarkUp/Forms/2002/Examples/spec-examples/eg-01.xml to
> disk. It looks for bookmarks.xml, which for some reason was renamed
> "eg-01-instance.xml" (yes, there's a comment in it saying "This is the
> bookmarks.xml file," but there's no excuse for not either actually naming it
> bookmarks.xml or else having eg-01.xml actually look for a file named
> eg-01-instance.xml) so I downloaded that as bookmarks.xml. 
> I don't expect XSmiles 0.82 to be able to do anything with it with a
> submission/@action value of "http://examples.com", so I changed that to
> http://www.snee.com/bob/temp/xftest.cgi and put an xftest.cgi file in
> bob/temp that hopefully does what I described above to show the XML that was
> submitted to it. 
> XSmiles displays eg-01.xml pretty nicely. I click "Insert bookmark," enter
> "flag1" and "flag2" in the two yellow fields that appear under "Bookmark
> name URL," and then click "Save." XSmiles tells me "Could not find a
> submission with id s01." eg-01.xml has a submission element with @id="s01";
> is this a problem with XSmiles?
> Can anyone suggest an  XForms client/XForm/CGI script combination that
> demonstrates the kind of basic level of XForms client/server interaction
> that I described? I'm not even that interested in the server, I mostly just
> want to use an XForm form and see the XML that it creates. 
> thanks,
> Bob
Received on Wednesday, 22 October 2003 08:09:04 UTC

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