Hi, is this a bug?
Query: parse-xml-fragment('Tom & Jerry') Result: Tom ? Jerry Same result with: parse-xml-fragment('Tom &DUMMY; Jerry') BaseX 10.7 Saxon complains correctly that the resulting document node is not well-formed. BaseX should also return an error, shouldn't it? Best, Daniel