]> granicus.if.org Git - docbook-dsssl/commit
After namespace stripping, the source document is the temporary tree
authorNorman Walsh <ndw@nwalsh.com>
Fri, 21 Apr 2006 14:40:10 +0000 (14:40 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 21 Apr 2006 14:40:10 +0000 (14:40 +0000)
commit494640d26540eeb3787fb560eac10ee4834856c8
tree1a7b0c7b19a45b82568607a29d58060f0d5cbc8d
parent403485302e340cb8f6e5ec10c798fb92df412f2b
After namespace stripping, the source document is the temporary tree
created by the stripping process and it has the wrong base URI for
relative references. Earlier versions of this code used to try to
fix that by patching the elements with relative @fileref attributes.
That was inadequate because it calculated an absolute base URI without
considering that there might be xml:base attributes already in effect.
It seems obvious now that the right thing to do is simply to put the
xml:base on the root of the document. And that seems to work.
xsl/common/stripns.xsl