> -----Original Message-----
> From: Elliotte Harold
>
> Thanks. I am indeed using the snapshot because the 169.1 doesn't work
> wioth DocBook 5. Where"s the code to resolve this hiding? I'm now
> seeing output like this:
>
> s week's topics are relatively new. They are not yet covered in
> many books. One notable exception is
> </p>
>
> <img width="107" align="left"
> src="file:/Users/elharo/Projects/workspace/CS905/build/week13/
> ///Users/elharo/Projects/workspace/CS905/build/awt.gif"/>
>
> when I should have this:
>
> <img width="107" align="left"
> src="file:///Users/elharo/Projects/workspace/CS905/build/week1
> 3/awt.gif"/>
>
> I suspect the xml:base attributes which use only one initial
> slash are
> somehow confusing the base resolution code. I hate file URIs.
> I have to
> reread all the RFCs now to figure out whose got the bug.
I am having similar problems. I haven't figured out everything, but one
problem is the template in common/stripns.xsl that uses saxon:SystemId(). It
returns malformed file paths and these paths are then inserted as xml:base
attributes in the stripped document.
This test
<xsl:when test="starts-with(saxon:systemId(), 'file:')">
<xsl:value-of select="substring-after(saxon:systemId(),'file:')"/>
</xsl:when>
returns a path with a leading slash, like this: '/c:/docbook/test.xml'.
/MJ