cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pedro E. Gómez" <pgo...@pragma.com.co>
Subject RE:RE: How can I use util:include-uri
Date Mon, 10 Jul 2000 18:17:03 GMT
I have following code:
<?xml version="1.0"?> 
<?cocoon-process type="xsp"?> 
<?cocoon-process type="xslt"?> 
<?xml-stylesheet href="AtomicNumber_VS_AtomicWeight.xsl" type="text/xsl"?> 

<xsp:page 
	xmlns:xsp="http://www.apache.org/1999/XSP/Core" 
	xmlns:util="http://www.apache.org/1999/XSP/Util" 
	> 
<page> 
	<table>
		<util:include-uri href="http://192.168.0.2:8080/cocoon/samples/periodicTable/periodic_table_elements.xml"/>

	</table>
</page> 
</xsp:page> 

The uri exists, the xsl exists. I do not know what is happening.

And I have following error:

Cocoon 1.7.4

                                                    Error found handling the request.

     java.lang.Exception: XSP Java Compiler: Compilation failed for _AtomicNumber_VS_AtomicWeight.java
     106: ')' expected.

                   e.getMessage()

                                 ^

     1 error



             at org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java,
Compiled Code)
             at java.lang.Exception.(Exception.java, Compiled Code)
             at org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java,
Compiled Code)
             at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java, Compiled
Code)
             at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
             at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
             at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled
Code)
             at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
             at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java,
Compiled Code)
             at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
             at java.lang.Thread.run(Thread.java, Compiled Code)

----- Original message ----- 
From:Lock, Fred <FLock@mailgo.com>
To: 'cocoon-users@xml.apache.org' <cocoon-users@xml.apache.org>
Cc:
Sent:10/07/2000 22:19
Received:10/07/2000 22:28
Subject:RE: How can I use util:include-uri

Here's my example:

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="periodic_table-html.xsl" type="text/xsl"?>

<xsp:page
 xmlns:xsp="http://www.apache.org/1999/XSP/Core"
 xmlns:util="http://www.apache.org/1999/XSP/Util"
>
 <page>
  <table>
   <util:include-uri href="http://www.someserver.com/periodic_table.xml"/>
  </table>
 </page>
</xsp:page>

Fred

-----Original Message-----
From: Pedro E. Gómez [mailto:pgomez@pragma.com.co]
Sent: Monday, July 10, 2000 10:47 AM
To: Cocoon; cocoon-users@xml.apache.org
Subject: How can I use util:include-uri


Can some one give me an example of how to use util:include-uri

Thanks.

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




______________________________________
Message sent with Misiva.
Visit us at http://www.pragma.com.co/misiva

Mime
View raw message