Options:
- # Session Start: Sat May 19 00:00:00 2007
- # Session Ident: #whatwg
- # [00:09] <Hixie> if i have an array of elements
- # [00:09] <Hixie> which might contain duplicates
- # [00:09] <Hixie> and i want to go through and do something once to each element in the array
- # [00:10] <Hixie> without actually mutating the elements themselves
- # [00:10] <Hixie> how would i do it?
- # [00:10] * Joins: briansuda (n=briansud@81-5-138-228.dsl.eclipse.net.uk)
- # [00:11] <Dashiva> To each unique element?
- # [00:12] <Dashiva> Personally, I would put each value into a temporary object, so I'd know if I had seen it before
- # [00:13] <Dashiva> hash/dictionary/etc as fits your paradigm
- # [00:15] <othermaciej> yeah what Dashiva said
- # [00:15] <othermaciej> build a hashtable set of elements seen as you traverse the array
- # [00:17] <Hixie> how?
- # [00:17] * Joins: Toolskyn88 (n=Toolskyn@adsl-dc-266ef.adsl.wanadoo.nl)
- # [00:18] <Hixie> (this is in JS with DOM elements)
- # [00:22] <othermaciej> you're screwed then
- # [00:22] <othermaciej> there's no efficient way to do it without modifying the elements in some way
- # [00:22] <othermaciej> JS doesn't have a way to hash on anything but string keys
- # [00:23] <Dashiva> This is where someone points out IE's uniqueID
- # [00:23] <Hixie> so i guess we should introduce IE's "uniqueID" then
- # [00:23] <Hixie> yeah
- # [00:23] <Dashiva> ... that was somewhat disturbing timing
- # [00:24] <othermaciej> what is IE's uniqueID?
- # [00:24] <Hixie> this came up cos dean was asking for uniqueID
- # [00:24] <Hixie> http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/uniqueid.asp
- # [00:24] <Dashiva> It's a unique ID for any given element
- # [00:25] * Quits: Toolskyn (n=Toolskyn@adsl-dc-266ef.adsl.wanadoo.nl) (Read error: 60 (Operation timed out))
- # [00:26] <othermaciej> that's kind of useful, yeah
- # [00:26] <Dashiva> Since it's not guaranteed to be stable, there should (uhuh) be no need to match IE's algorithm for creating either
- # [00:26] <othermaciej> you have to make sure the unique ID doesn't reveal any pointer values
- # [00:26] * Joins: psa (n=yomode@posom.com)
- # [00:27] <othermaciej> or it makes security exploits easier
- # [00:27] <Dashiva> Could just make it a counter
- # [00:27] <othermaciej> that is possible, though sloppy (not sure how feasible it is to cycle through enough elements to overflow a counter)
- # [00:27] <othermaciej> what would be better is for JS to have data structures that can be keyed by object identity
- # [00:28] <othermaciej> instead of just by string value
- # [00:28] <Philip`> Why is it alright to have a uniqueID that magically creates numbers and stores them in the object, but not alright for JS to modify the object itself?
- # [00:29] <Dashiva> The uniqueID is idempotent?
- # [00:30] <othermaciej> I don't understand their example
- # [00:30] <Hixie> what? you don't understand an msdn example? surely not.
- # [00:30] <Hixie> there are several security issues with uniqueID, as othermaciej points out
- # [00:31] <Hixie> can't be directly from the pointer. can't be a global counter (since you'll reveal what the user's activity in other windows is like)
- # [00:31] <Dashiva> Isn't uniqueID specific to each browsing context?
- # [00:32] <Hixie> could be, but then what if you adopt a node to another document?
- # [00:32] <othermaciej> it has to be a one-way hash of the pointer basically
- # [00:33] <othermaciej> or generate them on the fly, store a pointer in the element, and use a global hashtable to avoid duplicates
- # [00:33] <Hixie> the latter is expensive
- # [00:33] <othermaciej> it's really just making up for a deficiency in the JavaScript language
- # [00:33] <Hixie> around 4 bytes per element globally
- # [00:34] <Philip`> You could encrypt the pointer with some secret key, and then it'll never have collisions (assuming the output size is the same as the pointer size)
- # [00:34] <Hixie> yeah
- # [00:34] <Hixie> (@othermaciej)
- # [00:34] <othermaciej> but if it is a single secret key then it will be reverse engineered eventually
- # [00:34] <othermaciej> I don't think a hash can be both one-to-one and irreversible
- # [00:34] <Philip`> The key can be randomly generated each time you start the browser
- # [00:35] <othermaciej> that could work
- # [00:35] <othermaciej> but anyway if JS had a data structure keyed on object identity that would be a much better solution overall
- # [00:36] <othermaciej> this sort of thing comes up all the time, and not always just for DOM elements
- # [00:36] <othermaciej> I should propose such a thing for ES4 if they do not have one already
- # [00:36] <othermaciej> OK, I keep staring and I still can't figure out what this is about: window.setTimeout(uniqueID+".tick()", delay);
- # [00:36] <othermaciej> why would you call the custom method on a string?
- # [00:37] <othermaciej> or does the uniqueID get magically bound in some namespace?
- # [00:37] * othermaciej 's brain hurts
- # [00:37] * Dashiva thinks so
- # [00:37] <othermaciej> I should stop thinking about it
- # [00:37] <Dashiva> This is IE, they like global namespace flooding
- # [00:37] <Hixie> the first argument to setTimeout is a string to evaluate
- # [00:37] * Toolskyn88 is now known as Toolskyn
- # [00:37] <Hixie> in IE, IDs are in the global namespace
- # [00:39] <othermaciej> the uniqueIDs? or element ID attributes?
- # [00:39] <othermaciej> or both?
- # [00:43] <Philip`> When you access uniqueID, it appears to create an object in window with that name (window.ms__id15 etc) pointing to the object you got the uniqueID from
- # [00:43] <Hixie> both
- # [00:45] <Philip`> Oh, it also has document.getElementById(x) === document.getElementById(x.uniqueID)
- # [00:45] <Philip`> Uh
- # [00:45] <Philip`> document.getElementById(x.id) === document.getElementById(x.uniqueID)
- # [00:56] * Quits: dev0_ (i=Tobias@unaffiliated/icefox0) ("dev0_ has no reason")
- # [00:56] * Quits: kingryan (n=kingryan@corp.technorati.com)
- # [01:10] * Quits: othermaciej (i=mjs@nat/apple/x-ad1d8aa0c3b761c8) (Read error: 110 (Connection timed out))
- # [01:13] * Quits: billmason (n=billmaso@ip156.unival.com) (".")
- # [01:15] * Joins: zcorpan_ (n=zcorpan@84-216-40-109.sprayadsl.telenor.se)
- # [01:16] * Quits: mpt (n=mpt@canonical/launchpad/mpt) ("This computer has gone to sleep")
- # [01:20] * Quits: KevinMarks (i=KevinMar@pdpc/supporter/active/kevinmarks) ("The computer fell asleep")
- # [01:27] * Quits: briansuda (n=briansud@81-5-138-228.dsl.eclipse.net.uk)
- # [01:31] * Joins: mw22 (n=chatzill@h8441169151.dsl.speedlinq.nl)
- # [01:45] * Joins: jruderman_ (n=jruderma@corp-242.mountainview.mozilla.com)
- # [01:45] * Quits: dbaron (n=dbaron@corp-242.mountainview.mozilla.com) (Excess Flood)
- # [01:45] * Quits: jruderman (n=jruderma@corp-242.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
- # [01:45] * Joins: dbaron (n=dbaron@corp-242.mountainview.mozilla.com)
- # [01:46] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [02:10] * Joins: jcgregorio (n=chatzill@adsl-072-148-043-048.sip.rmo.bellsouth.net)
- # [02:19] * Joins: wakaba_ (n=w@118.166.210.220.dy.bbexcite.jp)
- # [02:19] <Philip`> http://canvex.lazyilluminati.com/tests/tests/results.html - now hopefully updated to match the spec again (though not checked very carefully so there may be bugs), plus WebKit data
- # [02:20] <Philip`> (which was quite painful to collect - I need a much better way of gathering results when the browser doesn't provide getImageData to do it automatically...)
- # [02:21] * Quits: Toolskyn (n=Toolskyn@adsl-dc-266ef.adsl.wanadoo.nl) (Read error: 110 (Connection timed out))
- # [02:22] <zcorpan_> Philip`: wow, nice work
- # [02:23] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [02:23] <Hixie> Philip`: that's why you want tests that you can determine the pass/fail result for in 200ms or less
- # [02:23] <Hixie> Philip`: that way collecting results is just a matter of having a page load every test in a row, with you hitting "y" or "n" for each one
- # [02:24] <Philip`> Hixie: Determining the results is easy - the problem is I've currently just got little checkboxes for each one, and clicking all those is annoying when a computer should be able to do the job much faster :-)
- # [02:25] <Philip`> although actually the biggest problem was that after the first 180 or so, Safari stopped responding to any interaction with the form, so I had to select the rest of the checkboxes via javascript: in the address bar
- # [02:25] * Quits: dbaron (n=dbaron@corp-242.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [02:27] <Hixie> heh
- # [02:27] * Hixie thinks it takes more than 200ms to determine if those tests have passed or not, though
- # [02:27] <Hixie> e.g. http://canvex.lazyilluminati.com/tests/tests/initial.reset.security.html
- # [02:28] <Hixie> it has loads of text
- # [02:28] <Philip`> Oh, those ones are easy because it does it automatically and colours the background
- # [02:28] <Philip`> so the text can just be ignored
- # [02:28] <Hixie> yeah but you have to know that
- # [02:28] <Hixie> QA people go through tens of thousands of tests, they can't know them all :-)
- # [02:29] <Philip`> For the ones where the outcome can be determined automatically, the QA people shouldn't even see them since it's not a good use of their time
- # [02:29] <Philip`> ...but that means I need a better way of reporting the results and asking for human confirmation when necessary
- # [02:33] * Quits: psa (n=yomode@posom.com) (Remote closed the connection)
- # [02:37] * Joins: psa (n=yomode@69.55.228.220)
- # [02:37] * Quits: psa (n=yomode@69.55.228.220) (Remote closed the connection)
- # [02:38] * Joins: psa (n=yomode@69.55.224.49)
- # [02:38] * Quits: wakaba (n=w@118.166.210.220.dy.bbexcite.jp) (Read error: 110 (Connection timed out))
- # [02:38] * Quits: tantek_ (n=tantek@corp.technorati.com)
- # [02:41] * Joins: tantek (n=tantek@corp.technorati.com)
- # [02:49] * zcorpan_ would love to have elastomania implemented in <canvas>
- # [02:51] * Quits: tantek (n=tantek@corp.technorati.com)
- # [02:52] <Philip`> http://canvex.lazyilluminati.com/tests/tests/minimal.initial.reset.security.html - is that version bare enough now? :-)
- # [02:52] <Hixie> still has three links :-)
- # [02:53] <Hixie> see http://www.w3.org/Style/CSS/Test/guidelines.html
- # [02:53] <Hixie> though ignore the filename crap
- # [02:54] <Philip`> (http://canvex.lazyilluminati.com/tests/tests/minimal.toDataURL.complexcolours.html when it can't determine the result by itself)
- # [02:54] <Hixie> those are a bit complex
- # [02:54] <Hixie> the general colour scheme that test cases use is described somewhere, too, hold on
- # [02:55] <Hixie> oh it's in that same file http://www.w3.org/Style/CSS/Test/guidelines.html#color
- # [02:55] <Hixie> you never want to use a green colour when it's not a pass
- # [02:55] <Hixie> never red when it's not a fail
- # [02:55] <Hixie> (red trumps green if both are there)
- # [02:55] <Hixie> you want blue when the tester has to look closer
- # [02:55] <Hixie> navy, specifically
- # [02:56] <Hixie> also, the colours should geenerally be #008000 #ff0000 #00ff00 and #000080
- # [02:56] <Hixie> many qa people in browser dev are basically hardwired to act to those colours now
- # [02:56] <Philip`> It's sometimes hard to be specific about colours when the test is intentionally trying to test multiple colours, though
- # [02:56] <Hixie> even something slightly outside that range causes them untold amount of time confused :-)
- # [02:56] <Hixie> yeah
- # [02:56] <Hixie> there are tests where that doesn't apply
- # [02:57] <Hixie> but they're rare
- # [02:57] <Hixie> see e.g. http://www.hixie.ch/tests/adhoc/html/canvas/
- # [02:57] <Hixie> anyway gotta go
- # [02:57] <Hixie> ttyl
- # [03:09] * Joins: h3h (n=w3rd@cpe-66-75-149-197.san.res.rr.com)
- # [03:17] * Quits: bzed (n=bzed@dslb-084-059-107-234.pools.arcor-ip.net) ("Leaving")
- # [03:27] <Philip`> http://canvex.lazyilluminati.com/tests/tests/minimal.toDataURL.complexcolours.html - now bluer than ever before
- # [03:28] <Philip`> Still not entirely trivial; but when using a sensible browsers there's only 5 out of 201 cases where you should even have to look at it
- # [03:28] <Philip`> s/browsers/browser/
- # [03:29] * Quits: h3h (n=w3rd@cpe-66-75-149-197.san.res.rr.com)
- # [03:30] * Quits: mpt (n=mpt@canonical/launchpad/mpt) ("This computer has gone to sleep")
- # [03:32] * Quits: jruderman_ (n=jruderma@corp-242.mountainview.mozilla.com)
- # [03:39] * Joins: jruderman (n=jruderma@guest-230.mountainview.mozilla.com)
- # [03:40] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [03:50] * Quits: jruderman (n=jruderma@guest-230.mountainview.mozilla.com)
- # [03:51] * moeffju is now known as moeffju[ZzZz]
- # [04:30] * Joins: h3h (n=w3rd@cpe-66-75-149-197.san.res.rr.com)
- # [04:37] * Joins: a-ja (n=chatzill@adsl-70-237-141-154.dsl.stlsmo.sbcglobal.net)
- # [04:37] * Quits: zcorpan_ (n=zcorpan@84-216-40-109.sprayadsl.telenor.se) (Read error: 110 (Connection timed out))
- # [04:42] <a-ja> Hixie, et al: question about 3.8.11.3. Distinguishing site-wide headers from page headers....when referencing one/only/single subsection...should that read/mean *child* subsection instead?
- # [04:44] <a-ja> i.e. one/only/single child subsection rather than just one/only/single subsection
- # [04:46] * Joins: njdavid (n=njdavid@64.192.48.232)
- # [04:47] * Parts: njdavid (n=njdavid@64.192.48.232)
- # [05:14] * Quits: hsivonen (n=hsivonen@kekkonen.cs.hut.fi) (heinlein.freenode.net irc.freenode.net)
- # [05:14] * Quits: madmoose (i=madmoose@gateway/web/cgi-irc/beitsahour.net/x-a6a69e0cd54b3b1a) (heinlein.freenode.net irc.freenode.net)
- # [05:14] * Quits: Hixie (n=ianh@trivini.no) (heinlein.freenode.net irc.freenode.net)
- # [05:14] * Joins: madmoose (i=madmoose@gateway/web/cgi-irc/beitsahour.net/x-972fb0099de7a083)
- # [05:14] * Joins: Hixie (n=ianh@trivini.no)
- # [05:14] * Joins: hsivonen (n=hsivonen@kekkonen.cs.hut.fi)
- # [05:18] * Quits: Dashiva (i=Dashiva@v035b.studby.ntnu.no) (heinlein.freenode.net irc.freenode.net)
- # [05:18] * Quits: Yudai (n=Yudai@p931d95.tokyte00.ap.so-net.ne.jp) (heinlein.freenode.net irc.freenode.net)
- # [05:18] * Joins: Yudai (n=Yudai@p931d95.tokyte00.ap.so-net.ne.jp)
- # [05:19] * Joins: Dashiva (i=Dashiva@v035b.studby.ntnu.no)
- # [05:33] * Quits: aroben (n=adamrobe@17.203.15.208)
- # [05:34] * Joins: jruderman (n=jruderma@c-67-169-183-228.hsd1.ca.comcast.net)
- # [05:36] * Quits: weinigLap (n=weinig@17.203.15.217)
- # [05:57] * Joins: weinigLap (n=weinig@c-67-170-238-241.hsd1.ca.comcast.net)
- # [06:27] * Quits: jdandrea_ (n=jdandrea@ool-44c0a58f.dyn.optonline.net)
- # [06:51] * Quits: jcgregorio (n=chatzill@adsl-072-148-043-048.sip.rmo.bellsouth.net) ("ChatZilla 0.9.78.1 [Firefox 2.0.0.3/0000000000]")
- # [07:06] * Quits: h3h (n=w3rd@cpe-66-75-149-197.san.res.rr.com)
- # [07:22] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [07:44] * Joins: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net)
- # [08:08] * Joins: KevinMarks (n=Snak@h-68-164-93-9.snvacaid.dynamic.covad.net)
- # [08:16] * Joins: hendry (n=hendry@91.84.62.62)
- # [08:26] * Joins: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [08:26] * Quits: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net) (Remote closed the connection)
- # [08:36] * Quits: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [09:04] * Quits: a-ja (n=chatzill@adsl-70-237-141-154.dsl.stlsmo.sbcglobal.net) ("Chatzilla 0.9.73-rdmsoft [XULRunner 1.9a1/2006042715]")
- # [09:07] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [09:16] * Joins: zcorpan_ (n=zcorpan@84-216-42-108.sprayadsl.telenor.se)
- # [09:16] * Joins: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [09:16] * Quits: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net) (Remote closed the connection)
- # [09:17] * Joins: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [09:56] * Joins: njdavi1 (n=njdavid@64.192.48.232)
- # [09:57] * Parts: njdavi1 (n=njdavid@64.192.48.232)
- # [09:57] * Joins: ROBOd (n=robod@86.34.246.154)
- # [09:58] * Quits: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [10:03] * Joins: Toolskyn (n=Toolskyn@adsl-dc-266ef.adsl.wanadoo.nl)
- # [10:03] * Quits: ROBOd (n=robod@86.34.246.154) ("http://www.robodesign.ro")
- # [10:06] * Joins: h3h (n=w3rd@66.75.144.49)
- # [10:20] * Joins: h3h_ (n=w3rd@66.75.149.197)
- # [10:31] * Quits: h3h (n=w3rd@66.75.144.49) (Nick collision from services.)
- # [10:31] * h3h_ is now known as h3h
- # [10:33] * Quits: h3h (n=w3rd@66.75.149.197)
- # [10:52] * Joins: ddfreyne (n=ddfreyne@d51A5CE12.access.telenet.be)
- # [10:58] * Joins: dev0 (i=Tobias@unaffiliated/icefox0)
- # [11:21] * Joins: annevk (n=annevk@pat-tdc.opera.com)
- # [11:51] * Joins: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [11:52] * Quits: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net) (Client Quit)
- # [11:56] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [11:58] * Joins: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [12:05] * Quits: hendry (n=hendry@91.84.62.62) (Read error: 104 (Connection reset by peer))
- # [12:08] * Joins: ROBOd (n=robod@86.34.246.154)
- # [12:11] * Joins: hendry (n=hendry@91.84.62.62)
- # [12:15] * Quits: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com) (Remote closed the connection)
- # [12:15] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [12:33] * Joins: maikmerten (n=maikmert@L8495.l.pppool.de)
- # [12:40] * Quits: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [12:57] * Joins: jdandrea (n=jdandrea@ool-44c0a58f.dyn.optonline.net)
- # [13:05] * Quits: hendry (n=hendry@91.84.62.62) ("ciao")
- # [13:24] * Joins: yod (n=ot@softbank221018155222.bbtec.net)
- # [13:28] * Quits: KevinMarks (n=Snak@pdpc/supporter/active/kevinmarks) ("The computer fell asleep")
- # [13:55] * moeffju[ZzZz] is now known as moeffju
- # [14:01] * Quits: ddfreyne (n=ddfreyne@unaffiliated/ddfreyne) ("k lol plz thx bai")
- # [14:06] <annevk> Does http://waffle.wootest.net/2007/05/16/ruby-the-same-token/ imply we now have a tokenizer in C?
- # [14:12] <Philip`> That seems to be only talking about Objective-C, which isn't the same
- # [14:15] <annevk> Oh, ok
- # [14:22] * annevk updates HTML5 presentations
- # [14:24] <krijnh> annevk: you're going to talk about HTML5 at Info.nl right?
- # [14:24] <annevk> heh, how do you know? :)
- # [14:25] <krijnh> annevk: I told them to ;p
- # [14:25] <krijnh> Well, no, I used your presentation markup to present my CMS
- # [14:26] <krijnh> And told Tom about your presentation
- # [14:26] <annevk> ah ok
- # [14:26] <annevk> :)
- # [14:26] <krijnh> He was very interested
- # [14:26] <krijnh> Also, you charge too little ;)
- # [14:27] <annevk> Oh, I don't care about money
- # [14:27] <krijnh> Hehe
- # [14:27] <krijnh> Just kidding
- # [14:27] <annevk> I figured as much though :)
- # [14:28] <krijnh> June 1 around 13h right?
- # [14:28] <annevk> (Although I guess the reason I don't care about it is that I have enough.)
- # [14:28] <annevk> Yeah
- # [14:28] <krijnh> I'll try to be there then as well
- # [14:28] <annevk> Oh, you work for them now?
- # [14:28] <krijnh> Freelance, yes
- # [14:29] <krijnh> 3 days a week or something
- # [14:29] <annevk> So we get to meet after all :p
- # [14:29] <krijnh> Yay!
- # [14:29] <krijnh> ;]
- # [14:29] <krijnh> That was my only reason for bringing it up, hehe
- # [14:30] <krijnh> Nah
- # [14:45] <annevk> Oh I see, it's a superset of C
- # [14:46] <annevk> it looks quite different though...
- # [14:53] * jdandrea observes he can't generate conforming HTML 5 using XSLT 1.0. The meta content-type is automagically generated when the head element is encountered while using the html output method!
- # [14:53] <jdandrea> Workaround: Use XSLT 2.0 (not yet a recommendation) and set include-content-type to no, or hardcode the head element/attributes (also bleah). Ahh well ...
- # [14:53] <jdandrea> Other ideas?
- # [14:54] <krijnh> And the meta content-type isn't allowed?
- # [14:54] <Philip`> XSLT5?
- # [14:54] <jdandrea> XSLT5! Now there's an idea.
- # [14:54] <jdandrea> Should use something akin to <meta charset="UTF-8">
- # [14:54] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [14:54] <jdandrea> But XSLT 1.0 will output <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- # [14:55] <jdandrea> XSLT 2.0 lets you suppress that.
- # [14:55] <krijnh> That's non conforming?
- # [14:55] <annevk> There has to be an option to suppress that
- # [14:55] <jdandrea> I believe so. (I could be wrong?)
- # [14:55] <annevk> Yeah, it's non-conforming
- # [14:55] <jdandrea> annevk: There is, in XSLT 2.0.
- # [14:55] <annevk> Hah, XSLT 2...
- # [14:55] <jdandrea> hehe
- # [14:56] <jdandrea> Noting it here: http://code.google.com/p/gsa-xhtml-stylesheet/issues/detail?id=30&can=2&q=#c3
- # [14:56] * annevk hopes browsers won't have to implement that
- # [14:56] <jdandrea> I always thought that was messy (in XSLT 1.0). Now I know why!
- # [14:56] <annevk> Maybe you should output "XML compatible" HTML5
- # [14:57] * annevk wonders how <!DOCTYPE html> is inserted
- # [14:57] <jdandrea> Meaning output-method set to xml? Can do.
- # [14:57] <jdandrea> In XSLT 2.0, yes, good question. In 1.0, you can't have multiple outputs, so I have a template that handles it (hardcoded, again - alas).
- # [14:57] <jdandrea> Ref: http://code.google.com/p/gsa-xhtml-stylesheet/
- # [14:58] <jdandrea> The new version is atoning somewhat (HTML 4.01 Strict, (X)HTML 5, etc.) ;)
- # [14:58] <annevk> Maybe Python is more suitable than all this XML fancyness :)
- # [14:58] <jdandrea> Maybe.
- # [14:59] <jdandrea> This project is intended as a drop-in replacement for the default XSLT on the Google Search Appliance.
- # [14:59] <jdandrea> Otherwise, yes, python has some good possibilities here.
- # [15:00] <jdandrea> Two more errors to squash and I've got (X)HTML 5 conformance. Yay.
- # [15:00] * jdandrea notes that's before considering new HTML 5 elements.
- # [15:01] * annevk goes t fetch some food and have lunch
- # [15:01] * jdandrea gets ready to head out for the day, waves
- # [15:03] <jdandrea> annevk: Ahh, XML compatible HTML5 - of course! I just groked that. That would probably work nicely.
- # [15:03] * Quits: Lachy (n=Lachlan@210-84-58-18.dyn.iinet.net.au) (Read error: 110 (Connection timed out))
- # [15:33] <Philip`> (http://canvex.lazyilluminati.com/tests/tests/results.html - added data for old Firefoxes - it's slowly getting better)
- # [15:37] * Quits: jdandrea (n=jdandrea@ool-44c0a58f.dyn.optonline.net)
- # [15:40] * Joins: Lachy (n=Lachlan@210-84-58-18.dyn.iinet.net.au)
- # [16:15] * Joins: KevinMarks (n=Snak@h-68-164-93-9.snvacaid.dynamic.covad.net)
- # [16:37] * zcorpan_ wonders why old firefoxes would be interesting
- # [16:42] <Philip`> It's useful if you're trying to write content that's compatible with the old browsers people still use, and want to know which features and bugs they have
- # [16:44] <zcorpan_> ah
- # [16:44] <zcorpan_> ok
- # [16:44] <zcorpan_> i thought it was more aimed at implementors
- # [16:45] <Philip`> It probably is, but if it's easy to get the results then one might as well aim partly at other groups too :-)
- # [18:01] <annevk> http://me.mywebsight.ws/2007/05/15/xhtml-2-and-html-5-who-will-win/ is funny
- # [18:04] <Dashiva> "If (X)HTML 5 is about not being too hard for authors who are too lazy to use XHTML 2, then the English language is about not being too hard for authors who are too lazy to use Esperanto."
- # [18:15] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:17] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:18] * Quits: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com) ("Don't touch /dev/null…")
- # [18:20] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:21] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:33] * Joins: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net)
- # [18:34] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:34] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:35] * Joins: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com)
- # [18:38] * Quits: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com) (Remote closed the connection)
- # [18:39] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:39] * Quits: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com) (Read error: 104 (Connection reset by peer))
- # [18:41] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:41] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [18:49] * Joins: h3h (n=w3rd@cpe-66-75-149-197.san.res.rr.com)
- # [18:49] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
- # [19:16] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [19:18] * Joins: ddfreyne (n=ddfreyne@d51A5CE12.access.telenet.be)
- # [19:19] * Quits: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com)
- # [19:25] * Quits: weinigLap (n=weinig@c-67-170-238-241.hsd1.ca.comcast.net)
- # [19:29] * Joins: weinigLap (n=weinig@c-67-170-238-241.hsd1.ca.comcast.net)
- # [19:31] * Quits: h3h (n=w3rd@cpe-66-75-149-197.san.res.rr.com)
- # [19:36] * Joins: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com)
- # [19:39] * Quits: weinigLap (n=weinig@c-67-170-238-241.hsd1.ca.comcast.net)
- # [19:56] * Joins: Welly (n=Welly@62-31-160-20.cable.ubr11.azte.blueyonder.co.uk)
- # [20:00] * Joins: h3h (n=w3rd@cpe-72-130-185-24.san.res.rr.com)
- # [20:04] <annevk> Is the Ruby html5lib simply converted Python code?
- # [20:04] <annevk> It very much looks that way...
- # [20:07] <Philip`> Yes, hence problems like http://code.google.com/p/html5lib/issues/detail?id=39 where the straightforward Python->Ruby translation doesn't quite work
- # [20:10] <annevk> Who's twoggle?
- # [20:10] * Joins: weinigLap (n=weinig@17.203.15.217)
- # [20:12] <Philip`> Tim Fletcher, it seems
- # [20:14] <Philip`> (as in http://text.rubyforge.org/files/lib/text/figlet_rb.html and suchlike)
- # [20:17] <annevk> Ah, http://intertwingly.net/blog/2007/05/19/Ruby-HTML5-Parser-Tests-Pass says that too
- # [20:30] * Quits: weinigLap (n=weinig@17.203.15.217)
- # [20:34] * Joins: njdavi3 (n=njdavid@64.192.48.232)
- # [20:35] * njdavi3 is now known as njdavi1
- # [20:35] * njdavi1 is now known as njdavid
- # [20:41] * Parts: njdavid (n=njdavid@64.192.48.232)
- # [20:48] * Quits: mw22 (n=chatzill@h8441169151.dsl.speedlinq.nl) ("Chatzilla 0.9.75-rdmsoft [XULRunner 1.8.0.4/2006060814]")
- # [20:54] * Quits: ROBOd (n=robod@86.34.246.154) (Remote closed the connection)
- # [21:04] * Joins: ROBOd (n=robod@86.34.246.154)
- # [21:23] * Quits: maikmerten (n=maikmert@L8495.l.pppool.de) ("Leaving")
- # [21:27] * Quits: h3h (n=w3rd@cpe-72-130-185-24.san.res.rr.com)
- # [21:36] * Joins: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [21:48] * Joins: hendry (n=hendry@91.84.53.136)
- # [21:56] * Joins: njdavid (n=njdavid@64.192.48.232)
- # [21:56] * Parts: njdavid (n=njdavid@64.192.48.232)
- # [22:13] * Quits: ROBOd (n=robod@86.34.246.154) ("http://www.robodesign.ro")
- # [22:24] * Quits: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net) (Remote closed the connection)
- # [22:25] * Joins: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [22:59] * moeffju is now known as moeffju[Away]
- # [23:03] * Quits: dbaron (n=dbaron@c-71-198-189-81.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [23:21] <Hixie> http://forum.mootools.net/viewtopic.php?pid=15695#15695
- # [23:23] <jruderman> "are we really in 2nd Browser-War? is it really between XHTML 2.0 and HTML 5?"
- # [23:25] <Hixie> it gets better
- # [23:25] <Hixie> he talks about reading the minutes... of a 2004 meeting
- # [23:42] * Quits: ddfreyne (n=ddfreyne@unaffiliated/ddfreyne) ("k lol plz thx bai")
- # Session Close: Sun May 20 00:00:00 2007
The end :)