This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27061 - [xslt 3.0] What should unparsed-entity-uri() do if the base URI of the document node is absent?
Summary: [xslt 3.0] What should unparsed-entity-uri() do if the base URI of the docume...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 16:17 UTC by Michael Kay
Modified: 2015-10-29 09:50 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2014-10-15 16:17:12 UTC
The XDM data model acknowledges that it is possible for the base URI of a node to be unknown (absent). The functions unparsed-entity-uri() and unparsed-entity-public-id() depend on the base URI of the document node, and we don't way what they should do if this is absent.

(Note: the specification is by way of the accessors defined in XDM, which perform the absolutization of the result. So arguably the bug is in XDM rather than XSLT)
Comment 1 Michael Kay 2014-10-15 16:19:10 UTC
Note: the quaetion arose as a consequence of a Saxon bug report

https://saxonica.plan.io/boards/2/topics/6017
Comment 2 Michael Kay 2014-10-15 16:49:55 UTC
Proposed resolution: return the relative URI of the unparsed entity, unresolved against any base URI.
Comment 3 Michael Kay 2014-10-24 14:04:00 UTC
The WG accepted the proposed resolution.