Re: ixml must produce well-formed XML

Hello,

Allowing text result is not "Invisible XML" but this could be enough to generate formatted output, such CSV or JSON, for example.

What do you think?

--Alain

> Le 03/03/2025 09:46 CET, Norm Tovey-Walsh <norm@saxonica.com> a écrit :
> 
>  
> 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 10:24:49 UTC