W3C home > Mailing lists > Public > www-forms@w3.org > May 2009

question about embedded instance vs. ref to an xml file

From: Howard, Chris <HowardC@prpa.org>
Date: Tue, 12 May 2009 15:57:17 -0600
Message-ID: <1305E9F69BC3CE49ABCDC8E00492F70204788D19@titan.internal.prpa.org>
To: <www-forms@w3.org>

Hi forms experts.

I've run into a little problem.  

I have an xforms file which I can serve up to myself using
apache on one of my unix servers.  It is set up to use
formsPlayer on the client side.  And that is all working fine.

In that setup I'm using an instance reference to an xml file
which is also serveable from the same server.

Now I'm trying to apply that form to some xml files of the
same schema.  But these files are not servable through

So my plan was to use a perl-cgi script and a placeholder
in the xform text.  I open the file requested,  I send out
the first part of my xform, then the guts of the file
as an inline instance definition, then the rest of the xform.

To test that, I'm taking the cgi script output and
serving that up to myself as a file.  And it's different.

Part of the form in the middle of everything isn't displaying.
I've looked it over multiple times, and I don't see
anything wrong with my tags.

The bottom line is that it seems to work differently 
when using an in-line instance definition than it
does with a referenced xml file.

I'm hoping maybe someone can tell me what to look for.
Maybe there is some kind of encoding that I need to do
to my inline instance data?  I don't know.

Chris Howard
Received on Tuesday, 12 May 2009 21:57:51 UTC

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