Hi, Bertrand Delacretaz schrieb: > On Mon, Apr 6, 2009 at 11:14 AM, Vidar Ramdal <[email protected]> wrote: >> On Mon, Apr 6, 2009 at 11:06 AM, Bertrand Delacretaz >> <[email protected]> wrote: >>> I'd much prefer a permissive parser that only uses XMLish tags to >>> delimit code sections - assuming that meets your requirement of editor >>> friendliness. >> I think so, yes. Although a pure XML parser would be much easier to >> implement, I guess :) > > Yes, but what a pain for users downstream, if all scripts have to be > well-formed XML!
Well, JSP documents must also be well-formed. So I think, it would be natural to require this here, too. If down-stream users want to not pay the price for well-formedness, they should use the traditional approach using <%= %>. Event there, developers are required to apply some form of well-formedness. So, I would be all for using an XML parser for espx scripts. This requires more from the programmer but gives back much more. Regards Felix
