--- a/spec/stanzacmp_spec.lua Thu Sep 06 18:28:27 2018 +0100 +++ b/spec/stanzacmp_spec.lua Thu Sep 06 19:13:42 2018 +0100 @@ -122,4 +122,21 @@ it("should be possible to disable ordered matching", function () yes("<foo><one scansion:strict='no'><a/><b/></one></foo>", "<foo><one><b/><a/></one></foo>"); end); + + it("should match when there are many children", function () + yes([[<s> + <x> + <a/> + <b/> + <c/> + </x> + </s>]] + , [[<s> + <x> + <a/> + <b/> + <c/> + </x> + </s>]]); + end); end);