cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C. Oliver" <>
Subject Re: XInclude support
Date Fri, 02 Aug 2002 01:23:47 GMT
Arnaud Le Hors wrote:

> Hi all,
> The W3C XML Core Working Group is trying to gather feedback on 
> implementation experience of XInclude. Could somebody tell me what the 
> status of the implementation is? Is this in line with the latest 
> version of the spec at ?
> Is this a full implementation, or are there missing features? If the 
> latter, which ones?
> Any info highly appreciated.
> Thanks.


Please don't accept this as gospel and feel free to get second opinions, 
but since no one else has replied yet, I shall.  I'll be refactoring the 
Cocoon implementation of XInclude to have it share the same sourcebase 
as the cocoon CInclude, but I am not its original author and I consider 
myself somewhat of a novice to Cocoon.  

Cocoon's implementation of XInclude is not very efficient.

Cocoon's implemnetation supports:

include element
href attribute
              xpointer syntax
parse attribute

most notable Cocoon's implementation does not include:

    xpointer ranges (*suspect from a code readthrough)

I do not see anything that would provide url escaping/unescaping but I 
cannot confirm or deny that its implemented.


Personally, I'd find the XInclude way more useful if it allowed one the 
option to pass the actual URI instead of setting the "base".  For Cocoon 
based applications CInclude is a bit more useful in some cases as one 
can include content from a Cocoon pipeline via a URI.  And at the moment 
CInclude is likely faster to some great degree.  Once I combine the 
source bases, my goal will be to keep XInclude as compliant with the 
spec as it currently, however, due to my workload I'll leave additional 
specification support to others.

Hope that helps,


PS you can view the Xinclude implementation here:

and the CInclude implementation here:

To unsubscribe, e-mail:
For additional commands, email:

View raw message