Workbench icon indicating copy to clipboard operation
Workbench copied to clipboard

Better report XML parsing errors

Open sonnyp opened this issue 3 years ago • 1 comments

XML UI is parsed and rendered on change.

The parsing errors are displayed in the console which is fine but not ideal.

Instead we could display the error directly in the source view at the right line / character.

(re.sonny.Workbench:4): Gjs-WARNING **: 18:24:56.881: JS ERROR: GLib.MarkupError: Error on line 8 char 6: “<” is not a valid character following the close element name “object”; the allowed character is “>”

sonnyp avatar Jan 30 '22 17:01 sonnyp

We now have Blueprint with inline errors. Would be nice to have for XML as well but not as important anymore.

sonnyp avatar Sep 15 '22 19:09 sonnyp