Options:
- # Session Start: Fri May 04 00:00:00 2007
- # Session Ident: #whatwg
- # [00:00] <othermaciej> well, I don't know that it would persuade John Boyer, but it could be informative to others
- # [00:00] <Dashiva> Wow
- # [00:00] <Hixie> i guess i'll do that tomorrow
- # [00:00] <Dashiva> Chris isn't top-posting. It's a miracle!
- # [00:00] <Hixie> bbiab
- # [00:01] <othermaciej> Hixie: I actually didn't think it would be that easy to do that in WF2 (the Ajax combo box thing), I was pleasantly surprised
- # [00:01] <bewest> othermaciej: I think you really stuck a bee in his bonnet...
- # [00:01] <othermaciej> but Mark Birbeck brought up Ajax libraries
- # [00:01] * Quits: met_ (n=Hassman@r5bx220.net.upc.cz) ("Chemists never die, they just stop reacting.")
- # [00:02] * othermaciej is now known as om_coffee
- # [00:10] * Joins: epeus (i=KevinMar@nat/google/x-0ecc67a2b8744fe7)
- # [00:12] <zcorpan> <?php header("Content-Type: text/css"); include("http://html5.googlecode.com/svn/trunk/author-view-of-html5/author-view-of-html5.css"); ?>
- # [00:12] <zcorpan> shouldn't that work?
- # [00:12] <zcorpan> http://simon.html5.org/temp/author-view-of-html5.css
- # [00:13] * om_coffee is now known as othermaciej
- # [00:14] <Dashiva> Many systems block crossdomain includes
- # [00:15] <Philip`> "URL file-access is disabled in the server configuration" - seemingly not
- # [00:15] <hasather> yea, for security reasons
- # [00:15] <Philip`> PHP server configuration sounds like fun
- # [00:15] * zcorpan ponders
- # [00:15] <Dashiva> There is A Way (tm) around it
- # [00:16] <Philip`> Use Perl? ;-)
- # [00:16] <zcorpan> or python
- # [00:16] <Philip`> You could write an Apache module in C
- # [00:17] <zcorpan> how does one include in python?
- # [00:19] <Dashiva> I would try fopen, and if that fails too, fsockopen
- # [00:19] * zcorpan finds http://www.diveintopython.org/http_web_services/review.html
- # [00:20] <Philip`> import urllib; print urllib.urlopen("http://google.com").read()
- # [00:20] <Philip`> perhaps
- # [00:20] <zcorpan> yeah
- # [00:21] <Philip`> Ah
- # [00:25] * Quits: KevinMarks (i=KevinMar@pdpc/supporter/active/kevinmarks) (Read error: 110 (Connection timed out))
- # [00:34] <bewest> <?php header("Content-Type: text/css"); echo file_get_contents("$url"); ?>
- # [00:34] <bewest> not include
- # [00:35] <Dashiva> Isn't file_get_contents blocked by the same setting as include?
- # [00:35] <bewest> no
- # [00:35] <bewest> include means execute as php code
- # [00:35] <bewest> it's like using eval
- # [00:35] <bewest> which is why it's dangerous to use with URLs
- # [00:35] <bewest> file_get_contents just reads a file-like object stream
- # [00:36] <Dashiva> "You can use a URL as a filename with this function if the fopen wrappers have been enabled."
- # [00:36] <Dashiva> If "URL fopen wrappers" are enabled in PHP (...), you can specify the file to be included using a URL
- # [00:36] <Dashiva> Seems like the same to me
- # [00:36] <zcorpan> "URL file-access is disabled in the server configuration"
- # [00:37] <zcorpan> my attempt to do it with python only resulted in 500 internal error
- # [00:37] <hasather> zcorpan: is the file executable?
- # [00:37] <zcorpan> hasather: yes
- # [00:37] <bewest> include is not the same
- # [00:37] <bewest> include is like import
- # [00:37] <bewest> in python
- # [00:37] <hasather> zcorpan: do you have the shebang?
- # [00:37] <bewest> or use in perl
- # [00:37] <Dashiva> The functionality doesn't matter, the fact is they're blocked by the same setting
- # [00:38] <zcorpan> hasather: what shebang?
- # [00:38] <hasather> zcorpan: #!/usr/bin/env python
- # [00:38] <zcorpan> hasather: yes
- # [00:38] <hasather> hmm, ok
- # [00:38] * Quits: tantek (n=tantek@wsip-24-120-86-254.lv.lv.cox.net)
- # [00:38] <zcorpan> and SetHandler cgi-script
- # [00:38] <Dashiva> zcorpan: What if you only do the import and not the print/urlopen call?
- # [00:39] <zcorpan> Dashiva: i commented out everything and still got 500
- # [00:39] <Philip`> Are you just doing 'print "Content-Type: text/css\r\n\r\n"' in Python?
- # [00:39] <zcorpan> oh, perhaps need that
- # [00:39] <zcorpan> forgot
- # [00:40] * nlogax_ is now known as nlogax
- # [00:43] <zcorpan> nope
- # [00:46] <zcorpan> <Files author-view-of-html5.css>
- # [00:46] <zcorpan> ForceType text/plain
- # [00:46] <zcorpan> SetHandler cgi-script
- # [00:46] <zcorpan> </Files>
- # [00:47] <zcorpan> ah!
- # [00:48] <zcorpan> #!/usr/bin/python works
- # [00:49] * Joins: tantek (n=tantek@67.136.236.231)
- # [00:49] <zcorpan> success!
- # [00:56] <Dashiva> Good, because using fsockopen requires you to write and parse HTTP manually
- # [01:01] * othermaciej is now known as om_meet
- # [01:09] * Quits: epeus (i=KevinMar@nat/google/x-0ecc67a2b8744fe7) ("The computer fell asleep")
- # [01:14] <Philip`> The PHP manual's user comments are fun - there's one with a code sample saying "This might help a bit for security (no guarantees)" which, naturally, is buggy and doesn't help with security at all
- # [01:23] * Quits: billmason (n=billmaso@ip156.unival.com) (".")
- # [01:28] * jgraham just checked in the html5lib parse tree viewing web-app bits to http://code.google.com/p/html5/
- # [01:30] * Joins: KevinMarks (i=KevinMar@nat/google/x-1541cd354be46a2a)
- # [01:30] <jgraham> If anyone has any suggestions for a place to host that more stable than "over my dsl connection" that would be good :)
- # [01:31] * jgraham feels he should emphasise again the code is not production quality
- # [01:36] <hasather> jgraham: do you want a suggestion for a place where you could host it, or do you want someone to host it for you?
- # [01:37] <jgraham> hasather: Well preferably the latter but if you know of somewhere that has cheap webhosting with excellent python support and reasonable customer service that would be good too :)
- # [01:38] <hasather> jgraham: I could throw it up on my server if you want
- # [01:39] <jgraham> That sounds good
- # [01:41] <jgraham> Assuming you don't mind and won't object to getting the occasional request to update it, that is :)
- # [01:41] <hasather> jgraham: nope :)
- # [01:42] * jgraham has to sleep now
- # [01:43] <hasather> jgraham: I fix it tomorrow, good night
- # [01:55] * om_meet is now known as othermaciej
- # [02:01] <zcorpan> Hixie: you think you could add jdandrea@gmail.com to the html5 google project?
- # [02:02] <zcorpan> (he wants to contribute to the style sheet)
- # [02:02] <Hixie> done
- # [02:02] <zcorpan> thanks
- # [02:06] * Quits: KevinMarks (i=KevinMar@nat/google/x-1541cd354be46a2a) ("brb")
- # [02:06] * Joins: KevinMarks (i=KevinMar@nat/google/x-7a2364d38ce416a4)
- # [02:08] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [02:14] * Quits: Toolskyn (n=toolskyn@adsl-dc-266ef.adsl.wanadoo.nl) (Connection timed out)
- # [02:28] <Hixie> othermaciej: btw, john is wrong on almost all counts on his description of the problems with the wf2 repetition model
- # [02:28] <Hixie> notwithstanding that it does suck
- # [02:28] <othermaciej> Hixie: at least he gave actual technical feedback on a specific point!
- # [02:29] <Hixie> indeed
- # [02:29] <othermaciej> Hixie: B.F. Skinner says he must receive a treat to reinforce this behavior
- # [02:30] <bewest> is there some short javascript function I can use to detect whether a browser is in strict or quirks mode?
- # [02:30] <Hixie> if we do this <repeat> thing, i really would want the repeated blocks of the template to be in the DOM, but that doesn't really mesh well with the requirements
- # [02:30] <Hixie> hm
- # [02:30] <Hixie> bewest: look at document.compatMode
- # [02:30] <Hixie> it'll be CSS1Compat or QuirksMode, iirc
- # [02:30] <Hixie> or something like that
- # [02:30] <Philip`> BackCompat, I think
- # [02:31] <Hixie> oh right
- # [02:31] <Hixie> BackCompat
- # [02:31] <bewest> oOOoo
- # [02:31] <bewest> nice
- # [02:31] <Philip`> (http://developer.mozilla.org/en/docs/DOM:document.compatMode)
- # [02:31] <Hixie> is doesn't expose Almost Standards Mode
- # [02:31] <Hixie> it
- # [02:32] * Quits: tantek (n=tantek@67.136.236.231)
- # [02:32] <Philip`> (A more consistent naming convention for the various frozen-bug modes might be nice)
- # [02:33] <zcorpan> opera used to have QuirksMode. now it's BackCompat
- # [02:33] <Philip`> (except the old inconsistent names have to be frozen too, for backward compatibility...)
- # [02:34] <zcorpan> Hixie: you think it would be realistic to get the css21 spec changed to reflect almost standards mode (so the two modes can be merged)?
- # [02:35] <bewest> thanks
- # [02:36] <zcorpan> (aiui, it would only affect handling of replaced inline elements when there is no text or non-replaced inline elements in the same line box)
- # [02:37] <Hixie> zcorpan: realistic how?
- # [02:47] * Joins: htmlr (n=cjb@203-217-80-229.dyn.iinet.net.au)
- # [02:57] * moeffju is now known as moeffju[ZzZz]
- # [03:03] * Quits: h3h (n=h3h@66-162-32-234.static.twtelecom.net) ("|")
- # [03:03] <zcorpan> that the wg would accept the proposal to spec how almost standards mode works
- # [03:05] <Hixie> oh. no.
- # [03:05] <Hixie> they won't even accept that we define how tables render in quirks mode
- # [03:05] <Hixie> _and_ standards mode
- # [03:05] <Hixie> (which is the same)
- # [03:05] <Hixie> instead insisting that the css spec say that html tables are undefined and xhtml tables are different
- # [03:05] <zcorpan> yeah
- # [03:07] <zcorpan> what i thought was that if i could spec something that implementors can agree on and implement then the csswg could either ignore reality and or accept the proposal
- # [03:07] <zcorpan> s/and or/or/
- # [03:07] <Hixie> almost standards is basically an entirely different inline box model
- # [03:07] <zcorpan> yes
- # [03:07] <Hixie> the inline box model is the most complicated part of css
- # [03:08] <zcorpan> yeah... i'm not saying it's trivial... just that any ua would have to implement almost standards mode anyway
- # [03:08] <Hixie> yeah
- # [03:08] <Hixie> certainly i'm not going to discourage you from trying to spec it
- # [03:08] <zcorpan> so having something different in the spec is not helful imho (since there are more ASM documents than there is SM documents on the web)
- # [03:09] <Hixie> but it's not something i plan on being involved with for a while :-)
- # [03:09] <Hixie> yeah i gave up on the csswg a few months back
- # [03:09] <zcorpan> ok
- # [03:11] * Joins: epeus (i=KevinMar@nat/google/x-85290664eabfaebd)
- # [03:11] * Quits: ajnewbold (n=fax_mach@unaffiliated/chuangtzu) (Read error: 131 (Connection reset by peer))
- # [03:13] * Quits: KevinMarks (i=KevinMar@nat/google/x-7a2364d38ce416a4) (Nick collision from services.)
- # [03:14] * epeus is now known as KevinMarks
- # [03:22] * Joins: tantek (n=tantek@67.136.236.180)
- # [03:30] <othermaciej> Hixie: well, it seems like The Director didn't accept the CSS WG's stance on tables
- # [03:30] <othermaciej> although of course that has limited value in getting to do something good
- # [03:31] <othermaciej> zcorpan: I think there are factions in the csswg that are low on willingness to acknowledge reality
- # [03:32] <zcorpan> well... so long as implementors can agree on implementing something then i'm happy. if the csswg ignores it then oh well
- # [03:32] <othermaciej> csswg has not gone sufficiently down the tubes yet for implementors to entirely rebel
- # [03:33] <zcorpan> keeping almost standards mode and standards mode is also an option, but i'd still like to spec ASM
- # [03:33] <zcorpan> i would like them to be merged though
- # [03:34] <zcorpan> my limited testing so far has shown that there is not interop in ASM handling
- # [03:34] <othermaciej> I would prefer standards mode to change to match ASM
- # [03:34] <othermaciej> zcorpan: what's the lack of interop?
- # [03:34] <zcorpan> when to use the real line box model or not
- # [03:34] <zcorpan> e.g. if you have <div><img> <img></div>
- # [03:35] <zcorpan> vs. <div><img><img></div> vs. <div><img>x<img></div>
- # [03:35] * Joins: marcosc (n=chatzill@131.181.148.226)
- # [03:35] <othermaciej> which one of those has layout differences, and in what browsers?
- # [03:37] <zcorpan> iirc, the first is equivalent to the second in ie, but equivalent to the third in gecko
- # [03:37] <zcorpan> i'll have to do a lot more testing on this though
- # [03:40] <zcorpan> also, is a non-replaced empty inline element that has a border enough to trigger the real line box model or not? at least opera and gecko disagree about that in ASM
- # [03:41] <zcorpan> (gecko does the same as in SM in that case, opera doesn't)
- # [03:41] <othermaciej> well, IE has no difference between ASM and SM
- # [03:41] <zcorpan> i know
- # [03:41] <othermaciej> and both may be wrong
- # [03:42] <othermaciej> the first matching the third is probably an artifact of IE dropping whitespace text nodes entirely
- # [03:42] <othermaciej> wait, I guess they wouldn't in that case
- # [03:42] <zcorpan> no, the text node is there
- # [03:42] <othermaciej> so nevermind
- # [03:42] <othermaciej> if you can't easily test in Safari yourself I can help (though not right now, most go soon)
- # [03:43] <zcorpan> sure, thanks
- # [03:43] <zcorpan> i'll let you know when i have more tests
- # [03:45] <bzed> jgraham: btw, html5lib is in Debian's testing/unstable since a few days
- # [03:48] * Quits: othermaciej (i=mjs@nat/apple/x-a1725f73231c3987)
- # [03:54] * Quits: tantek (n=tantek@67.136.236.180)
- # [03:55] * zcorpan finds the new buzzword "POSH"
- # [03:55] <zcorpan> seems to be the same as the "XHTML" buzz a few years back
- # [03:55] <zcorpan> just without the X :)
- # [03:58] * Quits: bzed (n=bzed@dslb-084-059-104-121.pools.arcor-ip.net) (Remote closed the connection)
- # [04:12] <zcorpan> so HTML5 without style="" would be POSH5 :)
- # [04:13] <marcosc> :D
- # [04:18] <zcorpan> http://www.ilimitado.de/blog/allgemeines/whatwg-kundigt-html6-an/
- # [04:26] <Philip`> The danger of making April Fools' jokes not quite obvious enough :-)
- # [04:27] * zcorpan commented
- # [04:34] * zcorpan notes that the whatwg blog's tagline is now "Please leave your sense of logic at the door, thanks!"
- # [04:34] <Hixie> heh
- # [05:18] * Quits: dbaron (n=dbaron@corp-242.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [05:26] * Joins: othermaciej (n=mjs@netblock-66-245-248-74.dslextreme.com)
- # [05:38] * Joins: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net)
- # [05:41] * Joins: MikeSmith (n=MikeSmit@58.157.21.205)
- # [05:41] * Quits: jruderman (n=jruderma@corp-242.mountainview.mozilla.com)
- # [05:58] * Quits: KevinMarks (i=KevinMar@pdpc/supporter/active/kevinmarks) (Connection timed out)
- # [06:08] * Quits: othermaciej (n=mjs@netblock-66-245-248-74.dslextreme.com) (Read error: 110 (Connection timed out))
- # [06:17] * Joins: met_ (n=Hassman@r5bx220.net.upc.cz)
- # [06:20] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [06:23] * Joins: jruderman (n=jruderma@c-67-169-183-228.hsd1.ca.comcast.net)
- # [06:38] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [06:39] * Joins: KevinMarks (n=KevinMar@207.47.10.130.static.nextweb.net)
- # [06:40] * Joins: epeus (i=KevinMar@nat/google/x-e867a1ae13da1212)
- # [06:47] * Quits: KevinMarks (n=KevinMar@207.47.10.130.static.nextweb.net) (Read error: 145 (Connection timed out))
- # [07:00] * Joins: tantek (n=tantek@24.120.86.254)
- # [07:41] * Quits: epeus (i=KevinMar@nat/google/x-e867a1ae13da1212) ("The computer fell asleep")
- # [08:06] * Joins: road-kill (i=enderz@euromed.bacau.rdsnet.ro)
- # [08:15] * Quits: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [08:15] * Quits: mpt (n=mpt@canonical/launchpad/mpt) ("This computer has gone to sleep")
- # [08:23] * Quits: tantek (n=tantek@24.120.86.254) (Read error: 145 (Connection timed out))
- # [08:23] * Quits: met_ (n=Hassman@r5bx220.net.upc.cz) ("Chemists never die, they just stop reacting.")
- # [08:26] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [09:10] * Joins: hendry (n=hendry@openmanage.navisite-europe.com)
- # [09:17] * Joins: KevinMarks (n=Snak@h-68-164-93-9.snvacaid.dynamic.covad.net)
- # [09:22] * Quits: marcosc (n=chatzill@131.181.148.226) (Read error: 104 (Connection reset by peer))
- # [09:52] * moeffju[ZzZz] is now known as moeffju
- # [10:09] * Quits: MrNaz (n=Naz@203-214-95-166.dyn.iinet.net.au) (Read error: 113 (No route to host))
- # [10:14] * Joins: bzed (n=bzed@dslb-084-059-101-072.pools.arcor-ip.net)
- # [10:14] * Joins: billyjack (n=MikeSmit@58.157.21.205)
- # [10:14] * Quits: MikeSmith (n=MikeSmit@58.157.21.205) (Read error: 104 (Connection reset by peer))
- # [10:24] * Quits: billyjack (n=MikeSmit@58.157.21.205) (Read error: 104 (Connection reset by peer))
- # [10:24] * Joins: billyjack (n=MikeSmit@58.157.21.205)
- # [10:24] * Joins: Toolskyn (n=toolskyn@adsl-dc-266ef.adsl.wanadoo.nl)
- # [10:29] * Quits: bzed (n=bzed@dslb-084-059-101-072.pools.arcor-ip.net) (Remote closed the connection)
- # [10:35] * Joins: bzed (n=bzed@dslb-084-059-101-072.pools.arcor-ip.net)
- # [10:35] * moeffju is now known as moeffju[Work]
- # [10:36] * Joins: ROBOd (n=robod@86.34.246.154)
- # [10:43] * Joins: MrNaz (n=Naz@203-214-95-166.dyn.iinet.net.au)
- # [10:58] <hsivonen> whoa. so many points about style='' that I think I'll reply to list
- # [11:00] <annevk> please also point out the problems with style=
- # [11:01] <hsivonen> Philip`: Konq doctype: ack
- # [11:01] * Joins: met_ (n=Hassman@b14-4.vscht.cz)
- # [11:55] <annevk> help, HTML5 links to CSSOM
- # [12:06] <annevk> hsivonen, the case study is really about adding target= through scripting
- # [12:11] <hsivonen> annevk: is that really what the ALA types are doing these days?
- # [12:12] <annevk> that's the script on sitepoint
- # [12:12] <annevk> i also made one of those scripts
- # [12:12] <annevk> using rel=external
- # [12:12] <annevk> as indicator
- # [12:12] <hsivonen> wow. aren't people even interested in fooling themselves anymore?
- # [12:13] <annevk> i don't really see the difference with window.open()
- # [12:13] <annevk> people are also using <script> to write out <embed>
- # [12:13] <annevk> for Flash
- # [12:13] <annevk> (before Eolas)
- # [12:18] <Philip`> Maybe there could be a i-know-this-is-nonconforming-but-let-me-do-it-anyway="true" attribute, which makes conformance checkers look away while you do something naughty because the alternatives are worse
- # [12:19] <zcorpan> ...or you make those cases conforming
- # [12:22] <annevk> "embrace and extend" :)
- # [12:22] <hsivonen> annevk, Philip`: do you have suggestions with better net effects?
- # [12:23] <annevk> i'm not against
- # [12:23] * annevk is all for target
- # [12:23] <annevk> let authors indicate what they want
- # [12:23] <annevk> let the user decide what to do with that information
- # [12:25] <annevk> implemented EndTagShort, EndTag, Pi so far...
- # [12:25] <annevk> didn't do anything fancy for Pi though... just extracting the name and its contents
- # [12:29] <hsivonen> annevk: is your XML5 error recovery streamable (i.e. SAX-friendly)?
- # [12:30] <annevk> like not having adoption agency?
- # [12:30] <hsivonen> annevk: yes
- # [12:30] <annevk> yes
- # [12:31] <hsivonen> annevk: cool
- # [12:31] <annevk> although it's not entirely clear how this will work out with entities
- # [12:31] <annevk> because of the looping
- # [12:31] <hsivonen> looping?
- # [12:31] <annevk> two entity definitions that refer to each other
- # [12:31] <annevk> (entities are like templates)
- # [12:32] <hsivonen> my point is that if you are looking for adoption and a wide buy-in, you cannot sacrifice the performance properties of streaming parsers
- # [12:32] * Quits: billyjack (n=MikeSmit@58.157.21.205) ("Get thee behind me, satan.")
- # [12:32] <hsivonen> annevk: that's not exposed through ContentHandler anyway
- # [12:32] <annevk> yeah, so presumably this is a solved problem already because their entity checking happens during streaming
- # [12:33] <annevk> except that I don't throw an error but print out the looping entity or simply drop it
- # [12:33] <annevk> (well, an error too)
- # [12:33] <hsivonen> annevk: do you have a prescribed anti-billion laughs limit?
- # [12:34] <hsivonen> you need 16 for the XHTML+SVG+MathML DTD, IIRC
- # [12:34] <hsivonen> 16 as the depth, that is
- # [12:35] <annevk> what's that?
- # [12:36] <annevk> I'm not doing DTDs
- # [12:36] <zcorpan> annevk: one more thing i'm curious about, will there be only be one conformance level? e.g. non-validating that don't fetch external entities, but know about some FPIs?
- # [12:36] <zcorpan> annevk: but you'll have to spec the internal subset, right?
- # [12:37] <annevk> yes, yes
- # [12:37] <zcorpan> ok
- # [12:37] <zcorpan> good :)
- # [12:37] <annevk> (i'm not sure I'll do the crap about known FPIs)
- # [12:37] <annevk> just predefine a bunch of cool entities
- # [12:38] <annevk> actually, I'm sure I won't do FPIs in my initial version
- # [12:38] <annevk> the initial version will ignore all that
- # [12:38] <zcorpan> ok
- # [12:38] <hsivonen> annevk: aren't you required to do the internal subset?
- # [12:39] <annevk> FPIs != internal subset right?
- # [12:39] <hsivonen> Formal Public Identifier
- # [12:39] <hsivonen> -//blahblah DTD// ffo //EN
- # [12:39] * annevk will do the internal subset, including entities, default attribute values, attribute types and parameter entities
- # [12:39] <annevk> right, that's simply ignored
- # [12:39] <hsivonen> annevk: billion laughs can be delivered in the internal subset
- # [12:40] <annevk> still need to know what it is
- # [12:40] * annevk -> lunch
- # [12:40] <hsivonen> annevk: it is a denial of service attack
- # [12:40] <hsivonen> annevk: I'd rather not paste a test case URL here, because someone might open it in a vulnerable browser
- # [12:41] <zcorpan> <!ENTITY ha "ha! ha! "><!ENTITY ha1 "&ha; &ha;">... &ha128;
- # [12:41] <hsivonen> http://agorf.void.gr/blog/archive/2005/11/05/the-billion-laughs-attack/
- # [12:41] <hsivonen> beware of the further links there
- # [12:42] <zcorpan> those links are 404s :)
- # [13:13] <annevk> hsivonen, so laughs is looped entities?
- # [13:14] <annevk> that page doesn't tell me much
- # [13:14] <annevk> given that the links are broken
- # [13:17] <hsivonen> annevk: not looped. growing to power of two. see what zcorpan said above
- # [13:19] <annevk> oh right
- # [13:19] <annevk> suggestions for entity tokenizing welcome
- # [14:02] <Dashiva> This seems relevant: http://www.bash.org/?684098
- # [14:34] * Quits: MrNaz (n=Naz@203-214-95-166.dyn.iinet.net.au) ("Leaving")
- # [14:35] * Joins: MrNaz (n=Naz@203-214-95-166.dyn.iinet.net.au)
- # [15:04] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [15:11] * Joins: jdandrea (n=jdandrea@ool-44c0a1fe.dyn.optonline.net)
- # [15:37] * Joins: jcgregorio (i=chatzill@nat/ibm/x-5627d22487737e30)
- # [15:41] * Quits: hendry (n=hendry@openmanage.navisite-europe.com) ("leaving")
- # [15:47] * Quits: road-kill (i=enderz@euromed.bacau.rdsnet.ro) ("yes i won't")
- # [16:09] * Joins: tantek (n=tantek@wsip-24-120-86-254.lv.lv.cox.net)
- # [16:24] * Quits: htmlr (n=cjb@203-217-80-229.dyn.iinet.net.au)
- # [16:24] <annevk> is <x foo=bar/> a start or empty tag?
- # [16:25] * annevk leaves it a start tag for now
- # [16:28] * Quits: zcorpan (n=zcorpan@84-216-42-62.sprayadsl.telenor.se) (Read error: 110 (Connection timed out))
- # [16:39] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [16:40] * Joins: billmason (n=billmaso@ip156.unival.com)
- # [16:40] * Quits: billmason (n=billmaso@ip156.unival.com) (Client Quit)
- # [16:41] * Joins: billmason (n=billmaso@ip156.unival.com)
- # [16:52] * Joins: ddfreyne (n=ddfreyne@d51A5CE12.access.telenet.be)
- # [16:57] * Joins: h3h (n=h3h@66-162-32-234.static.twtelecom.net)
- # [17:04] * Parts: annevk (n=annevk@pat-tdc.opera.com)
- # [17:07] * Joins: annevk (n=annevk@pat-tdc.opera.com)
- # [17:07] * Quits: jcgregorio (i=chatzill@nat/ibm/x-5627d22487737e30) ("ChatZilla 0.9.78.1 [Firefox 2.0.0.3/0000000000]")
- # [17:14] * Quits: nlogax (n=nlogax@71-219.lerstenen.t3.se) (kornbluth.freenode.net irc.freenode.net)
- # [17:15] * Joins: nlogax (n=nlogax@71-219.lerstenen.t3.se)
- # [17:15] * Joins: Charl (n=Charl@spotter.nmmu.ac.za)
- # [17:16] <annevk> hmm, doctypes
- # [17:30] <jdandrea> annevk: <x foo=bar/> - my knee-jerk reaction is "that's a start tag."
- # [17:30] <jdandrea> (which happens to comprise an empty element)
- # [17:31] <Lachy> it would make the most sense to parse <x foo=bar/> similarly to HTML5, which treats it like <x foo="bar/">
- # [17:32] <Lachy> so it's just a start tag
- # [17:32] <jdandrea> Lachy: Oh! I see the distinction. Subtle. :)
- # [17:32] <jdandrea> It's not even an empty element then.
- # [17:34] * moeffju[Work] is now known as moeffju
- # [17:35] <Philip`> Given how people like writing <x /> in XML, it could be convenient to have <x foo=bar/> === <x foo="bar/"> and then <x foo=bar /> === <x foo="bar"/>
- # [17:35] <Lachy> Philip`, yes
- # [17:36] <Philip`> (so, rather than forcing them to go back and add two quotes when they get it wrong, they only have to go back and add a space if they get it wrong)
- # [17:37] <Lachy> that depends on whether or not omitting quotes is conforming or not
- # [17:37] <Philip`> Does anyone care if that's conforming, as long as it parses correctly? :-)
- # [17:38] <Lachy> yes, it's important to have sensible document conformance requirements, so that conformance checkers can issue errors, that help authors fix documents if the error recovery isn't what they actually intended
- # [17:39] * Quits: met_ (n=Hassman@b14-4.vscht.cz) ("Chemists never die, they just stop reacting.")
- # [17:39] <Lachy> it could be that the author intended <x foo=bar/> to be an empty element, but because quotes were omitted accidentially, it's not
- # [17:40] <jdandrea> So, at the very least, the author should be warned.
- # [17:40] <Lachy> conformance checkers should mostly emit errors instead of warnings
- # [17:41] <jdandrea> In the <x foo=bar/> case, would the checker issue a warning or an error?
- # [17:41] <Lachy> though, warnings are ok for things that are technically conforming, but not advisable, or explicitly requested by the person checking the doc
- # [17:42] <Lachy> an error
- # [17:42] <jdandrea> Ah, because it's non-conforming. Got it.
- # [17:42] * Quits: nlogax (n=nlogax@71-219.lerstenen.t3.se) ("brb")
- # [17:43] * Joins: nlogax (i=nlogax@c-2313e353.04-10-65736b1.cust.bredbandsbolaget.se)
- # [17:45] <Philip`> Hmm, I think I'm missing the reason why rather than having error recovery for non-conforming documents that works almost but not quite properly, which will hurt people in rare cases (like when they add a / to an attribute value), it isn't more convenient to have error recovery that makes it obvious those cases are wrong (e.g. by parsing <x foo=bar> into <x foo="" bar="">) so the author knows their code is likely to break in the future (without them usi
- # [17:45] <Philip`> ...using a conformance checker)
- # [17:47] * Quits: nlogax (i=nlogax@c-2313e353.04-10-65736b1.cust.bredbandsbolaget.se) (Client Quit)
- # [17:47] <Lachy> Philip`, that would be an example of non-fatal error recovery that could significantly break a document
- # [17:49] <Lachy> e.g. consider this XHTML: <div class=content> (div used for layout)</div>, the .content selector would no longer apply with that suggested parsing, and so the layout could break significantly
- # [17:49] * Joins: nlogax (i=nlogax@c-2313e353.04-10-65736b1.cust.bredbandsbolaget.se)
- # [17:51] <Philip`> The lack of "" doesn't seem like an error that's going to creep in without the document author noticing (unlike how unencoded &s and badly-nested tags and broken character encodings can creep in) - maybe they'd write 'print "<x foo=$bar>";' once but then they'd notice when testing (since it's not complex dynamically-generated output) and fix it to 'print "<x foo=\"$bar\">;' and it'll work alright
- # [17:52] <Philip`> Lachy: Is this meant to be somewhat backward compatible with HTML5 documents?
- # [17:52] <Lachy> being somewhat consistent would have the path of least surprise for authors
- # [17:53] <Lachy> s/have/be/
- # [17:54] <Philip`> Ah, okay
- # [17:55] <Philip`> I guess the problem is <x foo="bar/"> would be the least surprising parse for HTML authors, but <x foo="bar"/> would be the least surprising for XML authors, so you have to consider which is more prevalent and which is least good at writing well-formed documents, in which case I guess you should minimise surprise for HTML authors :-)
- # [17:56] <Philip`> *consider which group of authors is ...
- # [18:06] * Quits: ddfreyne (n=ddfreyne@unaffiliated/ddfreyne) ("k lol plz thx bai")
- # [18:10] <jdandrea> Minor nit: In WA 1.0 section 3.9.4 shouldn't the example dt and dd elements have end tags?
- # [18:10] * jdandrea is looking at http://www.whatwg.org/specs/web-apps/current-work/multipage/section-prose.html#dialog
- # [18:12] * Joins: zcorpan (n=zcorpan@84-216-42-62.sprayadsl.telenor.se)
- # [18:13] * Quits: tantek (n=tantek@wsip-24-120-86-254.lv.lv.cox.net)
- # [18:14] <Philip`> http://www.whatwg.org/specs/web-apps/current-work/multipage/section-writing.html#optional says the end tags are optional
- # [18:22] * Joins: tantek (n=tantek@67.136.239.29)
- # [18:25] * zcorpan points to http://forums.whatwg.org/viewtopic.php?t=30
- # [18:29] * Quits: KevinMarks (n=Snak@pdpc/supporter/active/kevinmarks) ("bye")
- # [18:31] <jdandrea> Philip `: Ahh, yes indeed - just when I think I've stumbled upon something. Thx. :)
- # [18:56] * Quits: Charl (n=Charl@spotter.nmmu.ac.za)
- # [19:21] * Joins: met_ (n=Hassman@r5bx220.net.upc.cz)
- # [19:27] * Joins: ROBOd2 (n=robod@86.34.246.154)
- # [19:38] * Joins: KevinMarks (i=KevinMar@nat/google/x-9d6423c90bbbd262)
- # [19:38] * Quits: ROBOd (n=robod@86.34.246.154) (Read error: 110 (Connection timed out))
- # [19:41] * Quits: tantek (n=tantek@67.136.239.29) (Read error: 110 (Connection timed out))
- # [19:43] * Quits: zcorpan (n=zcorpan@84-216-42-62.sprayadsl.telenor.se) (Read error: 110 (Connection timed out))
- # [19:50] * Quits: jruderman (n=jruderma@c-67-169-183-228.hsd1.ca.comcast.net)
- # [19:58] * Joins: Faf (i=htjdjkev@nezmar.netlab.cz)
- # [20:15] * Joins: jruderman (n=jruderma@c-67-169-183-228.hsd1.ca.comcast.net)
- # [20:41] * Joins: dbaron (n=dbaron@corp-242.mountainview.mozilla.com)
- # [20:41] * Joins: tantek (n=tantek@wsip-24-120-86-254.lv.lv.cox.net)
- # [20:46] * Quits: jruderman (n=jruderma@c-67-169-183-228.hsd1.ca.comcast.net)
- # [20:50] * Joins: ajnewbold (n=fax_mach@74-129-102-1.dhcp.insightbb.com)
- # [20:54] * Joins: yod (n=ot@bas11-montreal02-1128531044.dsl.bell.ca)
- # [21:18] * Joins: jruderman (n=jruderma@corp-242.mountainview.mozilla.com)
- # [21:33] * Quits: tantek (n=tantek@wsip-24-120-86-254.lv.lv.cox.net)
- # [21:40] * Quits: mw22 (n=chatzill@h8441169151.dsl.speedlinq.nl) (Read error: 113 (No route to host))
- # [21:46] * Quits: billmason (n=billmaso@ip156.unival.com) (".")
- # [22:19] * Joins: tantek (n=tantek@67.136.239.187)
- # [22:27] * Quits: met_ (n=Hassman@r5bx220.net.upc.cz) ("Chemists never die, they just stop reacting.")
- # [22:31] * Quits: tantek (n=tantek@67.136.239.187)
- # [22:32] * Quits: ROBOd2 (n=robod@86.34.246.154) ("http://www.robodesign.ro")
- # [22:52] * Quits: yod (n=ot@bas11-montreal02-1128531044.dsl.bell.ca) ("Leaving")
- # [22:54] * Quits: jruderman (n=jruderma@corp-242.mountainview.mozilla.com)
- # [23:11] * Quits: nlogax (i=nlogax@c-2313e353.04-10-65736b1.cust.bredbandsbolaget.se) (kornbluth.freenode.net irc.freenode.net)
- # [23:17] * Joins: nlogax (i=nlogax@c-2313e353.04-10-65736b1.cust.bredbandsbolaget.se)
- # [23:20] * Joins: jruderman (n=jruderma@corp-242.mountainview.mozilla.com)
- # [23:27] * Quits: dolphinling (n=chatzill@155.42.85.193) ("pong timeout (going home! woo!)")
- # [23:31] * Quits: KevinMarks (i=KevinMar@nat/google/x-9d6423c90bbbd262) ("The computer fell asleep")
- # [23:59] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # Session Close: Sat May 05 00:00:00 2007
The end :)