ixml must produce well-formed XML

Hello,

I think this is additional fodder for our discussion of “serialization”.

I wonder if we should allow an ixml processor to produce a single text node as a result? According to a recent bug report[1], both ixampl and xmq fail to detect that this grammar violates D01 and D06:

-number = -~[N]*, [N]+, ending.
-ending = | -~[N], -~[]*.

Input: abc123yyy

The user expected the output “123”, but that’s not a well-formed XML document.

                                        Be seeing you,
                                          norm

[1] https://github.com/nineml/nineml/issues/67

--
Norm Tovey-Walsh
Saxonica

Received on Monday, 3 March 2025 08:46:24 UTC