From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.79.168 with SMTP id k8mr202159obx.49.1422534671301; Thu, 29 Jan 2015 04:31:11 -0800 (PST) X-Received: by 10.140.28.11 with SMTP id 11mr2535qgy.21.1422534671277; Thu, 29 Jan 2015 04:31:11 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!hl2no4250841igb.0!news-out.google.com!q4ni22qan.0!nntp.google.com!bm13no3770927qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 29 Jan 2015 04:31:11 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=109.165.90.191; posting-account=niG3UgoAAAD7iQ3takWjEn_gw6D9X3ww NNTP-Posting-Host: 109.165.90.191 References: <8f389b7e-31e8-48ea-98c4-cd4471db9293@googlegroups.com> <1w1u3p8o0pf3u.5fidvp7gla8x$.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <53e8a761-c12b-4341-b4d1-0402a1fa7cf1@googlegroups.com> Subject: Re: What is the best license to use for open source software? From: Vadim Godunko Injection-Date: Thu, 29 Jan 2015 12:31:11 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:24788 Date: 2015-01-29T04:31:11-08:00 List-Id: On Thursday, January 29, 2015 at 1:26:24 PM UTC+3, Georg Bauhaus wrote: > > The idea is > > to ensure the resulted HTML page being correct (e.g. matched elements > > ) for any set of actual parameters. One flaw of the approaches A and B > > is that there is no way to do this. > > XML not matching elements? I must > be misunderstanding something. Wellformed XML (XHTML) template will produce wellformed XML (XHTML) document. Matreshka escapes all "special" characters in substituted data, thus it is impossible to break wellformedness (this is protection from well known attacks in Internet). In opposite, HTML generator removes some whitespaces and close tags; rewrites attributes, to make resulting document more compact but still valid HTML document.