Subject:incorrect handling of fragments in document()? Author:Adam Van den Hoven Date:08 Oct 2002 06:03 PM
I've attached two trivial files that show how the internal xslt enging seems to be getting a part of the xsl rec wrong.
Specifically from http://www.w3.org/TR/xslt#function-document:
"If the URI reference does contain a fragment identifier, the function returns a node-set containing the nodes in the tree identified by the fragment identifier of the URI reference."
In the example, I generate 4 ids, all of which I expect to be equal. The first two are. The last two throw "document could not be found" errors.
Subject:Re: incorrect handling of fragments in document()? Author:(Deleted User) Date:09 Oct 2002 09:37 AM
Hi Adam,
Stylus does not support document fragment identifiers, mainly because the
specs are not clear on what this mean:
"The semantics of the fragment identifier is dependent on the media type of
the result of retrieving the URI.....An XSLT processor is not required to
support any particular media types"
We'll file a PCR to see if we can add at least text/xml to the list of
supported media types.