You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jo Bourne <ve...@va.com.au> on 2001/10/15 10:35:10 UTC

[c2]

Hi

I am trying to include one xml file into another using xsp. I have stripped our working c1.8 code right back trying to get this working and am still stumped. here is my xsp page:

<?xml version="1.0" ?>
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp"
              xmlns:util="http://apache.org/xsp/util/2.0">
 <page>
  <xsp:logic>
   <util:include-uri>
    <util:href>http://www.company.com/cocoon/directory/page1.xml</util:href>
   </util:include-uri>	
  </xsp:logic>
 </page>
</xsp:page>

the page i am trying to include (page1.xml) is a simple xml file and is loading fine if i access it directly.

the error i am getting is :

Error creating the resource
Language Exception 
org.apache.cocoon.ProcessingException: Language Exception:org.apache.cocoon.components.language.LanguageException: Error compiling page1_xml: Line 92, column 108: ')' expected.

As there is no opening "(" anywhere in my code i am unclear as to what exactly I can do to fix this.

thanks in advance
Jo

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>