This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
6.1.5 The [declaration base URI] property should not necessarily be the document-uri. For an unparsed entity declared in the external subset, it should be the URI of the external subset. It seems that you may need a property in the data model to store this, if you want to get it right.
The XSL and XML Query WGs propose to resolve this issue by changing the description of [declaration base URI] in the following way: Implementation defined. In the many cases, the document-uri is the correct answer and implementations MUST use this value if they have no better information. Implementations that keep track of the original declaration base URI for entities should use that value. Please let us know if this satisfies your comment.
(In reply to comment #1) The XML Core WG accepts your resolution of this comment.