Sorry about the four copies of my previous email.


At 1:58 PM -0400 11/7/01, Berin Loritsch wrote:
>Jeremy Quinn wrote:
>> I am struggling to use the XInclude Transformer in Cocoon 2.
>
>There are two issues with it (I just got done fixing it).
>
>1) You need to include an xml:base="context://"  This tells the
>   Xinclude processor where the root is.  P.S.  The newly checked
>   in version will update the namespace to "http://www.w3.org/2001/XInclude";.

Something like this?

<xinclude:include href="linkbase/hrc.xml" parse="xml" xml:base="context://"/>


>2) There is an error in the construct: new URL(baseURL, relative);  This
>   seems to be an error in Sun's JVM.  The URLFactory component has also
>   been updated to fix this problem when we have the "file" protocol.
>
>Please allow me a few minutes to update CVS, then you can get the working
>version there.

Thanks for your help.

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:[EMAIL PROTECTED]>                    <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pager:[EMAIL PROTECTED]>

---------------------------------------------------------------------
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