Options:
- # Session Start: Mon Aug 04 00:00:00 2008
- # Session Ident: #whatwg
- # [00:05] <Lachy> still reading that, but it doesn't appear to be a major problem editing namespaces in places where prefixes really are effectively meaningless, such as within the DOM. But the big problems occur when you want to serialise it, where the prefixes suddenly become meaningful and there are conflicts
- # [00:05] * Quits: heycam (n=cam@124-168-12-194.dyn.iinet.net.au) ("bye")
- # [00:05] * Parts: hasather_ (n=hasather@cm-84.215.63.253.getinternet.no)
- # [00:08] <Lachy> some of the problems could possibly have been mitigated if prefixes had to be declared document-wide, and had to be unique
- # [00:13] <Dashiva> Wouldn't that ruin the whole "put some xml inside some other xml" thing?
- # [00:17] <Lachy> how so?
- # [00:18] <Lachy> you could still declare multiple namespaces, but it would prevent silly things like this <x:foo xmlns:x="a"><x:bar xmlns:x="b"/></x:foo>
- # [00:18] <Dashiva> Like if you're doing a feed, you'd have to extract all the namespaces used, and solve potential conflicts
- # [00:18] <Lachy> yes, you would have to ensure there are no conflicts
- # [00:18] * Quits: roc (n=roc@202.0.36.64)
- # [00:19] <Lachy> but you get other problems, as outlined in that blog entry, when conflicts arise
- # [00:19] <jgraham> Hixie: Why would you want to put the caption / credit /etc. in @title rather than in a user-visible form using @figure
- # [00:19] <Dashiva> And while you could say it's not a supported feature, automatic renaming for conflicts would break things relying on the prefix
- # [00:20] <jgraham> In practice, i think that Philip`'s objection about tooltips is stronger, although given the IE behaviour with alt, not so much stronger
- # [00:20] <Lachy> even with namespaces as they are today, nothing should really ever rely on the prefix
- # [00:20] <Dashiva> Yeah, but that's very violated should
- # [00:21] <Philip`> jgraham: Because having a user-visibly-by-default caption/credit/etc is really ugly in cases like http://diveintomark.org/archives/2007/03/05/cc-dogs
- # [00:21] <Philip`> s/visibly/visible/
- # [00:22] <jgraham> Hixie: I think the fact that there is an <img> tag allows the UA to indicate that there is an image. Once you know that there is an image and there isn't any textual alternative the title seems like it will provide the mst information about what you are missing out on
- # [00:22] <Dashiva> Lachy: Certain feed readers only working with no prefix or atom: to mention one ;)
- # [00:23] * Joins: roc (n=roc@202.0.36.64)
- # [00:24] <jgraham> Philip`: The caption/credit on that page /is/ user visible. Even if you wanted to hide it @title wouldn't help, something like <details> would.
- # [00:25] <jgraham> (the fact that @title is used to indicate what happens when you click the image rather than to give a title is a bit sad but I'm pretty convinced that a screenreader user could work out what was going on on that page without any alt text)
- # [00:26] <Philip`> jgraham: It is visible, and hence it is really ugly, and so it'd be nicer if it wasn't visible
- # [00:27] <Philip`> and @title would help if it was split into lots of <img>s, or used an image map or whatever
- # [00:27] <jgraham> Philip`: I think it's a really poor example of where title might help :)
- # [00:55] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [01:02] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [01:52] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [02:03] * Quits: psa (n=yomode@71.93.19.66) (Read error: 110 (Connection timed out))
- # [02:14] * Joins: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [02:39] * Quits: webben (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [02:59] <Philip`> takkaria: Why shouldn't <h a='©'> get turned into U+00A9?
- # [03:01] <takkaria> Y is U+0059
- # [03:01] <takkaria> "If the character reference is being consumed as part of an attribute, and the last character matched is not a U+003B SEMICOLON (;), and the next character is in the range ... U+0041 LATIN CAPITAL LETTER A to U+005A LATIN CAPITAL LETTER Z, .... then, for historical reasons, all the characters that were matched after the U+0026 AMPERSAND (&) must be unconsumed, and nothing is returned."
- # [03:02] <Philip`> It matches © and then the last character is Y which is not ;, and the next character is ' which is not in those ranges so it doesn't get unconsumed
- # [03:03] <takkaria> ah, I've gone and misread the spec, haven't I?
- # [03:03] <takkaria> there's a good reason people go to bed before 2am, I see
- # [03:03] <Philip`> It's still before 2am now :-)
- # [03:04] * Joins: weinig (n=weinig@h-67-103-39-122.snfccasy.dynamic.covad.net)
- # [03:04] <Philip`> There are good reasons to not go to bed before 2am too, such as having to write several hundred words before a deadline tomorrow
- # [03:06] * Joins: csarven- (n=csarven@modemcable144.140-202-24.mc.videotron.ca)
- # [03:07] * Quits: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca) (Nick collision from services.)
- # [03:07] * csarven- is now known as csarven
- # [03:08] <takkaria> yeah, agreed, but I think my habit of coding well into the night is not helpful in terms of the number of mistakes I make. :)
- # [03:11] <Philip`> You'll have to compute the tradeoff between increased productivity due to spend more time working on it, and decreased productivity due to having more bugs
- # [03:20] <takkaria> I find I get more done in the night but it's of lower quality
- # [03:20] <takkaria> during the day I take more care over details
- # [03:22] <Philip`> If you only worry about details then you'll never get any of the big stuff done at all
- # [03:22] <takkaria> yeah, and for this reason I tend to prefer coding at night
- # [03:22] <jcranmer> quality, quantity, and time of day have no correlation for me
- # [03:23] <Philip`> The internet didn't become popular by being very carefully coded and engineered in every detail
- # [03:23] <jcranmer> the key correlation appears to be between quality and quantity as dependent variables on the independent variable of "time since I started work on this"
- # [03:23] <Philip`> so clearly you should just hack everything together as quickly as possible :-)
- # [03:24] <jcranmer> where quantity and quality start high at t = 0, quality starts to dip, followed by quantity some time later, followed by both going to 0
- # [03:24] <jcranmer> followed by a meteoric rise in quality and then a similar rise in quantity, with both forming a not-quite-in-phase cyclical graph
- # [03:25] <jcranmer> Quantity = max(A * cos (B * x) + C, 0)
- # [03:25] <jcranmer> Quality = max(A * cox (B * x + D) + C, 0)
- # [03:26] * Quits: weinig (n=weinig@h-67-103-39-122.snfccasy.dynamic.covad.net) (Read error: 104 (Connection reset by peer))
- # [03:26] <jcranmer> s/(?<\w)x/t/
- # [03:26] <takkaria> interesting
- # [03:26] * Joins: weinig (n=weinig@h-67-103-39-122.snfccasy.dynamic.covad.net)
- # [03:27] <jcranmer> s/A/A(t)/, where A(t) is a function which smooths out the peaks somewhat
- # [03:27] <jcranmer> and B(t) is a function which induces non-constant recurrences between peaks and troughs
- # [03:27] <jcranmer> and C = 0
- # [03:28] <takkaria> :)
- # [03:28] <Philip`> So you're basically saying that quantity and quality are defined by the undefined arbitrary functions A and B? :-)
- # [03:28] <jcranmer> A and B as constants are rough approximations
- # [03:30] <jcranmer> just like elementary physics problems use the approximation sin(x) = x for small values of x to simplify a differential equation to a linear one
- # [03:32] <Philip`> What frame of reference are you measuring t in? If you travelled in a relativistic spaceship, would you be any more productive?
- # [03:33] <jcranmer> Philip`: my frame of reference
- # [03:33] <jcranmer> or, should I say, the frame of my internal clock
- # [03:34] <Philip`> What would happen if you surgically extracted your internal clock and put it on the spaceship?
- # [03:34] <jcranmer> which experiences relativistic effects just from flying in an airplane :-)
- # [03:34] <jcranmer> (although neither General nor Special Relativity, but Joshua Relativity)
- # [03:37] <Hixie> jgraham: there are many cases where you want the image to just not be mentioned
- # [03:37] <Hixie> jgraham: and just replaced with its alternative text
- # [03:41] * Joins: jacobolus (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net)
- # [03:44] * Quits: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [03:54] * Quits: jacobolus1 (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net) (Read error: 110 (Connection timed out))
- # [03:56] * Quits: weinig (n=weinig@h-67-103-39-122.snfccasy.dynamic.covad.net) (Read error: 104 (Connection reset by peer))
- # [03:57] * Joins: weinig (n=weinig@h-67-103-39-122.snfccasy.dynamic.covad.net)
- # [04:05] * Quits: weinig (n=weinig@h-67-103-39-122.snfccasy.dynamic.covad.net) (Read error: 104 (Connection reset by peer))
- # [04:05] * Joins: weinig (n=weinig@h-67-103-39-122.snfccasy.dynamic.covad.net)
- # [04:38] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) ("The computer fell asleep")
- # [04:38] * Quits: weinig (n=weinig@h-67-103-39-122.snfccasy.dynamic.covad.net)
- # [04:39] * Quits: aaronlev (n=chatzill@g228009089.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [04:48] * Joins: csarven- (n=csarven@modemcable144.140-202-24.mc.videotron.ca)
- # [04:57] * Quits: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [05:21] * csarven- is now known as csarven
- # [05:27] * Joins: tantek (n=tantek@99-200-160-76.area2.spcsdns.net)
- # [05:50] * Quits: tantek (n=tantek@99-200-160-76.area2.spcsdns.net) (Connection timed out)
- # [06:00] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [06:24] * Joins: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [06:24] * Quits: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [06:25] * Quits: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net) (Client Quit)
- # [06:41] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [06:43] * Joins: tantek (n=tantek@72-56-162-2.area2.spcsdns.net)
- # [06:52] * Joins: tantek_ (n=tantek@72-56-162-2.area2.spcsdns.net)
- # [06:55] * Joins: tantek__ (n=tantek@72-56-162-2.area2.spcsdns.net)
- # [06:55] * Quits: tantek_ (n=tantek@72-56-162-2.area2.spcsdns.net) (Connection reset by peer)
- # [06:56] * Quits: tantek (n=tantek@72-56-162-2.area2.spcsdns.net) (Read error: 104 (Connection reset by peer))
- # [07:04] <Hixie> reading through alt="" e-mail, it seems my life would be a lot easier if i was an accessibility expert
- # [07:04] <Hixie> i could just say things without having to defend them with data
- # [07:05] <Hixie> i wonder how i become an accessibility expert
- # [07:05] <roc> gouge your own eyes out
- # [07:06] <Hixie> the first hit for "how to become an accessibility expert" on google is a powerpoint presentation "Become an Accessibility Expert in 50 min"
- # [07:06] <Hixie> no, many accessibility experts are not blind
- # [07:06] <roc> I didn't say it was the only way
- # [07:07] <roc> I bet you can do it in less than 50 minutes
- # [07:21] * Quits: jruderman (n=jruderma@guest-225.mountainview.mozilla.com)
- # [07:24] * Quits: sverrej (n=sverrej@89.10.27.245) (Remote closed the connection)
- # [07:25] * Joins: sverrej (n=sverrej@89.10.27.245)
- # [07:28] * Joins: jruderman (n=jruderma@guest-225.mountainview.mozilla.com)
- # [07:29] * Quits: tantek__ (n=tantek@72-56-162-2.area2.spcsdns.net) (Read error: 110 (Connection timed out))
- # [07:33] * Quits: roc (n=roc@202.0.36.64)
- # [07:35] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [07:47] * Joins: tantek (n=tantek@72-56-162-2.area2.spcsdns.net)
- # [07:55] * Quits: tantek (n=tantek@72-56-162-2.area2.spcsdns.net)
- # [08:05] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) (Read error: 110 (Connection timed out))
- # [08:07] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [08:11] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [08:13] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [08:18] * Quits: jruderman (n=jruderma@guest-225.mountainview.mozilla.com)
- # [08:34] * Joins: codedread (n=schiller@c-24-13-43-191.hsd1.il.comcast.net)
- # [08:49] * Joins: heycam (n=cam@124-168-12-194.dyn.iinet.net.au)
- # [08:53] * Joins: heycam` (n=cam@124-168-12-194.dyn.iinet.net.au)
- # [08:54] * Joins: hdh0 (n=hdh@58.187.73.197)
- # [08:54] * Quits: codedread (n=schiller@c-24-13-43-191.hsd1.il.comcast.net) (Remote closed the connection)
- # [09:01] * Quits: heycam` (n=cam@124-168-12-194.dyn.iinet.net.au) ("bye")
- # [09:07] * Quits: hdh (n=hdh@118.71.130.3) (Read error: 110 (Connection timed out))
- # [09:18] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [09:29] * Joins: jruderman (n=jruderma@guest-225.mountainview.mozilla.com)
- # [09:43] * Quits: Amorphous (i=jan@f048043092.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [09:46] * Joins: Amorphous (i=jan@f054167066.adsl.alicedsl.de)
- # [09:54] * Quits: jruderman (n=jruderma@guest-225.mountainview.mozilla.com)
- # [09:58] * Joins: Maurice (i=copyman@cc90688-a.emmen1.dr.home.nl)
- # [10:11] * Quits: sverrej (n=sverrej@89.10.27.245) (Read error: 110 (Connection timed out))
- # [10:19] <Dashiva> Darths & Droids comes out in favor of text equivalents not being equivalent enough. I wonder if anyone will cite that :)
- # [10:22] * Joins: aaronlev_ (n=chatzill@f051106244.adsl.alicedsl.de)
- # [10:25] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [10:25] * Joins: virtuelv_ (n=virtuelv@213.236.208.247)
- # [10:51] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:03] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [11:04] <jgraham> Hixie: If you just want the image replaced by its alternate text i follows you know what the alternate text is so you put it in the alt attribute and there's no problem
- # [11:05] <Hixie> jgraham: my point is that you wouldn't necessarily even want the UA to (by default) inform the user that there is an image in that case
- # [11:06] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [11:13] <jgraham> Hixie: I don't disagree with that. It's the case where there is no alt attribute where a UA could announce there is an image and read the title attribute
- # [11:14] <Hixie> jgraham: it could always read the title attribute, that seems orthogonal
- # [11:16] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:16] <jgraham> Not really. If I have <img alt="XYZ Systems" title="XYZ systems logo"> I don't expect the UA to read both @alt and @title
- # [11:18] <jgraham> Whereas for <img title="XYZ Systems Logo"> reading Image, XYZ Systems Logo seems quite helpful
- # [11:18] <Hixie> <img title="XYZ Systems Logo"> is non-conforming
- # [11:18] <Hixie> and in both cases, the title="" attribute's value sucks
- # [11:19] <jgraham> We get o choose what is non-conforming :)
- # [11:19] <jgraham> Also, why does it suck?
- # [11:19] <Hixie> i chose it to be non-conforming :-) it has no reason to be conforming
- # [11:19] <Hixie> the title attribute doesn't help anything
- # [11:20] <Hixie> in that case
- # [11:20] <Hixie> i mean, it's not _wrong_
- # [11:20] <jgraham> (it should be non conforming in this case because there is obvious alt text. But thre are cases like flickr where the photo is likely to have a title but no alternate text avaliable)
- # [11:20] * Quits: virtuelv_ (n=virtuelv@213.236.208.247) (Connection timed out)
- # [11:21] <Hixie> yes, in those cases it would be fine for the UA to mention that there is potentially useful title="" text
- # [11:21] <Hixie> that's just part of whatever helpful stuff it wants to give
- # [11:22] <jgraham> What other helpful stuff does it want to give?
- # [11:23] <jgraham> The only other information likely to be avaliable is a category of image like Photo or Logo or whatever
- # [11:24] <jgraham> Is that really useful enugh to invent a whole microsyntex for alt that causes it to duplicate much of the functionality of @title?
- # [11:24] <Hixie> it might know what the image is through image analysis (e.g. it might notice the image is fully transparent or 1x1) or it might notice that the image is one that it has seen before on another page where it had alt="" text, or it might be one that it recognises has a face in it, or any number of other things
- # [11:24] <Hixie> i don't think alt="{photo}" is information that would ever be appropriate in title=""
- # [11:27] * Joins: roc (n=roc@121-72-187-12.dsl.telstraclear.net)
- # [11:28] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:30] <jgraham> Hixie: if the UA notices something through image analysis it seems fine to present that alongside / instead of @title (assumng no @alt). I'm not sure that changes the fact that <img alt={photo}> isn't providing much useful informaion and, in particular is probably less useful than an image with a good title (which is often easier to enter in a CMS than a text alternative)
- # [11:30] <Hixie> i agree that the title, if available, would be fine information to make available
- # [11:30] <Hixie> in most cases (e.g. flickr) i imagine all such information would be on the page and not in the title=""
- # [11:31] <Hixie> title="" makes more sense for images that aren't the main topic of the page, in which case the alt="" text is usually available anyway
- # [11:32] <Lachy> Hixie, could you answer this question for me? http://krijnhoetmer.nl/irc-logs/whatwg/20080803#l-507
- # [11:32] <jgraham> I guess if there really is no good alt text or any good title, having some way to indicate the type of the image might be useful though I would expect it to be wrong much of the time (consider sites that allow users to upload photos or 3D renerings)
- # [11:33] <jgraham> Hixie: flickr puts the title of the photo in @title
- # [11:33] <Hixie> Lachy: "yes"
- # [11:33] <Hixie> Lachy: (is the answer to the question. unknown characters become "?".)
- # [11:34] <Hixie> jgraham: yeah, it also puts it in alt="", and in the header, and all over the place
- # [11:34] <Lachy> Hixie, ok. Cause that didn't match the behaviour of Firefox or Safari. Was that intentional? (I didn't test IE yet)
- # [11:34] <Hixie> jgraham: listening to that site in a screen reader is like being in an echo chamber
- # [11:34] <Hixie> Lachy: they convert unknown chars to &12345; right?
- # [11:34] <Hixie> Lachy: oh wait
- # [11:34] <Hixie> Lachy: firefox switches to UTF-8
- # [11:34] <Philip`> Lachy: Firefox seems crazy and switches between document-encoding and UTF-8 depending on what characters there are
- # [11:34] <Hixie> right?
- # [11:35] <Hixie> and the others se &12345; or something
- # [11:35] <Hixie> or is that just for form submission
- # [11:35] <Philip`> Safari changed recently, so nightly versions of WebKit probably do something different to 3.1
- # [11:35] <Lachy> Hixie, demo: http://tinyurl.com/6na2xh
- # [11:35] <Hixie> anyway either way iirc i looked at what they did, decided they were all on crack, and made the spec say "?" because that's the only thing that makes sense
- # [11:35] <Hixie> yeah safari does the &12345; thing, firefox does utf-8
- # [11:35] <Hixie> both are insane
- # [11:36] <Lachy> ok
- # [11:36] <Philip`> http://lists.w3.org/Archives/Public/public-html/2008Jun/0426.html
- # [11:36] <Hixie> (we might switch the spec to &12345; in cr, though i will fight it all the way :-) )
- # [11:37] <Lachy> ok. I thought Firefox converting to UTF-8 seemed reasonable
- # [11:37] <Philip`> What about character sets that don't contain the "?" character?
- # [11:37] <Hixie> Lachy: on the server side you have no idea what the encoding is if it changed, so how are you supposed to tell?
- # [11:37] <Hixie> what's a valid use case for splitting an image into two or more pieces?
- # [11:37] <Hixie> Philip`: like what?
- # [11:38] <Philip`> Hixie: Like a hypothetical one I could make up to be awkward
- # [11:38] * Hixie goes to add that encoding to the spec in the "must not support" column
- # [11:38] <Hixie> (hypothetically)
- # [11:39] <Lachy> Hixie, I just thought if it were defined to be UTF-8 for a specified set of document encodings, or else the document encoding for anything else then the server would know by looking at what the spec told it to expect
- # [11:40] <Lachy> but I don't mind it converting to ?, if that's compatible with the web
- # [11:40] <Philip`> Hixie: <p>We have had <img src=counter/1.gif><img src=counter/4.gif><img src=counter/3.gif> visitors since 1998</p>, since it's often unacceptable to require server-side image generation (because that's complex and inefficient), where the appropriate alt text is a single string "143" and is not three distinct digit strings
- # [11:41] <Hixie> lachy: what firefox does is look at the characters in the url and decide on the encoding based on whether it can convert them or not
- # [11:41] <Hixie> Lachy: it's not based on the document encoding per se
- # [11:41] <Lachy> oh, ok. That's definitely insane
- # [11:41] <Hixie> Philip`: any other cases?
- # [11:42] <Philip`> Hixie: Do you count slicing images to create image maps (without using <map>, because e.g. you want one slice to be replaced dynamically when you move the mouse over it) to be a valid use case?
- # [11:43] <Hixie> no, because in those cases you'd want the alternative text in each image, not all in one
- # [11:44] <Philip`> Repeat the whole text in each <img>? That sounds like it would be annoyingly repetitive to anyone who is reading the page without images
- # [11:45] <Hixie> no, you'd want each link to have its appropriate text
- # [11:47] <Philip`> What if the image is a smiley face and the nose changes colour when you move the mouse over it, and so the image is sliced up so it only has to download the small nose section when it updates? The appropriate alt text for the whole thing would be something like "Smiley face" or whatever, and there wouldn't be appropriate text for each individual <img>
- # [11:50] <Lachy> woah, Firefox will encode all characters as UTF-8 if there are any non-ISO-8859-1 characters elsewhere in the query string. e.g. ?© vs. ?䬸©
- # [11:50] <Hixie> Lachy: correct
- # [11:50] <Hixie> Philip`: seems contrived, but ok :-) thanks
- # [11:51] <Philip`> There are probably better examples but I can't think of them right now :-p
- # [11:59] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [12:17] * Quits: Maurice (i=copyman@cc90688-a.emmen1.dr.home.nl) (Read error: 104 (Connection reset by peer))
- # [12:17] * Joins: Maurice (i=copyman@cc90688-a.emmen1.dr.home.nl)
- # [12:30] * Joins: hdh00 (n=hdh@118.71.130.107)
- # [12:31] * Joins: myakura (n=myakura@p3216-ipbf5106marunouchi.tokyo.ocn.ne.jp)
- # [12:36] * Quits: roc (n=roc@121-72-187-12.dsl.telstraclear.net) (Read error: 104 (Connection reset by peer))
- # [12:38] * Quits: jgraham_ (n=james@81-86-213-50.dsl.pipex.com) ("I get eaten by the worms")
- # [12:41] * Joins: roc (n=roc@121-72-187-12.dsl.telstraclear.net)
- # [12:46] * Quits: hdh0 (n=hdh@58.187.73.197) (Read error: 110 (Connection timed out))
- # [12:52] <nzkoz> hsivonen: Are you around?
- # [12:53] <hsivonen> nzkoz: yes
- # [12:54] * Quits: roc (n=roc@121-72-187-12.dsl.telstraclear.net)
- # [12:54] <nzkoz> hey, if you have a moment I have a few questions about the validator.nu service, I've noticed some changes in the responses lately (since its downtime)
- # [12:55] <nzkoz> Things like http://xrl.us/omobx which now only give a few errors (one of which is fatal( where previously it enumerated quite a few more?
- # [12:56] <nzkoz> was there a major change that happened that I should do some reseearch on?
- # [12:57] <hsivonen> nzkoz: I fixed paragraph end inference inside list items, at least
- # [12:58] <hsivonen> nzkoz: do you remember what the old errors were about?
- # [12:59] <hsivonen> nzkoz: I haven't changed the XHTML 1.0 schemas lately except to tweak xml:space issues.
- # [12:59] <nzkoz> let me dig up an old response
- # [13:02] <Hixie> why aren't my e-mails making the list
- # [13:02] <Hixie> lists
- # [13:02] <Hixie> why aren't my e-mails going anywhere
- # [13:02] <Hixie> wtf
- # [13:02] <nzkoz> hsivonen: previously we got back: Attribute “xml:lang” not allowed on element “html” at this point.
- # [13:02] <nzkoz> then additional errors
- # [13:02] <nzkoz> now that seems to be sufficient to stop parsing?
- # [13:06] * Quits: jacobolus (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net) (Read error: 104 (Connection reset by peer))
- # [13:07] * Joins: jacobolus (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net)
- # [13:08] <nzkoz> hsivonen: yeah, at least in the 4 old responses I've dug up, the difference appears to be it stops reporting errors after it hits an xml:lang, previously it continued
- # [13:09] <hsivonen> nzkoz: oh. good point. I seem to have a bad config for XML violations.
- # [13:09] <hsivonen> nzkoz: thanks. I'll fix.
- # [13:11] <nzkoz> hsivonen: cheers, glad I could help. I'm scripting the json api and it's really useful. We're using gzip compression and setting a user agent, I assume you'd notify us if it were causing trouble?
- # [13:12] <hsivonen> nzkoz: yeah, that's OK.
- # [13:19] <Hixie> 1893 pending messages!
- # [13:19] * Joins: tusho (n=tusho@91.105.96.84)
- # [13:19] <tusho> <Hixie> i think i might make alt=”" required and say that when you don’t know what the image is, you have to say what kind of image it is (e.g. “uploaded image”, “photo”, “thumbnil”, or whatever) and put that in braces in the alt=”" attribute, as in alt=”{photo}”
- # [13:19] <tusho> seems reasonable
- # [13:19] <tusho> how does it interact with screen readers
- # [13:20] <Hixie> they say "image photo" or some such probably
- # [13:20] <hsivonen> does anyone happen to remember which element don't have class/id allowed in XHTML 1.0 and HTML 4.01?
- # [13:21] <tusho> Hixie: they pronounce punctuation
- # [13:21] <tusho> I believe
- # [13:21] <tusho> image opening curly brace photo closing curly brace
- # [13:21] * Joins: jacobolus1 (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net)
- # [13:21] <Hixie> hsivonen: i sent you an e-mail with an archive link which is not accurate -- when you get the mail, then look around the link i gave for the actual link
- # [13:22] <Hixie> tusho: well by the time people are doing this on any kind of regular basis, hopefully they'll have caught up with the spec
- # [13:22] <Philip`> tusho: In the default configuration?
- # [13:22] <tusho> Hixie: now THAT'S wishful thinking :)
- # [13:22] <tusho> Philip`: i -think- so
- # [13:23] <Hixie> this is all for the case where the accessibility story is a lost cause anyway -- the whole point is we have no useful alternative text
- # [13:23] <tusho> Hixie: decoration
- # [13:23] <hsivonen> Hixie: ok
- # [13:23] <tusho> often basically useless to the content images are used to spruce up an article
- # [13:24] <tusho> for a screen reader, they should just be ignored
- # [13:24] <tusho> thus alt=""
- # [13:24] <Hixie> i don't understand why my scripts can send mail but i can't
- # [13:24] <Hixie> wtf
- # [13:24] <Hixie> tusho: spec says they should al be alt="" (empty alt), unaffected by this {photo} thing
- # [13:25] <tusho> Hixie: but you said you might make alt= required
- # [13:25] <Hixie> for decorative images, it is required, and is required to be empty
- # [13:25] <tusho> oh, I see
- # [13:25] <tusho> I misread the quote
- # [13:25] * Quits: jacobolus (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net) (Read error: 110 (Connection timed out))
- # [13:25] <tusho> I thought you meant making the alt attribute being mandatory and non-empty
- # [13:25] <Hixie> no
- # [13:26] <tusho> ok :)
- # [13:26] <Philip`> Calling it 'the alt="" attribute' is confusing, since that looks the same as saying decorative images must have alt=""
- # [13:27] <hsivonen> nzkoz: fixed. (the errors about the id attribute not being allowed in the XHTML 1.0 schema may be bogus. I'll investigate.)
- # [13:29] <nzkoz> hsivonen: awesome, thanks a bunch. For future reference is this the best way to raise anything else I notice? or should I use the bugzilla or...?
- # [13:29] * Parts: hdh00 (n=hdh@118.71.130.107) ("Konversation terminated!")
- # [13:30] <hsivonen> nzkoz: bugzilla.validator.nu is the preferred way, since there's a risk of IRC remarks falling through the cracks
- # [13:32] <nzkoz> k, will do. Thanks again
- # [13:39] <Philip`> Hixie: "... one of the images must its alt attribute set ..." is missing a word
- # [13:40] <Hixie> fixed
- # [13:40] <Hixie> thanks
- # [13:50] <Hixie> wish i knew why my e-mail wasn't going anywhere
- # [13:50] <Hixie> oh well
- # [13:50] <Hixie> bed time
- # [13:50] <Hixie> hopefully e-mail will make its way out while i'm sleeping
- # [13:54] <Philip`> I got commit notices for r1971, 1973, 1983 and 1985, and none of the ones in between
- # [13:59] * Joins: harig_ (n=harig_in@122.160.12.230)
- # [13:59] * Joins: mcarter (n=mcarter@adsl-71-135-127-23.dsl.pltn13.pacbell.net)
- # [13:59] <mcarter> hello
- # [14:01] <mcarter> I don't suppose anyone has any idea what is supposed to happen (if there is a standard) when an HTTP/1.1 XHR response is half over when there is a page navigation. Should it a) shut the connection immediately, or b) wait for the rest of the response (though now irrelevant), and then re-use the connection
- # [14:13] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Remote closed the connection)
- # [14:17] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [14:18] * Quits: othermaciej (n=mjs@12.172.70.3)
- # [14:19] * Joins: Findel (n=phil@host81-149-214-135.in-addr.btopenworld.com)
- # [14:20] * Quits: myakura (n=myakura@p3216-ipbf5106marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [15:10] * Joins: jgraham_ (n=james@81-86-213-50.dsl.pipex.com)
- # [15:11] * Quits: jgraham_ (n=james@81-86-213-50.dsl.pipex.com) (Client Quit)
- # [15:27] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [15:30] * Joins: brucel (n=brucel@82.36.36.135)
- # [15:39] * Joins: jgraham_ (n=james@81-86-213-50.dsl.pipex.com)
- # [15:43] * Joins: weinig_ (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [15:44] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [15:44] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [15:50] * Parts: brucel (n=brucel@82.36.36.135)
- # [15:56] * Joins: codedread (n=schiller@c-24-13-43-191.hsd1.il.comcast.net)
- # [15:57] * Joins: csarven (n=csarven@on-irc.csarven.ca)
- # [16:00] * Quits: weinig_ (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [16:31] * Joins: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com)
- # [16:33] * Joins: aaronlev__ (n=chatzill@f051106244.adsl.alicedsl.de)
- # [16:34] * aaronlev__ is now known as aaronlev
- # [16:44] * Quits: aaronlev_ (n=chatzill@f051106244.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [16:44] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) (Remote closed the connection)
- # [17:15] * Joins: Windstoss (n=wind@mnhm-590d9b0c.pool.einsundeins.de)
- # [17:17] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [17:19] * Joins: webben (n=benh@nat/yahoo/x-a43a49a64e3a1cbc)
- # [17:20] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:45] <gDashiva> I went in the month-change archive trap -again-
- # [17:45] <gDashiva> s/went/fell
- # [17:46] <Philip`> It's an effective way to get an occasional respite from the list discussions
- # [17:47] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [17:48] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [17:49] * Quits: Charl (n=charlvn@196-209-0-231-ndn-esr-2.dynamic.isadsl.co.za) ("Leaving")
- # [18:00] * Joins: svl (n=me@ppp-58-10-80-226.revip2.asianet.co.th)
- # [18:01] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [18:01] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [18:05] * Quits: harig_ (n=harig_in@122.160.12.230) (Read error: 110 (Connection timed out))
- # [18:05] * Joins: epeus (n=KevinMar@72.14.224.1)
- # [18:14] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) (Connection timed out)
- # [18:23] * Quits: epeus (n=KevinMar@72.14.224.1) ("The computer fell asleep")
- # [18:34] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) ("Ex-Chat")
- # [18:43] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Remote closed the connection)
- # [18:57] * Joins: maikmerten (n=maikmert@L823d.l.pppool.de)
- # [18:58] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [18:59] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [19:03] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [19:04] * Joins: hasather_ (n=hasather@cm-84.215.63.253.getinternet.no)
- # [19:06] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Remote closed the connection)
- # [19:08] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [19:13] * Quits: Findel (n=phil@host81-149-214-135.in-addr.btopenworld.com) (Read error: 110 (Connection timed out))
- # [19:21] * Quits: svl (n=me@ppp-58-10-80-226.revip2.asianet.co.th) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [19:24] * Joins: weinig (n=weinig@nat/apple/x-280985915970eea0)
- # [19:26] * Parts: codedread (n=schiller@c-24-13-43-191.hsd1.il.comcast.net) ("Konversation terminated!")
- # [19:27] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [19:27] <zcorpan> aha.. can we resolve the extensibility problem by making document.write work in xml?
- # [19:31] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Connection timed out)
- # [19:33] * hsivonen notes that the XML community already has its own document.write(). It's called disabling output escaping in XSLT.
- # [19:33] <gDashiva> I thought the XML community didn't want document.write
- # [19:34] <tusho> document.write = no thanks
- # [19:34] <Philip`> You could implement by having the server only transmit bytes up to the end of </script>, then having document.write() send an XMLHttpRequest to the server to tell it what bytes it should subsequently transmit to continue the XML document
- # [19:34] <tusho> a nicer layer over the DOM = yez plz
- # [19:34] <tusho> mochikit style that is
- # [19:34] <Philip`> s// it/
- # [19:34] <tusho> p(strong("hello"), " world")
- # [19:35] <tusho> maybe: with (DOM) { ... }
- # [19:35] <Philip`> tusho: Why not use thing.innerHTML = '<p><strong>hello</strong> world</p>' for that?
- # [19:35] <tusho> Philip`: The DOM is less prone to errors and programmatically cleaner.
- # [19:35] <tusho> Plus you can't construct an invalid tree with it.
- # [19:37] * Joins: codedread_ (n=chatzill@wwwgate34.motorola.com)
- # [19:39] <zcorpan> tusho: can't construct an invalid tree with innerHTML either
- # [19:39] <tusho> ok, wrong words
- # [19:39] <tusho> still
- # [19:39] <tusho> my other points stand
- # [19:42] <zcorpan> i'm not convinced that p(strong("hello"), " world") or (DOM) { ... } is less prone to error than innerHTML, and programmatically cleaner is just an opinion :)
- # [19:43] <Philip`> zcorpan: Try setting attributes in innerHTML and having to escape and concatenate everything properly, and then it should be clear which way is cleaner and less error-prone :-)
- # [19:45] <Lachy> I'm opposed to introducing document.write() into XML. It's unfortunate that it even exists for HTML
- # [19:45] <Philip`> But it's really useful
- # [19:45] <hsivonen> Lachy: with a well defined XML5 parsing algorithm including script execution steps, we could define document.write() for XML
- # [19:45] <Lachy> it encourages poorly structured programming practices
- # [19:46] <Philip`> It encourages people to write HTML code that works and does what they want and makes them happy, even if someone might say it's poorly structured :-)
- # [19:47] <Lachy> and makes people work with the DOM by manipuating strings, instead of actually working with the DOM properly, and the fact that it injects characters back into the input stream is bad design
- # [19:48] <Philip`> Working with the DOM "properly" is really ugly and painful, so it's not surprising that everyone tries to avoid that
- # [19:48] <Lachy> innerHTML is reasonable, because at least it doesn't mess with the input stream
- # [19:48] * Joins: jacobolus (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net)
- # [19:49] <Lachy> and keeps markup errors in the string isolated to just the element it's appeneded to
- # [19:49] <Philip`> But then you need to create a container element to set innerHTML, and give it an ID and document.getElementById('whatever') it and think of a new ID for every time you do this, and try not to get confused by all the indirection
- # [19:50] * Quits: aaronlev (n=chatzill@f051106244.adsl.alicedsl.de) (Connection timed out)
- # [19:50] <Lachy> to e.g. document.write() with an unclosed inline element will affect the rest of the document, unlike how it would work in innerHTML
- # [19:50] <Lachy> if you create a container element, then you don't need an ID, you already have a reference to it.
- # [19:50] <gDashiva> The DOM kinda shot itself in the foot by making long, unwieldy identifiers a feature
- # [19:51] <Lachy> if there's one already in the DOM, then sure, gEBId (or other selector) is needed
- # [19:51] <Lachy> also, document.write() violates the separation of script and markup principles
- # [19:51] <hsivonen> gDashiva: the DOM shot itself in many places in many ways
- # [19:52] <Lachy> gDashiva, agreed
- # [19:52] * Joins: csarven (n=csarven@on-irc.csarven.ca)
- # [19:52] <Philip`> Those separation principles rely on indirection, and hence are confusing and annoying
- # [19:52] <Lachy> your arguments are confusing and annoying
- # [19:53] <Philip`> That's quite possible
- # [19:53] <Lachy> there's nothing wrong with a little bit of indirection. It makes code more modular and allows for better reuse
- # [19:53] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [19:53] * gDashiva laments the lost opportunity for "So's your face"
- # [19:54] <Lachy> :-D
- # [19:54] <gDashiva> So instead of document.write, what about a document.emitNode() or something, would that make people happy?
- # [19:55] <Lachy> how would it work?
- # [19:55] <Philip`> document.writeWellFormedFragment()?
- # [19:55] <Lachy> would it append the given node to the script's parent element?
- # [19:55] <gDashiva> Lachy: Yeah
- # [19:56] <Lachy> what if the <script> is the root element?
- # [19:56] <gDashiva> Then you deserve whatever is coming
- # [19:56] <gDashiva> Or you could specify it to replace the script element
- # [19:56] <zcorpan> Lachy: you do the same as document.appendChild() would do
- # [19:57] <Lachy> what if it's a DocumentFragment, with multiple child nodes? then it still would solve the root element problem/
- # [19:57] * Lachy goes to test how document.appendChild works in browsers
- # [19:57] <zcorpan> again, do the same as fragment.appendChild() would do :)
- # [19:58] <Lachy> it throws an error
- # [19:58] <gDashiva> The thing I'm trying to clarify is if the problem is emitting markup vs emitting DOM, or if it's emitting itself that's the problem
- # [19:58] * Quits: jacobolus1 (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net) (Connection timed out)
- # [19:58] <Philip`> What if the script removes its own <script> element from the document, and then calls emitNode()?
- # [19:59] <Lachy> zcorpan, no, I meant if you did document.emitNode(fragment); where fragment is a DocumentFragment
- # [19:59] <zcorpan> Philip`: then you do the same as document.appendChild() would do ;)
- # [19:59] <zcorpan> Lachy: ah
- # [19:59] <hsivonen> if you don't like doc.write but want to do it, you can compile a parser into JS using GWT and parse strings without source text insertion support in the browser
- # [19:59] <zcorpan> Lachy: well then you act as if you did document.appendChild() multiple times
- # [19:59] <Lachy> yeah, that would throw an exception
- # [20:00] <zcorpan> depends on if there's a root element or not
- # [20:00] <Lachy> what is GWT?
- # [20:00] <hsivonen> Lachy: Google Web Toolkit
- # [20:00] <zcorpan> i guess it would insert the first element and then throw, but perhaps it could be specced so that if it throws, nothing happens
- # [20:01] <Philip`> hsivonen: But only crazy people would do that
- # [20:01] <Philip`> hsivonen: and only crazy people who don't care about performance
- # [20:02] <hsivonen> Philip`: actually, if I manage to ship a JS library for retrofitting HTML5 parsing into Firefox 3, Safari 3.1 and Opera 9.5, I'd expect people to use it as a fallback for the past generation when the then-current generation support HTML5 parsing natively
- # [20:02] <Philip`> hsivonen: How many tens/hundreds of kilobytes of JS code is it?
- # [20:02] <hsivonen> if using it is as simple as <body><script src=html5.js></script>
- # [20:03] <hsivonen> Philip`: 128 KB without gzip
- # [20:03] <Lachy> heh, Hixie's mail from 10:16 this morning finally arrived about 10 hours late
- # [20:04] <Lachy> the one about the alt attribute stuff
- # [20:05] * Quits: codedread_ (n=chatzill@wwwgate34.motorola.com) (Remote closed the connection)
- # [20:06] * Joins: codedread_ (n=chatzill@wwwgate4.motorola.com)
- # [20:06] <hsivonen> Philip`: 36 KB with gzip
- # [20:07] <hsivonen> Philip`: my footprint vs. execution speed choices are meant for Java and C++, so it's not optimal for JS footprint
- # [20:09] * Quits: codedread_ (n=chatzill@wwwgate4.motorola.com) (Remote closed the connection)
- # [20:09] * Joins: codedread_ (n=chatzill@wwwgate4.motorola.com)
- # [20:10] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [20:10] <hsivonen> http://derstandard.at/text/?id=1216918402134
- # [20:11] <hsivonen> Miguel seems to prefer Microsoft-controlled environments over JS and SVG
- # [20:12] * Joins: psa (n=yomode@71.93.19.66)
- # [20:14] * Quits: codedread_ (n=chatzill@wwwgate4.motorola.com) (Remote closed the connection)
- # [20:14] * Joins: codedread_ (n=chatzill@wwwgate34.motorola.com)
- # [20:16] <Philip`> That does not seem unexpected
- # [20:19] * Quits: codedread_ (n=chatzill@wwwgate34.motorola.com) (Remote closed the connection)
- # [20:19] * Joins: hdh (n=hdh@118.71.129.185)
- # [20:20] * Joins: sverrej (n=sverrej@89.10.27.245)
- # [20:21] <zcorpan> Hixie: what does <img src=x alt={> represent when the ua is configured to not show images?
- # [20:23] <Lachy> zcorpan, that's covered by the 2nd condition in the spec "If the src attribute is set and the alt attribute is set to a string with at least one character whose first character is not a U+007B LEFT CURLY BRACKET character ({) or whose last character is not a U+007D RIGHT CURLY BRACKET character (})"
- # [20:23] <Lachy> that's the confusing one I complained about, cause I had the same question initially, till I figured it out before sending my mail
- # [20:23] <zcorpan> Lachy: how am i reading it wrong?
- # [20:24] <zcorpan> the first character IS { so it's not covered by that case
- # [20:24] <Lachy> because the last character is not '}'
- # [20:24] <Philip`> "{" has a first character that is not "{" or it has a last character that is not "}", so it is covered by that case
- # [20:24] <zcorpan> Lachy: it says or, not and
- # [20:25] <Lachy> no, think of it like this:...
- # [20:25] <zcorpan> hmm
- # [20:26] <Lachy> if ( isset(src) && isset(alt) && (alt[first-letter] != '{' || alt[last-letter] != '}'))
- # [20:26] <Lachy> (that's just some sort of pseudo-code, don't try to run it)
- # [20:27] * Philip` doesn't know of any languages in which "first-letter" is a valid identifier rather than a subtraction expression :-p
- # [20:27] <Lachy> Philip`, in CSS it is
- # [20:27] <Lachy> :-)
- # [20:27] <Philip`> But CSS doesn't have subtraction expressions, so that doesn't count :-)
- # [20:28] <zcorpan> doesn't it have calc() ?
- # [20:28] * Joins: eseidel (n=eseidel@nat/google/x-83746444fabfede5)
- # [20:28] <Lachy> not yet
- # [20:28] * Quits: webben (n=benh@nat/yahoo/x-a43a49a64e3a1cbc) (Read error: 110 (Connection timed out))
- # [20:28] <Lachy> unless someone specced a proposal for it that I missed.
- # [20:29] <zcorpan> http://www.w3.org/TR/css3-values/#calc ?
- # [20:29] <Lachy> oh
- # [20:29] <Philip`> When I say "CSS" I mean "real CSS like what you can actually use in real life and it'll work in sensible web browsers"
- # [20:33] <Lachy> Philip`, in that case, you can use IE's expression()
- # [20:34] <hsivonen> is the execution time of expression well defined?
- # [20:34] <hsivonen> what if an expression has side effects?
- # [20:34] <Philip`> Lachy: "sensible web browsers"
- # [20:34] <Lachy> hsivonen, exression isn't defined at all. It's only poorly documented in MSDN, like all of Microsoft's extensions
- # [20:34] <Philip`> hsivonen: It isn't
- # [20:35] <Philip`> You can have side effects, and it'll just do whatever IE's layout engine wants to do
- # [20:35] <Lachy> hsivonen, I expect that IE would probably crash. I know that when i was forced to use it once, any time I did something mildly complicated, IE crashed
- # [20:36] <hsivonen> great value for users then
- # [20:36] <Lachy> it's designed for simple expressions, and for that it works ok. but it's not really well designed or implemented at all
- # [20:37] * Joins: Windstoss_ (n=wind@mnhm-590d9ac5.pool.einsundeins.de)
- # [20:38] <Lachy> plus, it creates an attack vector, if a site allows style attributes to be added by users in comments or whatever, without filtering out expressions
- # [20:41] <Lachy> hah! I thought the Knights Templar only existed in Indian Jones and the Last Crusade. http://www.theregister.co.uk/2008/08/04/knights_templar_pope/
- # [20:43] <tusho> Philip`: {doesn't know of any languages in which "first-letter" is a valid identifier rather than a subtraction expression :-p}
- # [20:43] <tusho> lisp
- # [20:43] <tusho> dyland
- # [20:43] <tusho> *dylan
- # [20:43] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [20:43] <Philip`> tusho: Ah, so it's only crazy languages ;-)
- # [20:48] <Lachy> http://xkcd.com/297/
- # [20:48] <Lachy> my pseudo-code above did use a lot of parenthesis too. :-)
- # [20:52] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [20:52] <zcorpan> + users or very low-bandwidth connections or who pay by the byte, or
- # [20:52] <zcorpan> i guess people will laugh at that in 10 years
- # [20:52] * Quits: Windstoss (n=wind@mnhm-590d9b0c.pool.einsundeins.de) (Read error: 110 (Connection timed out))
- # [20:55] <Lachy> zcorpan, what? no-one has such poor connections these days. Even dial up is relatively cheap
- # [20:55] <Philip`> zcorpan: Ten years ago when people started using things like ADSL, I imagine they would have laughed at the idea of still having very low-bandwidth connections and paying by the byte in the present day
- # [20:57] <Philip`> but people are still willing to pay for really rubbish internet connections, mostly since there's no competition and they have no other choice
- # [20:57] <zcorpan> Philip`: yeah, i'm not sure why we still have very low-bandwidth and pay by the byte :)
- # [20:57] <Lachy> oh, I didn't realise you were quoting hte spec
- # [20:57] <Lachy> Hixie probably put it in as a bit of a joke
- # [20:58] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [20:58] <jgraham> Lots of mobile users have low bandwidth, poor connections and pay by the byte
- # [20:58] <zcorpan> what jgraham said
- # [20:58] * Joins: aaronlev__ (n=chatzill@f051106244.adsl.alicedsl.de)
- # [20:58] <Lachy> well, by the kilobyte, maybe
- # [20:58] * aaronlev__ is now known as aaronlev
- # [20:59] <Philip`> People are still willing to pay however much they pay for SMS messages - the price hasn't been driven to zero by the improvements in technology, because what's important is how much the service is worth to people, and that's fairly constant over time
- # [20:59] <Lachy> I suppose they still charge a lot for mobile and wireless connections these days
- # [21:00] <jgraham> Philip`: there are lots of plans with hundreds of free texts for only £extortionate monthly rates
- # [21:00] <Lachy> Philip`, people have been complaining about the price of SMS for a while
- # [21:00] <Lachy> it's the telcos that just won't listen
- # [21:00] <jgraham> Lachy: I don't recall that happening in the UK
- # [21:00] <jgraham> where SMS is very very popular
- # [21:00] <Lachy> I didn't say it wasn't popular. Just expensive
- # [21:01] <Philip`> Lachy: Why should they listen?
- # [21:01] <Lachy> Depending on your plan, it can still cost $0.20 per message
- # [21:01] <Lachy> ...in Australia
- # [21:01] * Quits: Windstoss_ (n=wind@mnhm-590d9ac5.pool.einsundeins.de) ("*plonk*")
- # [21:01] <Lachy> though, at least some offer either unlimited or hundreds of free SMSs
- # [21:01] * Joins: Windstoss (n=wind@mnhm-590d9ac5.pool.einsundeins.de)
- # [21:05] * Joins: riah (n=chatzill@pool-72-77-230-166.tampfl.fios.verizon.net)
- # [21:06] <Philip`> I guess the mobile operators looked at the internet running over standard telephone lines and decided that it was clearly a miserable failure since the telephone companies weren't being paid any more than for standard voice calls, and so they're still trying hard to avoid that mistake
- # [21:09] <jgraham> Philip`: I guess that's not true in the UK because there does seem to be actual competition between operators
- # [21:10] <jgraham> (well I mean it might be true that they prefer that scenario, but it's hard to imagine how they will be able to maintain it)
- # [21:10] <jgraham> s/that scenario/the current scenario/
- # [21:11] * Philip` knows almost nothing about mobile phones, since he's only ever had one (which is probably four or five years old now) and almost never uses it
- # [21:12] * jgraham keeps losing his phone
- # [21:12] <jgraham> (well that is to say I did it and then didn't get another one)
- # [21:13] <jgraham> (because I hardly ever used it anyway and cool stuff like internet access is only sensibly priced if you also buy an expensive contract)
- # [21:22] * Quits: hasather_ (n=hasather@cm-84.215.63.253.getinternet.no) (Remote closed the connection)
- # [21:23] * Joins: hasather_ (n=hasather@cm-84.215.63.253.getinternet.no)
- # [21:26] <zcorpan> Hixie: the captca example is missing an end tag
- # [21:31] <zcorpan> given 4.7.2.1.10., alt is still not always required
- # [21:39] * Joins: csarven- (n=csarven@on-irc.csarven.ca)
- # [21:40] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Read error: 110 (Connection timed out))
- # [21:44] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [21:45] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [21:49] * Quits: jacobolus (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net) (Read error: 104 (Connection reset by peer))
- # [21:50] * Joins: jacobolus (n=jacobolu@pool-71-119-188-52.lsanca.dsl-w.verizon.net)
- # [21:51] * Joins: polvi (n=polvi@osuosl/staff/polvi)
- # [21:57] <Hixie> zcorpan: i agree that the patch isn't one we want, but thanks for the headsp
- # [21:57] <Hixie> zcorpan: (i trust your judgement in these issues)
- # [22:03] <zcorpan> Hixie: having many mods seems to be effective against spam
- # [22:04] * Joins: jruderman (n=jruderma@guest-225.mountainview.mozilla.com)
- # [22:04] <zcorpan> Hixie: we've only had spam once and two mods were on it pretty quickly :)
- # [22:05] <Hixie> nice
- # [22:08] <zcorpan> http://www.paciellogroup.com/blog/?p=84
- # [22:08] * Quits: maikmerten (n=maikmert@L823d.l.pppool.de) (Remote closed the connection)
- # [22:15] <Lachy> "no co-operative exchange occured with WAI prior to the changes..." - Is he choosing to ignore excessive amount of discussion about the whole issue previously on public-html and the wai lists?
- # [22:17] <Lachy> maybe because this specific proposal wasn't discussed on the list recently, before it was added to the spec. But so what? It's a proposal. At least this gives us something to discuss
- # [22:17] <Hixie> well i'm glad that we're worried about process rather than what the spec says now
- # [22:17] <Hixie> that's at least a step in the right direction
- # [22:19] * aroben is now known as aroben|meeting
- # [22:19] <Lachy> well, he said he hasn't had time to review it all yet. But I find it annoying having so many bureaucracy trolls
- # [22:24] * Joins: Windstoss_ (n=wind@mnhm-590d845e.pool.einsundeins.de)
- # [22:24] <Lachy> I'm pretty sure this proposal will be much more well received than the last, since it actually ends up giving a lot more useful information about the image than something like noalt="", or some other reserved keyword like alt="_unknown"
- # [22:26] <Philip`> And because people who might have minor objections will keep quiet since they don't want to risk reanimating the issue
- # [22:27] <Hixie> hah
- # [22:27] <Hixie> didn't stop lachy! :-P
- # [22:28] <Lachy> Hixie, I think you should rephrase the "In a rare subset of these cases..." and "...if the site has received 8000 photos...". Those particular phrases caused quite a lot of controversy and don't seem to convey their intended meaning well
- # [22:28] <Hixie> yeah
- # [22:28] <Hixie> god point
- # [22:28] <Hixie> good even
- # [22:30] <Lachy> I think it should just focus on the specific conditions of when using {...} is acceptable. i.e. when the image is obtained without associated alt text, rather than trying to explain it through examples
- # [22:32] <Hixie> it also applies to inkblot tests and blind people's photos
- # [22:34] <Lachy> probably also applies to fixed weather cams or traffic cams, which just take and publish intermittent photographs without user intervention
- # [22:35] <Philip`> And coffee pot cams
- # [22:35] <Lachy> haven't seen one of those
- # [22:36] <Philip`> http://en.wikipedia.org/wiki/Trojan_room_coffee_pot
- # [22:36] <Dashiva> They're common in highly caffeinated nerd clubs
- # [22:39] * Quits: Windstoss (n=wind@mnhm-590d9ac5.pool.einsundeins.de) (Read error: 113 (No route to host))
- # [22:41] <Hixie> ok Lachy, checked in your suggestions
- # [22:43] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [22:43] <Hixie> didn't change the e-mail thing, i don't see any reason why it would matter in that case, and it doesn't affect web page conformance anyway
- # [22:46] <Lachy> Hixie, missing ')' from the end of: If the src attribute is set and the alt attribute is set to a value that isn't matched by the previous two entries (not empty, not "{...}"
- # [22:46] <Hixie> oops
- # [22:46] * Joins: billyjack (n=MikeSmit@71-218-67-30.hlrn.qwest.net)
- # [22:47] <Lachy> and you didn't change it for the other one describing the case for when the src attribute is not set
- # [22:48] <Hixie> right, see e-mail
- # [22:49] <Hixie> i have GOT to start taking out the "***DHSPAN***" bits of subject lines i send!
- # [22:50] <Dashiva> What is that anyway?
- # [22:50] <Lachy> s/DHSPAN/DHSPAM/ == DreamHost SPAM, I figure
- # [22:50] <Hixie> yeah
- # [22:51] <Hixie> people who top-post tend to trigger my last spam line of defence
- # [22:51] <Hixie> which is spam assassin's "i don't think it's spam but it's suspicious so i'll label it as such anyway"
- # [22:51] <Lachy> Hixie, the email just says you changed the order of them, but you only did it for one. Since they conditions are the basically the same, except one is for when src is present and the other for when it's not, they should be written in almost the same way.
- # [22:52] <Lachy> so it should be changed to "If the src attribute is *not* set and the alt attribute is set to a value that isn't matched by the previous two entries (not empty, not "{...}" )"
- # [22:53] <Hixie> oh!
- # [22:53] <Hixie> i see what you're saying
- # [22:53] <Hixie> my apologies
- # [22:53] <Lachy> what did you think I was saying?
- # [22:55] <Lachy> "...display some sort of indicator that the image is not being rendered, if possible providing..." needs to be fixed grammatically. It should be "... rendered and, if possible, providing ..."
- # [22:55] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:57] <Hixie> ok all those are fixed now
- # [23:01] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [23:03] * Quits: jruderman (n=jruderma@guest-225.mountainview.mozilla.com)
- # [23:04] <Lachy> ok, that works even better the way you did it with the "otherwise" condition
- # [23:09] * Joins: jruderman (n=jruderma@guest-225.mountainview.mozilla.com)
- # [23:11] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [23:12] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [23:12] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [23:12] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [23:12] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [23:12] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [23:13] <Lachy> hmm, something is wrong with my IRC client. It just crashed several times in a row :-(
- # [23:13] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [23:13] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [23:14] <Lachy> ... and it did it again. Whenever I right click on it :-(
- # [23:14] <Hixie> d'oh
- # [23:14] <Philip`> Maybe it's a Mac application and they never imagined someone might right-click
- # [23:15] <Lachy> maybe there's something wrong with the profile or a plist or something.
- # [23:15] <Lachy> LOL
- # [23:15] <Lachy> I'm supposed to be able to right click on someones name and select to open a private chat with them
- # [23:16] * Quits: scotfl (n=scotfl@S0106001b114f914a.ss.shawcable.net)
- # [23:16] * Quits: csarven- (n=csarven@on-irc.csarven.ca) (Remote closed the connection)
- # [23:17] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [23:17] <Hixie> hsivonen's data shows that even in the svg files he downloaded, there are html <font> elements :-)
- # [23:18] <Hixie> though it looks like that can likely be accounted for by the cases where <font> wasn't in the svg namespace? unclear
- # [23:18] <hsivonen> Hixie: I looked for the local name
- # [23:18] * Joins: bradee-oh (n=bradeeoh@web7.webfaction.com)
- # [23:19] <hsivonen> I should rerun the analyzer excluding foreignContent stuff
- # [23:19] <hsivonen> foreignObject that is
- # [23:19] * Joins: bzed_ (n=bzed@devel.recluse.de)
- # [23:20] <Philip`> hsivonen: Do you record a list of which files match each of the features you're searching for?
- # [23:20] <Lachy> I never thought the HTML5 spec would ever teach me a new Norwegian word :-)
- # [23:20] <hsivonen> Philip`: i don't
- # [23:20] <Hixie> i'm hoping the norwegian word is correct
- # [23:20] <Lachy> according to Google Translate it is
- # [23:20] * Quits: billyjack (n=MikeSmit@71-218-67-30.hlrn.qwest.net) ("Less talk, more pimp walk.")
- # [23:20] <Hixie> my norwegian friends have not yet responded!
- # [23:21] <Lachy> I'll look it up in my Norwegian dictionary for you
- # [23:21] <Hixie> yeah, but i used google translate to determine it, so...
- # [23:21] * Quits: sverrej (n=sverrej@89.10.27.245) (kornbluth.freenode.net irc.freenode.net)
- # [23:21] * Quits: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com) (kornbluth.freenode.net irc.freenode.net)
- # [23:21] * Quits: bzed (n=bzed@devel.recluse.de) (kornbluth.freenode.net irc.freenode.net)
- # [23:21] * Quits: ianloic (i=yakk@glub.dreamhostps.com) (kornbluth.freenode.net irc.freenode.net)
- # [23:21] * Quits: bradeeoh (n=bradeeoh@web7.webfaction.com) (kornbluth.freenode.net irc.freenode.net)
- # [23:21] * Quits: syp_ (n=syp@lasigpc9.epfl.ch) (kornbluth.freenode.net irc.freenode.net)
- # [23:21] * Quits: YaaL (i=yaal@hell.pl) (kornbluth.freenode.net irc.freenode.net)
- # [23:21] * Quits: polvi (n=polvi@osuosl/staff/polvi) (kornbluth.freenode.net irc.freenode.net)
- # [23:21] * bzed_ is now known as bzed
- # [23:21] * Joins: polvi (n=polvi@osuosl/staff/polvi)
- # [23:21] * Joins: sverrej (n=sverrej@89.10.27.245)
- # [23:21] * Joins: ianloic (i=yakk@glub.dreamhostps.com)
- # [23:21] * Joins: syp_ (n=syp@lasigpc9.epfl.ch)
- # [23:21] * Joins: YaaL (i=yaal@hell.pl)
- # [23:21] <Lachy> Hixie, in all your time living in Norway, did you learn much Norwegian?
- # [23:21] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [23:21] <Hixie> Lachy: not really
- # [23:21] <Hixie> Lachy: but i didn't try very hard
- # [23:22] <Lachy> ok
- # [23:22] * Quits: sverrej (n=sverrej@89.10.27.245) (SendQ exceeded)
- # [23:22] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [23:22] <Hixie> hsivonen: i really wasn't expecting the conclusions you drew from that data. that's really interesting.
- # [23:22] <Hixie> hsivonen: i think i'll make <font> be triggered from attributes
- # [23:22] <Lachy> nor have I. I know enough to get me through shopping
- # [23:22] <Lachy> and that's about it
- # [23:22] * Quits: YaaL (i=yaal@hell.pl) (Remote closed the connection)
- # [23:22] * Joins: YaaL (i=yaal@hell.pl)
- # [23:22] <hsivonen> Hixie: what conclusions don't flow from the data?
- # [23:22] * Joins: sverrej (n=sverrej@89.10.27.245)
- # [23:23] <Hixie> hsivonen: all the conclusions flow from the data
- # [23:23] <Hixie> hsivonen: i jsut wasn't expecting that data
- # [23:23] <hsivonen> ah. I thought you weren't expecting the conclusions given the data
- # [23:23] <Hixie> Lachy: i never found lack of norwegian knowledge to be a practical barrier to living in norway.
- # [23:24] <hsivonen> Hixie: anything particularly unexpected?
- # [23:24] <Hixie> hsivonen: that the svgwg proposal would actually break on more pages than the commented out proposal
- # [23:24] <Lachy> From my dictionay: *bilde* /subst/. n 1. picture
- # [23:24] <Hixie> also, the sheer number of metadata elements
- # [23:25] <Hixie> Lachy: not photograph? bummer.
- # [23:25] <Lachy> the example is "I took a picture of my daughter"
- # [23:25] <Lachy> I'll look up photo
- # [23:25] <hasather_> Hixie: that would be "fotografi"
- # [23:26] <Hixie> isn't that photography, as opposed to photograph?
- # [23:26] <Lachy> Hixie: *Photo* is either: fotografi, foto, bilde
- # [23:27] <hasather_> Hixie: oh, sorry, read that wrong, then it's "foto"
- # [23:27] <Hixie> bummer, i was hoping for something that looked nothing like "photo" :-)
- # [23:28] <Hixie> i'd have used french but it uses photo too
- # [23:28] <Lachy> Hixie, fotograph is the same as photograph
- # [23:28] <hsivonen> Hixie: you could use 'valokuva' for lang=fi
- # [23:28] <Hixie> aha!
- # [23:28] <Hixie> henri to the rescue
- # [23:28] <Lachy> I mean fotografi
- # [23:29] <Lachy> silly norwegians using an "f" instead of "ph" for an "f" sound is confusing ;-)
- # [23:29] <Hixie> hsivonen: lang=fi is "Finnish" right? (checking spelling)
- # [23:29] <hsivonen> Hixie: yes
- # [23:30] <Hixie> committed
- # [23:30] <Hixie> thanks
- # [23:31] * Quits: ianloic (i=yakk@glub.dreamhostps.com) (kornbluth.freenode.net irc.freenode.net)
- # [23:31] * Quits: polvi (n=polvi@osuosl/staff/polvi) (kornbluth.freenode.net irc.freenode.net)
- # [23:31] * Quits: syp_ (n=syp@lasigpc9.epfl.ch) (kornbluth.freenode.net irc.freenode.net)
- # [23:33] * Joins: polvi (n=polvi@people.mozilla.com)
- # [23:33] <Lachy> I wish there was some way for the spec to dynamically update itself whenver Hixie makes a commit, so I don't need to keep reloading the whole thing
- # [23:33] <Hixie> hmmm...
- # [23:33] * Joins: syp_ (n=syp@lasigpc9.epfl.ch)
- # [23:34] <Hixie> that could be arranged
- # [23:34] <Lachy> cool
- # [23:34] * Quits: eseidel (n=eseidel@nat/google/x-83746444fabfede5)
- # [23:37] * Joins: roc (n=roc@202.0.36.64)
- # [23:37] <Hixie> Lachy: when i make a commit, or when i make an edit even before committing it?
- # [23:38] * Joins: eseidel (n=eseidel@216.239.45.19)
- # [23:39] <Lachy> commits would be sufficient, and would probably work better since the revision number would provide a way for it to ask the server for all updates since the last revision it received.
- # [23:39] <Lachy> so if I go offline for a little while, then I still get all the updates during that time when I return
- # [23:39] <roc> sigh
- # [23:39] <Hixie> my plan is just to reload the page
- # [23:39] <Hixie> not do DOM-level diffs
- # [23:39] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [23:39] <Lachy> oh
- # [23:39] <Hixie> which would be insane amounts of work :-)
- # [23:39] <Hixie> roc: sigh?
- # [23:39] <Philip`> Rather than automatically reloading and making readers very confused if the text they just read has vanished for no apparent reason, could it just pop up a notification box with a button to reload?
- # [23:40] <Hixie> (patches welcome though if you want to do DOM-level diffs)
- # [23:40] <Lachy> well, I wouldn't want an auto refresh for that.
- # [23:40] <Lachy> since if I'm reading a section, I don't want it to suddently disappear
- # [23:41] <Hixie> a notification would be fine too i guess
- # [23:41] <Hixie> oh hey i know how to do diffs
- # [23:41] <Philip`> Subscribe to commit-watchers with a mail client that pops up a notification box when you get new mail
- # [23:41] <Lachy> I wonder how DOM level diffs could be implemented. Might have to parse the old revision and the latest revision with html5lib, then diff the DOMs and send back the changes somehow
- # [23:41] <roc> http://derstandard.at/?url=/?id=1216918402134 ... it's Miguel de Icaza
- # [23:42] <Hixie> i could also do it client-side by parsing the new doc into a DOM
- # [23:42] <Hixie> and doing something clever with the two DOMs
- # [23:42] <Philip`> By "clever" do you mean "fragile"?
- # [23:42] <Lachy> Philip`, I'm on commit watchers, but I don't like reading it cause that whole syntax is not really readable
- # [23:43] <Hixie> roc: so sad to see someone so intelligent fall onto a treadmill like that
- # [23:43] <Philip`> Lachy: The presence of the email still serves as a notification that you should reload the spec if you're currently reading it
- # [23:44] <Lachy> if it's done server side, then that would reduce your bandwidth load, but increase processor load. But if it's done client side, then it increases everyone's bandwidth load and client side processing
- # [23:45] * Quits: Maurice (i=copyman@cc90688-a.emmen1.dr.home.nl) ("Disconnected...")
- # [23:46] <Lachy> but I guess, walking the DOMs, and comparing the innerHTML of the block level elements, and then updating and flagging the ones that change would work.
- # [23:47] * Joins: webben (n=benh@91.85.147.185)
- # [23:47] * Joins: ianloic (i=yakk@glub.dreamhostps.com)
- # [23:47] <Philip`> If one paragraph is added, how would you tell that all the subsequent paragraphs are unchanged (just offset) from the previous version?
- # [23:48] <Lachy> xmldiff might work http://www.logilab.org/859
- # [23:48] <Lachy> it says it can work with DOMs
- # [23:49] * Joins: KevinMarks (n=KevinMar@nat/google/x-ad0d3afc5ef86628)
- # [23:51] * Quits: heycam (n=cam@124-168-12-194.dyn.iinet.net.au) ("bye")
- # [23:53] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [23:56] * Quits: aaronlev (n=chatzill@f051106244.adsl.alicedsl.de) ("ChatZilla 0.9.83 [Firefox 3.1a2pre/2008073103]")
- # [23:59] <Lachy> xmldiff won't even install
- # [23:59] <Lachy> $ python setup.py install
- # [23:59] <Lachy> File "setup.py", line 23
- # [23:59] <Lachy> from __future__ import nested_scopes
- # [23:59] <Lachy> SyntaxError: from __future__ imports must occur at the beginning of the file
- # Session Close: Tue Aug 05 00:00:00 2008
The end :)