On Thu, 3 Nov 2011 08:43:13 -0500 "Edward K. Ream" <[email protected]> wrote:
> Right. The question is, are html tags valid in javascript comments > :-) It's a question only a compiler writer would ask... Probably not relevant to Leo import export, but javascript often contains things not valid in HTML, notably < and & Which raises the question of CDATA http://www.w3schools.com/xml/xml_cdata.asp strictly speaking Leo should not parse anything in a CDATA block. I wasn't suggesting using ElementTree / lxml for parsing, just that the .text and .tail attribue model allows complete representation of HTML's "pernicious mixed content". http://www.thaiopensource.com/relaxng/design.html#section:11 Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
