[prev in list] [next in list] [prev in thread] [next in thread]
List: forrest-dev
Subject: [issues] Created: (FOR-141) XPath function: document() does not work
From: issues () cocoondev ! org
Date: 2004-04-29 18:24:50
Message-ID: 12475347.1083263087662.JavaMail.jira_admin () cocoondev ! org
[Download RAW message or body]
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-141
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-141
Summary: XPath function: document() does not work
Type: Bug
Status: Unassigned
Priority: Major
Project: Forrest
Component: None
Versions:
0.5
Assignee:
Reporter: Michael Hare
Created: Thu, 29 Apr 2004 8:24 PM
Updated: Thu, 29 Apr 2004 8:24 PM
Environment: Windows 2000, Forrest 0.5, Tomcat 5.0, Apache 2.0.49, jk2 connector, JDK \
1.4.2, XALAN 2.6.0
Description:
I am trying to process an external XML file within a Doc12 document.
I have modified a DTD to allow my new element construct
<project-file href="fw4100_r1_1_proj.xml"/>
I have created a Stylesheet with:
<xsl:template match="project-file">
<section>
<title>Project File</title>
<xsl:variable name="EXT-DOC" select="@href"/>
<p>Ext. Doc: <xsl:value-of select="$EXT-DOC"/>
</p>
<xsl:variable name="EXT-REF" select="document($EXT-DOC)//@pdd-num"/>
<p>Ext. Ref: <xsl:value-of select="$EXT-REF"/>
</p>
</section>
</xsl:template>
Just to see if the document can be found.
It works using command-line java: (java org.apache.xalan.xslt.Process -IN in.xml -XSL \
link.xsl -OUT out.xml)
It works in my XML authoring tool: Oxygen 3
In cocoon/forrest I get this in my core.log file:
WARN (2004-04-29) 13:18.58:787 [core.manager] (/Forrest/projects/fw4010.html) \
TP-Processor3/ExcaliburComponentManager: Attempted to release a \
org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector but its handler \
could not be located.
And it repeats 18 or so times.
Any guidence on using the 'document()' function in Forrest?
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org/jira//Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic