>
> > 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:

Does it mean that ervery tag has the form <ns:tag> ?
This may be hard for new users.

> >
> > * 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.

Great !!!
Yesterday I had a corse for new lenya2 users. Locating the errors in the
oneform editor without line numbers was very hard for the participants.

Is it possible to make the behaviour of the editor configurable ?

Rudolf

> >
> > WDYT?
> >
> +1 these changes seem to be helpful especially in case of an validation
> error ...
>
> Jann
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to