#493 base-uri() wrong for lazily constructed document

v8.7
closed
5
2012-10-08
2006-03-27
Michael Kay
No

When lazy construction is enabled (e.g. by using the
-pull option on the command line), the base URI of a
lazily-constructed document (using the document{}
constructor) is set to a zero-length string, not to the
base URI from the static context.

Source fix: In net.sf.saxon.pull.UnconstructedParent,
method construct(), at line 101 after

builder.setPipelineConfiguration(pipe);

add

builder.setSystemId(pipe.getLocationProvider().getSystemId(instruction.getLocationId()));

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks