cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: XML parsing failed error
Date Mon, 07 Jun 2004 11:15:01 GMT
The <xsp:page> element must have a single child element which will be 
the root element of the produced document:

<xsp:page>
   <some-element>
    <xsp-session-fw:getxml context="authentication" 
path="/authentication/authentication/ID"/>
   </some-element>
</xsp:page>

	Ugo

Oro smith wrote:
> im getting the error
> 
> XML parsing failed: no element found (Line: 2, Character: 0)
> 
> What is the cause of this error??
> 
> the xsp is given below.
> 
> 
> <?xml version="1.0"?>
> <xsp:page
>            language="java"
>           xmlns:xsp="http://apache.org/xsp"
>            xmlns:util="http://apache.org/xsp/util/2.0"
>           xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0">
> 
>  <xsp-session-fw:getxml context="authentication" path="/authentication/authentication/ID"/>
> 
> </xsp:page>
> 
> 
> 
> 
> -------------------------------------------------
> Still single? Click here to find the perfect match.
>                                                                                 
> http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message