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?
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]