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 http://www.w3.org/TR/2002/CR-xinclude-20020221/ ?
>
> Is this a full implementation, or are there missing features? If the
> latter, which ones?
>
> Any info highly appreciated.
> Thanks.
Hi,
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:
fallback
encoding
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,
-Andy
PS you can view the Xinclude implementation here:
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon/transformation/XIncludeTransformer.java
and the CInclude implementation here:
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon/transformation/CIncludeTransformer.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]