Skip to content

Commit 2f92f20

Browse files
committed
metadata-load.month / nextRecordPosition: check text node instead of element
1 parent 952b25a commit 2f92f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/nlb/metadata-utils/src/main/resources/xml/xproc/metadata-load.month.xpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<p:identity name="part-result-document"/>
6262

6363
<p:choose>
64-
<p:when test="not(/*/SRU:nextRecordPosition) or /*/SRU:records/SRU:record/SRU:recordPosition/text() = /*/SRU:nextRecordPosition/text() or not(/*/SRU:records/SRU:record/SRU:recordPosition)">
64+
<p:when test="not(/*/SRU:nextRecordPosition/text()) or /*/SRU:records/SRU:record/SRU:recordPosition/text() = /*/SRU:nextRecordPosition/text() or not(/*/SRU:records/SRU:record/SRU:recordPosition)">
6565
<!-- no more results -->
6666
<p:identity>
6767
<p:input port="source">

0 commit comments

Comments
 (0)