You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Tagunov Anthony <at...@nnt.ru> on 2000/11/14 22:03:52 UTC
[C1][XIncludeProcessor][PATCH] - at recursive XInclude processing all the hrefs get resolved against base URL of the first document in chain
Hello, everybody!
I've posted this patch already, now I've only rewritten the subj, according to local rules as I understand 'em ( i mean [C1][..][..])
====original message====
XInclude spec says
"3.4.1.2. Base URI
The base URI property of the acquired infoset is not changed as a result of merging the infoset, and remains unchanged after merging. Thus relative URI references in the
included infoset resolve to the same URI despite being included into a document with a potentially different base URI in effect. A serialized result infoset may need to add
xml:base attributes to indicate this fact."
I understand it this way: if I have the following dir structure
=======
approot
xml
one.xml
data
two.xml
three.xml
=======
and one.xml --includes--> "../data/two.xml"
and two.xml--includes--> "three.xml"
it should work
Re: [C1][XIncludeProcessor][PATCH] - at recursive XInclude processing
all the hrefs get resolved against base URL of the first document in chain
Posted by Donald Ball <ba...@webslingerZ.com>.
On Wed, 15 Nov 2000, Tagunov Anthony wrote:
> Hello, everybody!
>
> I've posted this patch already, now I've only rewritten the subj,
> according to local rules as I understand 'em ( i mean [C1][..][..])
applied finally, thanks for resubmitting it to remind me.
- donald