|
Hi, I�d made an action component
based in SourceTypeAction (http://xml.apache.org/forrest/cap.html).
Assigns an
XSL to an XML file. Source
source = sourceResolver.resolve(src); InputStream
is = source.getInputStream();���� //don�t work Error: Thread-9/ExcaliburComponentSelector:
UnnamedSelector: ComponentSelector could not find the component for hint [xml] org.apache.cocoon.ProcessingException:
could not lookup pipeline components:
org.apache.avalon.framework.component.ComponentException: UnnamedSelector:
ComponentSelector could not find the component for hint [xml] at org.apache.cocoon.components.source.AbstractSAXSource.getInputStream(AbstractSAXSource.java:133) ����������� at
meslluny.cocoon.components.actions.SourceTypeAction.act(SourceTypeAction.java:67) ����������� at
org.apache.cocoon.www.file_.C_.jakarta_tomcat_4_1_12_LE_jdk14.webapps.cocoon.fpml.sitemap_xmap.matchN400032(C:\jakarta-tomcat-4.1.12-LE-jdk14\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www/file_/C_/jakarta_tomcat_4_1_12_LE_jdk14/webapps/cocoon/fpml\sitemap_xmap.java:537) ����������� at org.apache.cocoon.www.file_.C_.jakarta_tomcat_4_1_12_LE_jdk14.webapps.cocoon.fpml.sitemap_xmap.process(C:\jakarta-tomcat-4.1.12-LE-jdk14\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www/file_/C_/jakarta_tomcat_4_1_12_LE_jdk14/webapps/cocoon/fpml\sitemap_xmap.java:385) ����������� at
org.apache.cocoon.www.file_.C_.jakarta_tomcat_4_1_12_LE_jdk14.webapps.cocoon.fpml.sitemap_xmap.process(C:\jakarta-tomcat-4.1.12-LE-jdk14\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www/file_/C_/jakarta_tomcat_4_1_12_LE_jdk14/webapps/cocoon/fpml\sitemap_xmap.java:321) ����������� at
org.apache.cocoon.sitemap.Handler.process(Handler.java:227) This pipeline works fine <map:match
pattern="xmldb/**/*.xml"> �� <map:generate src=""> �� <map:act type="sourcetype" src=""> ����� <map:parameter
name="fxSingleLeg"���
value="FpML.trade.fxSingleLeg"/> ����� <map:parameter
name="fxSwap"���������
value="FpML.trade.fxSwap"/> ����� <map:transform src=""> �� ���<map:serialize
type="html"/> �� </map:act> </map:match> but this don�t work�
(The error is of this pipeline) <map:match
pattern="xmldb/**/*.xml"> �� <map:generate src=""> �� <map:act type="sourcetype" src=""> ����� <map:parameter
name="fxSingleLeg"���
value="FpML.trade.fxSingleLeg"/> ����� <map:parameter
name="fxSwap"���������
value="FpML.trade.fxSwap"/> ����� <map:transform src=""> ����� <map:serialize
type="html"/> �� </map:act> </map:match> How can I acces to an xml
file in Xindice in an action component? What am I doing wrong? Thanks C.Bell�s |
