Project

Profile

Help

Revision f8b3ff9a

Added by Michael Kay over 12 years ago

Fix bug 2834099 - writeSequence() does not allow a null properties object

View differences:

latest9.1/bj/net/sf/saxon/xqj/SaxonXQForwardSequence.java
246 246
    public void writeSequence(OutputStream os, Properties props) throws XQException {
247 247
        checkNotClosed();
248 248
        checkOnlyReadOnce();
249
        if (props == null) {
250
            props = new Properties();
251
        }
252
        props = SaxonXQSequence.setDefaultProperties(props);
249 253
        SequenceIterator iter = iterator;
250 254
        if (isOnItem()) {
251 255
            iter = new Insert.InsertIterator(

Also available in: Unified diff