Cocoon 2.0.1
SUN Solaris 7
BEA Weblogic 6.1 SP2

I've a Problem with a XSP Page, which includes data from a different
Namespace:
This is the XSP-Page:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page
  language="java"
  xmlns:xsp="http://apache.org/xsp";
  xmlns:util="http://apache.org/xsp/util/2.0";
  xmlns:ino="http://namespaces.softwareag.com/tamino/response2";>

<page>
  <xsp:logic>
    String xmlDoc = (String)request.getAttribute("Result");
  </xsp:logic>

 
<util:include-expr><util:expr><xsp:expr>xmlDoc</xsp:expr></util:expr></util:
include-expr>
</page>
</xsp:page>

In the xmlDoc, there is something like <myRecord ino:id="1">...

The message in the Cocoon Sitemap.log says, that the namespace 'ino' could
not be found in the XSP.
ExecuteThread: '11' for queue: 'default'/BiblioResult_xsp: Could not include
page
org.xml.sax.SAXParseException: The namespace prefix "ino" was not declared.
        at
org.apache.cocoon.components.parser.JaxpParser.error(JaxpParser.java:274)

I thought with the namespace declaration in the <xsp:page ... tag, it should
be solved, but it's not!
The Data from the XSP-Page are later transformed with a stylesheet, there
the namespace is also defined...
Any idea???



---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to