Re: xml:base for result?
Stefan Seefeld <[email protected]> Fri, 28 Jul 2006 13:07:25 -0400
| Newsgroups | gmane.text.xml.xmlroff.general |
|---|---|
| Message-ID | <[email protected]> |
Tony Graham wrote:
> What is, or should be, the base URI (for purposes of resolving relative URIs
> in "url('...')") for an FO document that is the result of xmlroff transforming
> an input XML document with an input XSLT stylesheet?
>
> Is it:
>
> - The current directory?
>
> - The directory of the input XML document?
>
> - The directory of the input XSLT stylesheet?
>
> - None?
>
> - Something else?
I believe it should be the directory of the input XML document.
> I'm working on testing the DocBook testdocs, which have relative URI
> references in them, and the relative URIs end up as "url('...')".
>
> To make matters worse, the relative URIs don't resolve from the test docs
> anyway. For example, if 'docbook-testdocs-1.1/tests/stamp.001.xml' refers to
> 'graphics/stamp.png', the actual 'stamp.png' is in the testdocs distribution
> as 'docbook-testdocs-1.1/graphics/stamp.png', not as
> 'docbook-testdocs-1.1/tests/graphics/stamp.png'.
Who is the maintainer of docbook-testdocs-1.1 ? Norman Walsh ? Bob Stayton ?
They should know...
> I can rearrange the testdocs (or add symbolic links) so relative URIs resolve,
> but that still leaves me wondering about what the correct base URI for the FO
> document that is the result of a transformation.
I agree. I remember long discussions related to xml:base when xi:include support
was added to docbook a while ago. I'd suggest you resend the mail to the docbook
lists ([email protected] and / or [email protected])
Thanks,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV