This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] profiling document with link problem
- From: Daniel Veillard <veillard at redhat dot com>
- To: Jirka Kosek <jirka at kosek dot cz>
- Cc: Patrick Eisenacher <eisenacher at fillmore-labs dot com>, "docbook at lists dot oasis-open dot org" <docbook at lists dot oasis-open dot org>
- Date: Tue, 5 Aug 2003 10:53:09 -0400
- Subject: Re: [docbook] profiling document with link problem
- References: <3F266AFA.70706@fillmore-labs.com> <3F26720C.10803@kosek.cz> <20030729120138.C32400@redhat.com> <3F2EC789.4080902@kosek.cz> <20030804170638.L14155@redhat.com> <20030804172113.M14155@redhat.com> <3F2F6199.60206@kosek.cz>
- Reply-to: veillard at redhat dot com
On Tue, Aug 05, 2003 at 09:49:45AM +0200, Jirka Kosek wrote:
> Daniel Veillard wrote:
> > Current conclusion is:
> > your stylesheet relies on totally unspecified behaviour
> > I have a hard time accepting as a bug, but if you
> > have further evidence, I would take them...
>
> Daniel, thank for taking care about this issue. You are right, I was
> wrong when I though that key() function should always do lookup in the
> source document even when context node is from other temporal document.
> It seemed logical as such temporal document can't be indexed. But read
> standard more carefully first and then start thinking applies here.
Problem is that EXSLT node-set() is vastly underspecified, I think
Jenny Tennison maintains it, right ? If yes maybe she would accept to
refine the logic so that at least there is no grey area.
> Sad conclusion for DocBook XSL stylesheets users is that single-pass
> profiling won't work in xsltproc if you use links in your documents. It
> actually works in Saxon but it is non-conformant behaviour. I can't
> imagine XSLT 1.0 solution to this problem which will not cause very
> hard-to-maintan fork between common and profiling stylesheets.
Argh ... Well I don't know if I can help there. If you have suggestions
fill an Request For Enhancement, but to me node-set() is already a
very complex operation,
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org