load_xml was returning a single term instead of a list of nodes

This commit is contained in:
no382001
2026-03-03 12:34:31 +01:00
parent 453a88f03e
commit 025da8315b
3 changed files with 20 additions and 1 deletions

5
tests-pl/issue3256.pl Normal file
View File

@@ -0,0 +1,5 @@
:- use_module(library(sgml)).
test :- load_xml("<foo><bar>hello</bar></foo>", Es, []), write(Es).
:- initialization(test).