W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: [webcomponents] More backward-compatible templates

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 31 Oct 2012 19:27:41 +0100
Message-ID: <CADnb78ifsBAujH1dO9m2mYm6Dpv6hPgo963OhKC62Z-RveNj5Q@mail.gmail.com>
To: Adam Barth <w3c@adambarth.com>
Cc: Maciej Stachowiak <mjs@apple.com>, "public-webapps@w3.org WG" <public-webapps@w3.org>
On Wed, Oct 31, 2012 at 7:23 PM, Adam Barth <w3c@adambarth.com> wrote:
> Then maybe I don't understand how parsing will work.  How does the
> parser know when the "Folder i" template stops?  It can't just scan
> ahead for <\/scirpt> if we're using <\/script> to terminate the "Email
> i" template.  Similarly, it can't just match <script> and <\/script>
> tags because then nested templates will parse differently than
> top-level templates...

You'd need to special case nested templates. But you need to do that
anyway as you're inside a <script> element that normally only emits
character data.

Received on Wednesday, 31 October 2012 18:28:08 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:49 UTC