[Yanel-usage] More on Docbook
Michael Wechner
michael.wechner at wyona.com
Sat May 24 00:19:52 CEST 2008
Mike W wrote:
> Thanks Michael,
>
> I am on digest mode but found your response on the mail-list
> page--sorry for the delay.
no problem
>
> The XSL is the standard Docbook XSL distribution from sourceforge.
ok, so will also download it and give it a try
> It uses xincludes...could that cause a problem?
xsl:import and xsl:include are supported by the XSLT transformer
implementation and xinclude is supported by the XML resource itself, but
AFAIK xinclude is not really supported by the XSLT transformer. So I
guess after applying the XSLT the xinclude remain and then the
XincludeTransfomer somehow chokes on it. But I need to take a closer
look first, whereas I am sure we can work this out somehow.
Cheers
Michael
>
> With the following resource file, I receive the following error...
>
> --MikeW
>
> -----RESOURCE FILE-----
>
> <?xml version="1.0"?>
>
> <yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
> <yanel:rti name="xml"
> namespace="http://www.wyona.org/yanel/resource/1.0"/>
>
> <yanel:property name="source-view-mime-type"
> value="application/docbook+xml"/>
> <yanel:property name="mime-type" value="application/xhtml+xml"/>
> <yanel:property name="xslt" multiple="true"
> value="/xslt/html/docbook.xsl"/>
>
> </yanel:resource-config>
>
>
> -----ERROR-----
>
> Error Message:
>
> java.lang.Exception: Transformation error:
> SystemId-Unknown:locator-unavailable: exception:invalid url
> syntax (missing scheme): ../VERSION
> root-cause:null
> error: invalid url syntax (missing scheme): ../VERSION
> SystemId-Unknown:locator-unavailable:
> exception:org.wyona.yanel.core.source.SourceException: invalid url
> syntax (missing scheme): ../VERSION
> root-cause:null
> error: org.wyona.yanel.core.source.SourceException: invalid url
> syntax (missing scheme): ../VERSION
>
>
> java.lang.Exception: Transformation error:
> SystemId-Unknown:locator-unavailable: exception:invalid url
> syntax (missing scheme): ../VERSION
> root-cause:null
> error: invalid url syntax (missing scheme): ../VERSION
> SystemId-Unknown:locator-unavailable:
> exception:org.wyona.yanel.core.source.SourceException: invalid url
> syntax (missing scheme): ../VERSION
> root-cause:null
> error: org.wyona.yanel.core.source.SourceException: invalid url
> syntax (missing scheme): ../VERSION
>
> at
> org.wyona.yanel.impl.resources.BasicXMLResource.getXMLView(BasicXMLResource.java:317)
> at
> org.wyona.yanel.impl.resources.XMLResource.getView(XMLResource.java:108)
> at
> org.wyona.yanel.impl.resources.XMLResource.getView(XMLResource.java:98)
> at
> org.wyona.yanel.core.workflow.WorkflowHelper.getLiveView(WorkflowHelper.java:162)
> at
> org.wyona.yanel.impl.resources.XMLResource.getLiveView(XMLResource.java:512)
> at
> org.wyona.yanel.servlet.YanelServlet.getContent(YanelServlet.java:469)
> at
> org.wyona.yanel.servlet.YanelServlet.doGet(YanelServlet.java:275)
> at
> org.wyona.yanel.servlet.YanelServlet.service(YanelServlet.java:226)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.wyona.yanel.servlet.communication.YanelFilter.doFilter(YanelFilter.java:41)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at org.apache.tomcat.util.net
> <http://org.apache.tomcat.util.net.pooltcpendpoint.pro/>.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at org.apache.tomcat.util.net
> <http://org.apache.tomcat.util.net.leaderfollowerworkerthread.ru/>.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
> at java.lang.Thread.run(Thread.java:595)
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Yanel-usage mailing list
>Yanel-usage at wyona.com
>http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61
More information about the Yanel-usage
mailing list