Andreas Hartmann schrieb:
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 it would be great to make this independent of Lenya using some
protocol for the data exchange such that this source editor could be
re-used within other applications/CMS
Do think that's feasible with your sandbox code?
Thanks
Michael
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]