cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tagunov Anthony" <atagu...@nnt.ru>
Subject [C1][XIncludeProcessor][PATCH] - at recursive XInclude processing all the hrefs get resolved against base URL of the first document in chain
Date Tue, 14 Nov 2000 21:03:52 GMT
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


Mime
View raw message