question about embedded instance vs. ref to an xml file

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
apache.

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
howardc@prpa.org

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