You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Eric di Domenico <er...@cafebotero.com> on 2002/07/18 14:48:09 UTC
XSP Descriptor file for FormValidator
Hi, I am attempting to use an XSP file as the descrfiptor for the
FormValidator.
When I access the xsp file directly I see the correct output, but via
the sitemap I get this error:
ERROR (2002-07-18) 08:22.27:019
[sitemap.action.form-validator](/accounttariff/validate)
HttpProcessor[80][2]/AbstractComplementaryConfigurableAction: Could not
configure Database mapping environment org.xml.sax.SAXException: Not
allowed to define mixed content in the element esql:query at
jndi:/localhost/xml/accounttariff-form.xsp:13:17
In my xsp file I am using xsp:expr tags inside the esql tags. The file
compiles and gives the correct output when called directly.
Does anyone have a clue?
Thanks
Ciao
Eric
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSP Descriptor file for FormValidator
Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 18.Jul.2002 -- 08:48 AM, Eric di Domenico wrote:
> Hi, I am attempting to use an XSP file as the descrfiptor for the
> FormValidator.
>
> When I access the xsp file directly I see the correct output, but via
> the sitemap I get this error:
>
> ERROR (2002-07-18) 08:22.27:019
> [sitemap.action.form-validator](/accounttariff/validate)
> HttpProcessor[80][2]/AbstractComplementaryConfigurableAction: Could not
> configure Database mapping environment org.xml.sax.SAXException: Not
> allowed to define mixed content in the element esql:query at
> jndi:/localhost/xml/accounttariff-form.xsp:13:17
>
> In my xsp file I am using xsp:expr tags inside the esql tags. The file
> compiles and gives the correct output when called directly.
>
> Does anyone have a clue?
Perhaps, if you could post a code snippet...
In general, using xsp tags within esql tags is OK.
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: XSP Descriptor file for FormValidator
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Eric di Domenico [mailto:eric@cafebotero.com]
>
> <map:parameter name="descriptor"
> value="context://xml/accounttariff-form.xsp"/>
Why you are feeding XSP source to the action? Don't you want to give
action result of XSP execution?
I.e.:
<map:parameter name="descriptor"
value="cocoon://url/to/accounttariff-form.xsp"/>
Vadim
> But it only works if I don't mix tags...(like putting an xsp:logic tag
> within an esql tag)
>
> > -----Original Message-----
> > From:
> > cocoon-users-return-37064-eric=cafebotero.com@xml.apache.org
> > [mailto:cocoon-users-return-37064-eric=cafebotero.com@xml.apac
> > he.org] On Behalf Of Vadim Gritsenko
> > Sent: Thursday, July 18, 2002 10:57 AM
> > To: cocoon-users@xml.apache.org
> > Subject: RE: XSP Descriptor file for FormValidator
> >
> >
> > > From: Eric di Domenico [mailto:eric@cafebotero.com]
> > >
> > > Hi, I am attempting to use an XSP file as the descrfiptor for the
> > > FormValidator.
> >
> > How do you do this?
> >
> > Vadim
> >
> >
> > > When I access the xsp file directly I see the correct
> > output, but via
> > > the sitemap I get this error:
> > >
> > > ERROR (2002-07-18) 08:22.27:019
> > > [sitemap.action.form-validator](/accounttariff/validate)
> > > HttpProcessor[80][2]/AbstractComplementaryConfigurableAction:
Could
> > > not configure Database mapping environment
> > > org.xml.sax.SAXException: Not
> > > allowed to define mixed content in the element esql:query at
> > > jndi:/localhost/xml/accounttariff-form.xsp:13:17
> > >
> > > In my xsp file I am using xsp:expr tags inside the esql
> > > tags. The file
> > > compiles and gives the correct output when called directly.
> > >
> > > Does anyone have a clue?
> > >
> > > Thanks
> > >
> > > Ciao
> > >
> > > Eric
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: XSP Descriptor file for FormValidator
Posted by Eric di Domenico <er...@cafebotero.com>.
<map:parameter name="descriptor"
value="context://xml/accounttariff-form.xsp"/>
But it only works if I don't mix tags...(like putting an xsp:logic tag
within an esql tag)
> -----Original Message-----
> From:
> cocoon-users-return-37064-eric=cafebotero.com@xml.apache.org
> [mailto:cocoon-users-return-37064-eric=cafebotero.com@xml.apac
> he.org] On Behalf Of Vadim Gritsenko
> Sent: Thursday, July 18, 2002 10:57 AM
> To: cocoon-users@xml.apache.org
> Subject: RE: XSP Descriptor file for FormValidator
>
>
> > From: Eric di Domenico [mailto:eric@cafebotero.com]
> >
> > Hi, I am attempting to use an XSP file as the descrfiptor for the
> > FormValidator.
>
> How do you do this?
>
> Vadim
>
>
> > When I access the xsp file directly I see the correct
> output, but via
> > the sitemap I get this error:
> >
> > ERROR (2002-07-18) 08:22.27:019
> > [sitemap.action.form-validator](/accounttariff/validate)
> > HttpProcessor[80][2]/AbstractComplementaryConfigurableAction: Could
> not
> > configure Database mapping environment
> org.xml.sax.SAXException: Not
> > allowed to define mixed content in the element esql:query at
> > jndi:/localhost/xml/accounttariff-form.xsp:13:17
> >
> > In my xsp file I am using xsp:expr tags inside the esql
> tags. The file
> > compiles and gives the correct output when called directly.
> >
> > Does anyone have a clue?
> >
> > Thanks
> >
> > Ciao
> >
> > Eric
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: XSP Descriptor file for FormValidator
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Eric di Domenico [mailto:eric@cafebotero.com]
>
> Hi, I am attempting to use an XSP file as the descrfiptor for the
> FormValidator.
How do you do this?
Vadim
> When I access the xsp file directly I see the correct output, but via
> the sitemap I get this error:
>
> ERROR (2002-07-18) 08:22.27:019
> [sitemap.action.form-validator](/accounttariff/validate)
> HttpProcessor[80][2]/AbstractComplementaryConfigurableAction: Could
not
> configure Database mapping environment org.xml.sax.SAXException: Not
> allowed to define mixed content in the element esql:query at
> jndi:/localhost/xml/accounttariff-form.xsp:13:17
>
> In my xsp file I am using xsp:expr tags inside the esql tags. The file
> compiles and gives the correct output when called directly.
>
> Does anyone have a clue?
>
> Thanks
>
> Ciao
>
> Eric
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>