Project

Profile

Help

Bug #3024

Updated by Michael Kay over 7 years ago

See thread started on saxon-help list by Florent Georges. Goerges. Given an application that supplies an OutputURIResolver, and where the static base URI of the stylesheet is unknown, Saxon is calling the OutputURIResolver.close() method with a Result object whose systemId property is blank. It should set the value according to the rules in the spec: 

 _The href attribute is optional. The default value is the zero-length string. The effective value of the attribute must be a URI Reference, which may be absolute or relative. If it is relative, then it is resolved against the base output URI.  

 If the implementation provides an API to access secondary results, then it must allow a secondary result to be identified by means of the absolutized value of the href attribute. In addition, if a final result tree is constructed (that is, if the effective value of build-tree is yes), then this value is used as the base URI of the document node at the root of the final result tree._ 

 Added as JUnit test s9apitest/TestSecondaryDestination

Back