Project

Profile

Help

Revision 139f791b

Added by O'Neil Delpratt over 2 years ago

Bug fix relating to issue #4169

View differences:

latest9.9/hen/csource/api/Saxon.Api/Model.cs
2957 2957

  
2958 2958
        public void forEachOrFail(JItemConsumer consumer)
2959 2959
        {
2960
            throw new NotImplementedException();
2960
            JItem item = null;
2961

  
2962
            while ((item = next()) != null)
2963
            {
2964
                consumer.accept(item);
2965
            }
2961 2966
        }
2962 2967

  
2963
        public void forEachOrFail(JSequenceIterator value1, JItemConsumer value2)
2968
        public void forEachOrFail(JSequenceIterator value1, JItemConsumer consumer)
2964 2969
        {
2965
            throw new NotImplementedException();
2970
            JItem item = null;
2971

  
2972
            while ((item = value1.next()) != null)
2973
            {
2974
                consumer.accept(item);
2975
            }
2966 2976
        }
2967 2977

  
2968 2978
        public JGroundedValue materialize() {
2969
            return null;
2979
            return JSequenceExtent.fromIterator(this);
2970 2980
        }
2971 2981

  
2972 2982
        public JGroundedValue materialize(JSequenceIterator value)
2973 2983
        {
2974
            throw new NotImplementedException();
2984
            return JSequenceExtent.fromIterator(value);
2975 2985
        }
2976 2986

  
2977 2987
       
......
2983 2993

  
2984 2994
        JGroundedValue JSequenceIterator.materialize()
2985 2995
        {
2986
            throw new NotImplementedException();
2996
            return JSequenceExtent.fromIterator(this);
2987 2997
        }
2988 2998

  
2989 2999

  

Also available in: Unified diff