cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Nuetzel - inglobo" <peter.nuet...@inglobo.de>
Subject Re: [C2]trouble with XInclude
Date Thu, 26 Apr 2001 15:04:18 GMT
after digging a bit in the cocoon dev list and examining the cocoon.xconf
file i found how to switch of the XIncludeSAXConnector which is responsible
for automatic XInclude processing.

i simply commented out the following line in the cocoon-xconf file:
<sax-connector
class="org.apache.cocoon.components.saxconnector.XIncludeSAXConnector"/>
i think better would be to change the sax-connector to
<sax-connector
class="org.apache.cocoon.components.saxconnector.NullSAXConnector"/>
?

PS:
there is a bug in the XIncludeTransformer resolving XInclude URLs
relatively to the referring document (i will eventually fix it)

- peter


-----Urspr√ľngliche Nachricht-----
Von: Peter Nuetzel - inglobo <peter.nuetzel@inglobo.de>
An: cocoon-users@xml.apache.org <cocoon-users@xml.apache.org>
Datum: Donnerstag, 26. April 2001 13:31
Betreff: [C2]trouble with XInclude


>Hi,
>
>i've checked out a new version of C2 yesterday and experienced some
trouble
>with XInclude:
>
>my former working XInclude expression didnt work any longer:
>
>  <xinclude:include xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"
>          href="aFile.xml#xpointer(/foo/bar)" parse="xml"/>
>
>examing the logfile I saw that the XInclude tag is automatically
>evaluated - but not applying the current official XInclude syntax. Instead
>it uses a syntax similar to the sitemap aggregation tag <map:part> as
>applied in the sample /docs/samples/xsp/aggregate.xsp.
>
>In my former checkout of Cocoon2 I used the XIncludeTransformer to process
>Xinclude. I explicitly applied a xinclude transformation in the sitemap to
>do so (...<map:transform type="xinclude"/>...), which was a fine solution
>for me. But now Xinclude is automatically processed (which didnt work
>appropriately) and the transformer gets no more Xinclude tags :-(
>
>So I have some general questions regarding the sitemap:
>- when are special XML tags like XInclude, XSL or XSP are automatically
>processed and when do i need to specify their processing in the sitemap
>pipeline?
>- if those special tags are automatically processed - is there a
>possibility to switch it off?
>
>Thanks in advance,
>
>peter
>
>
>---------------------------------------------------------------------
>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: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message