Project

Profile

Help

Revision 5eb2212a

Added by Michael Kay almost 13 years ago

Fix bug 2636940 (NPE using Processor.writeXdmValue() to write to an XdmDestination)

View differences:

latest9.1/bj/net/sf/saxon/s9api/Processor.java
210 210
    public void writeXdmValue(XdmValue value, Destination destination) throws SaxonApiException {
211 211
        try {
212 212
            Receiver out = destination.getReceiver(config);
213
            out.setPipelineConfiguration(config.makePipelineConfiguration());
213 214
            out = new NamespaceReducer(out);
214 215
            TreeReceiver tree = new TreeReceiver(out);
215 216
            tree.open();

Also available in: Unified diff