Hi Herong,

On Fri, Jun 19, 2020 at 5:37 PM Herong Yang <herong_y...@yahoo.com> wrote:

> The current error report is clear and useful. But I still think it will be
> nice if both 'A' and 'B' are listed in the error report, since both of them
> are not expected to be there.
>

To have this facility, for XML Schema error reporting, I think we need to
consider two extremes as follows:
For your use case,
At one side, if the number of XML sibling invalid elements are less then
the error reporting improvements you're suggesting seems ok to me.
On the other hand, if the number of XML sibling invalid elements are large
(say couple of hundred or even thousands), then IMHO your suggested error
reporting would not look ok.



-- 
Regards,
Mukul Gandhi

Reply via email to