cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Johnston" <coc...@lojjic.net>
Subject Re: Problem with XIncludes in 2.1.8
Date Wed, 04 Jan 2006 18:48:37 GMT
This looks very similar to
http://issues.apache.org/jira/secure/ViewIssue.jspa?key=COCOON-1489 which
was supposedly checked in for 2.1.8.  Perhaps that patch fixed one
situation but broke another?

> A bug seems to have been introduced in XIncludes in going from 2.1.7 to
> 2.1.8.
>
> They seem fine when used in this form:
>
>         <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml"
>         href="{$common-content-folder}/banner.xml"/>
>
> But there is a problem when used in this form:
>
>     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml"
>     href="{$current-content-folder}/banner.xml">
>       <xi:fallback>
>         <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml"
>         href="{$common-content-folder}/banner.xml"/>
>       </xi:fallback>
>     </xi:include>
>
> When used in the latter form, there appears a residual </xi:include> tag
> in
> the produced XML without a corresponding <xi:include> start tag.  As a
> result, the output XML is not well-formed and has caused us some serious
> problems.  So, we can't upgrade to 2.1.8 until this is fixed.
>
> Has anyone else encountered this problem or is it just me?
>
> Thanks.
>
> --
> Pasha Minallah
> Software Engineer
> Neptune and Company, Inc.
> http://www.neptuneandco.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message