Hi Lenya users and devs,

ATM the source editor removes namespace declarations from the document source. I'd like to change this behaviour and make the document editable in its original form for the following reasons:

* More transparency
* Allow to change namespace URIs
* Allow to use line and column numbers in validation error messages (not possible at the moment because the displayed and actual XML are different)

IMO the source editor is targeted towards seasoned users, so I think showing them the source as-is doesn't do any harm.

BTW, in my sandbox I have added some JavaScript code which allows to jump to the corresponding location when clicking on a validation error message (not perfect yet, but I think this could be helpful). This only works if the document is shown in its original form.

WDYT?

+1 these changes seem to be helpful especially in case of an validation error ...

Jann


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@lenya.apache.org
For additional commands, e-mail: user-h...@lenya.apache.org

Reply via email to