Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26399
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: simple error |
| Date | 2014-12-28 21:44 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <1745799.hd9xs91tD1@PointedEars.de> (permalink) |
| References | <m7pdlm$1ju$1@gregory.bnet.hr> <m7pj64$8tp$1@dont-email.me> <2919102.Zlc1T3vdmV@PointedEars.de> <m7pp88$4kg$1@dont-email.me> |
Jukka K. Korpela wrote: > 2014-12-28, 21:13, Lahn wrote: >>> (`) might also work (it does in my firefox at least). >> If so, only because of error correction. >> >> <http://www.w3.org/TR/2014/REC-html5-20141028/syntax.html#before->> attribute-value-state> > > Of course, it has nothing to do with HTML error correction. Anyone who > actually understands the elements of the basics of the fundamentals of > HTML parsing, instead of showing off and making pointless “learned” > lectures, knows that. The HTML5 parsing algorithm at least, which I cited, states that if a backtick (`) is parsed at this position, it constitutes a “Parse error”, that should be treated like “Anything else”, therefore “append[ed] […] to the current attribute’s value”. This means it would become part of the attribute value. An event-handler attribute value is parsed (per the definition of the default scripting language) as an ECMAScript /Program/. But a backtick as first character of an ECMAScript /Program/ is a syntax error in ECMAScript implementations because it cannot be produced by production | Program : SourceElements_opt (assuming no syntax extensions). Therefore, error correction would be necessary to execute that /Program/. <http://ecma-international.org/ecma-262/5.1/#sec-14> -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
simple error Haris Bogdanovich <haris.bogdanovic@gmail.com> - 2014-12-28 18:12 +0100
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-28 18:25 +0100
Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 21:00 +0200
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-28 21:32 +0100
Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 23:56 +0200
Re: simple error Denis McMahon <denismfmcmahon@gmail.com> - 2014-12-28 18:46 +0000
Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 21:13 +0200
Re: simple error Denis McMahon <denismfmcmahon@gmail.com> - 2014-12-28 23:19 +0000
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 01:03 +0100
Re: simple error "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-29 01:08 +0100
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-28 20:13 +0100
Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 22:30 +0200
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-28 21:44 +0100
Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-28 23:50 +0200
Re: simple error "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-28 23:10 +0100
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 03:10 +0100
Re: simple error "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-29 13:17 +0100
Re: simple error Tim Streater <timstreater@greenbee.net> - 2014-12-29 12:30 +0000
Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-29 14:49 +0200
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 15:18 +0100
Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-29 08:20 +0200
Re: simple error "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-29 12:36 +0100
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 15:40 +0100
Re: simple error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-12-29 01:04 +0100
Re: simple error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-12-29 08:09 +0200
csiph-web