/irc-logs / w3c / #html-wg / 2008-11-14 / end

Options:

  1. # Session Start: Fri Nov 14 00:00:00 2008
  2. # Session Ident: #html-wg
  3. # [00:01] <Hixie> document.getElementById("rfc").contentDocument is fine, but .length is undefined in Document objects, so it won't give you anything useful
  4. # [00:01] <Hixie> if you want the length of the document, there's no good way of getting it, because DOM Core doesn't guarantee that all adjacent text will be in one text node anyway
  5. # [00:02] <DanC> I tried .contentType ; same error
  6. # [00:02] * DanC switches to http://0.0.0.0:8000/tinker.html ...
  7. # [00:03] * DanC is winning with .contentType now...
  8. # [00:04] <DanC> so what I want is the text of this text/plain document in the iframe
  9. # [00:04] <Hixie> if you're lucky, it'll be in ...body.firstChild.firstChild.data
  10. # [00:04] <Hixie> but there's no guarentee that it'll all be there
  11. # [00:04] <Hixie> it might be split into multiple text nodes
  12. # [00:05] * Quits: Lachy_ (Lachlan@24.234.142.17) (Ping timeout)
  13. # [00:05] <Philip> Can't you just use textContent or whatever it's called?
  14. # [00:05] <Hixie> oh yeah ...contentDocument.textContent will work (except in IE)
  15. # [00:06] <DanC> "document.textContent Returns null (returns other values for other nodes)." -- https://developer.mozilla.org/en/DOM/document
  16. # [00:06] <pimpbot> Title: document - MDC (at developer.mozilla.org)
  17. # [00:06] <Hixie> oh, then ...contentDocument.body.textContent
  18. # [00:07] <Hixie> i suppose that makes sense; setting it would fail on document, so getting it non-null would be asymmetric
  19. # [00:07] <DanC> ok... .contentDocument.body.textContent sorta works... but .length() on the end doesn't.
  20. # [00:08] <Hixie> .length
  21. # [00:08] <Hixie> no ()
  22. # [00:08] <Hixie> it's an attribute not a method
  23. # [00:08] <DanC> and this isn't ruby.
  24. # [00:08] <DanC> aha! winning now.
  25. # [00:10] * Joins: adele_ (adele@17.203.15.224)
  26. # [00:12] * Quits: adele (adele@17.203.15.250) (Ping timeout)
  27. # [00:12] <DanC> lines[i].startswith is not a function... too much python on the head...
  28. # [00:15] * DanC puzzles over slice vs substr...
  29. # [00:16] * Joins: adele (adele@17.203.15.224)
  30. # [00:17] * Quits: adele_ (adele@17.203.15.224) (Connection reset by peer)
  31. # [00:17] <Hixie> at this point you're beyond my knowledge, i just always have the JS spec open when I'm doing string stuff in JS
  32. # [00:21] <Dashiva> DanC: slice supports negative values for start and stop
  33. # [00:22] * Quits: adele (adele@17.203.15.224) (Connection reset by peer)
  34. # [00:23] <DanC> "the JS spec"? i.e. ECMA-262?
  35. # [00:23] * Joins: adele (adele@17.203.15.224)
  36. # [00:24] <Hixie> yes
  37. # [00:24] <Dashiva> (substring vs substr is more fun)
  38. # [00:25] <DanC> I should probably use Mochikit; it seems to be the standard javascript-for-python-heads gimmick
  39. # [00:43] * DanC goes a few rounds with jslint
  40. # [00:48] * Philip tends to find jslint is slightly more pedantic than he wants
  41. # [00:49] <Philip> Also I tend to find the JS spec is unreadable, so I use Mozilla's documentation instead
  42. # [00:53] <DanC> ok, well, most of that wasn't directly relevant to the task at hand, but the code now works. http://homer.w3.org/~connolly/projects/urlp/file/622b1a5ec9f9
  43. # [00:53] <pimpbot> Title: urlp: manifest for changeset 622b1a5ec9f9 (at homer.w3.org)
  44. # [00:54] <DanC> ew... tabs... why, emacs, why?
  45. # [00:57] * Quits: billmason (bmason@69.30.57.41) (Quit: Leaving.)
  46. # [00:57] <DanC> better. http://homer.w3.org/~connolly/projects/urlp/file/8b2185b29198
  47. # [00:57] <pimpbot> Title: urlp: manifest for changeset 8b2185b29198 (at homer.w3.org)
  48. # [00:59] * Quits: maddiin (mc@87.185.230.42) (Quit: maddiin)
  49. # [01:08] * Quits: adrianba (adrianba@131.107.0.80) (Quit: leaving)
  50. # [01:13] * Quits: MichaelC (Michael@128.30.52.30) (Quit: ChatZilla 0.9.83 [Firefox 3.0.3/2008092417])
  51. # [01:24] <hober> DanC: which javascript major mode do you use? (setq-default indent-tabs-mode nil) from its mode hook and you should be good to go.
  52. # [01:27] <MikeSmith> hsivonen: yeh, most of those datatype regexps come straight from comments in the schema
  53. # [01:33] * Joins: shepazu (schepers@128.30.52.30)
  54. # [01:36] * Quits: heycam (cam@130.194.72.84) (Quit: bye)
  55. # [01:39] * Quits: adele (adele@17.203.15.224) (Quit: adele)
  56. # [01:40] * Joins: adele (adele@17.244.16.252)
  57. # [01:46] * Joins: adele_ (adele@17.203.15.224)
  58. # [01:47] * Quits: adele (adele@17.244.16.252) (Ping timeout)
  59. # [01:59] <MikeSmith> hsivonen: I just updated my v.nu local install and am getting errors "package org.relaxng.datatype does not exist" etc.
  60. # [01:59] * Quits: shepazu (schepers@128.30.52.30) (Ping timeout)
  61. # [02:00] <MikeSmith> this is on a debian system, so maybe the same classpath problem that Olivier describes
  62. # [02:03] * Quits: adele_ (adele@17.203.15.224) (Quit: adele_)
  63. # [02:22] * Quits: tH (Rob@129.11.83.58) (Quit: ChatZilla 0.9.83-rdmsoft [XULRunner 1.9.0.1/2008072406])
  64. # [02:33] * Quits: DanC (connolly@128.30.52.30) (Client exited)
  65. # [02:42] * Quits: Sander (svl@86.87.68.167) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
  66. # [02:45] <MikeSmith> hsivonen: sorry, build problem I mentioned was caused by pilot error
  67. # [02:46] <MikeSmith> but I'm getting a fatal error now when I try to run it after building
  68. # [02:46] <MikeSmith> NullPointerException in nu.validator.localentities.LocalCacheEntityResolver.<clinit>(LocalCacheEntityResolver.java:30)
  69. # [03:56] * Quits: dbaron (dbaron@63.245.220.241) (Ping timeout)
  70. # [04:37] <MikeSmith> hsivonen: hmm, getting "Reading schema failed. Terminating." prior to that
  71. # [04:38] <MikeSmith> I'll send you a full log
  72. # [04:53] <pimpbot> planet: HTML 5, the markup <http://www.w3.org/QA/2008/11/html_5_the_markup.html>
  73. # [04:57] * Joins: Thezilch (fuz007@76.171.111.7)
  74. # [04:57] * Quits: MikeSmith (MikeSmith@mcclure.w3.org) (Quit: sex break)
  75. # [05:53] <pimpbot> planet: So When Is Microsoft Going to Start Drinking the HTML5 Juice? <http://stackoverflow.com/questions/289225/so-when-is-microsoft-going-to-start-drinking-the-html5-juice>
  76. # [05:55] * Joins: MikeSmith (MikeSmith@mcclure.w3.org)
  77. # [06:34] <MikeSmith> @time
  78. # [06:34] <pimpbot> MikeSmith: 14:28 PM JST, November 14
  79. # [06:34] * Joins: dbaron (dbaron@71.204.144.136)
  80. # [06:53] <pimpbot> planet: Does IE 8 support HTML 5? <http://stackoverflow.com/questions/289225/does-ie-8-support-html-5>
  81. # [07:12] * Quits: dbaron (dbaron@71.204.144.136) (Ping timeout)
  82. # [07:14] * Joins: dbaron (dbaron@71.204.144.136)
  83. # [07:27] * Quits: dbaron (dbaron@71.204.144.136) (Quit: g'night)
  84. # [07:27] * Quits: gavin_ (gavin@99.253.193.147) (Ping timeout)
  85. # [07:31] * Joins: gavin_ (gavin@99.253.193.147)
  86. # [07:46] * Joins: adele (adele@24.7.125.179)
  87. # [07:50] <Hixie> http://www.webdirections.org/blog/html5-markup-language-first-draft-published/#more-1243
  88. # [07:50] <pimpbot> Title: HTML5 Markup Language first draft published | Web Directions (at www.webdirections.org)
  89. # [07:50] <Hixie> "In essence, it’s a web authors guide to HTML."
  90. # [07:50] <Hixie> poor lachy
  91. # [07:59] * Quits: aroben (aroben@71.58.97.175) (Quit: Leaving)
  92. # [08:35] * Joins: heycam (cam@210.84.56.87)
  93. # [08:52] * Quits: MikeSmith (MikeSmith@mcclure.w3.org) (Quit: sex break)
  94. # [09:29] * Joins: MikeSmith (MikeSmith@mcclure.w3.org)
  95. # [09:50] * Quits: Yudai (Yudai@115.163.209.140) (Ping timeout)
  96. # [09:51] * Joins: Yudai (Yudai@115.163.209.140)
  97. # [10:00] * Joins: tH (Rob@129.11.83.58)
  98. # [10:31] * Joins: ROBOd (robod@89.122.216.38)
  99. # [11:09] * Quits: Thezilch (fuz007@76.171.111.7) (Connection reset by peer)
  100. # [11:14] * Joins: myakura (myakura@122.17.190.200)
  101. # [12:01] * Joins: Sander (svl@86.87.68.167)
  102. # [13:05] * Joins: maddiin (mc@87.185.255.107)
  103. # [13:07] * Quits: MikeSmith (MikeSmith@mcclure.w3.org) (Quit: sex break)
  104. # [13:08] * Joins: MikeSmith (MikeSmith@mcclure.w3.org)
  105. # [13:12] * Quits: MikeSmith (MikeSmith@mcclure.w3.org) (Quit: sex break)
  106. # [15:04] * Quits: sryo (sryo@190.245.198.94) (Ping timeout)
  107. # [15:10] * Joins: DanC (connolly@128.30.52.30)
  108. # [15:29] * Joins: sryo (sryo@190.245.198.94)
  109. # [15:46] * Quits: sryo (sryo@190.245.198.94) (Ping timeout)
  110. # [15:55] * Joins: sryo (sryo@190.245.198.94)
  111. # [16:06] * Joins: aroben (aroben@71.58.97.175)
  112. # [16:33] * Joins: MichaelC (Michael@128.30.52.30)
  113. # [17:11] * Quits: myakura (myakura@122.17.190.200) (Quit: Leaving...)
  114. # [17:13] * Quits: gavin (gavin@63.245.208.169) (Ping timeout)
  115. # [17:18] * Joins: billmason (bmason@69.30.57.41)
  116. # [17:49] * Joins: gavin (gavin@63.245.208.169)
  117. # [18:14] * Joins: raphyque (akhenifsa@41.210.126.138)
  118. # [18:20] * Joins: shepazu (schepers@128.30.52.30)
  119. # [18:49] * Quits: shepazu (schepers@128.30.52.30) (Quit: shepazu)
  120. # [19:07] * Quits: raphyque (akhenifsa@41.210.126.138) (Quit: raphyque)
  121. # [19:25] * Quits: adele (adele@24.7.125.179) (Quit: adele)
  122. # [19:29] * Quits: maddiin (mc@87.185.255.107) (Quit: maddiin)
  123. # [19:48] * Joins: adele (adele@17.203.15.224)
  124. # [19:48] * Joins: dbaron (dbaron@63.245.220.241)
  125. # [21:06] * Joins: maddiin (mc@87.185.255.107)
  126. # [21:17] * Joins: sryo1 (sryo@190.245.198.94)
  127. # [21:17] * Quits: sryo (sryo@190.245.198.94) (Connection reset by peer)
  128. # [21:22] * Quits: Yudai (Yudai@115.163.209.140) (Ping timeout)
  129. # [21:22] * Joins: Yudai (Yudai@115.163.209.140)
  130. # [22:17] * Joins: aaronlev (chatzilla@84.97.227.22)
  131. # [22:22] * Quits: ROBOd (robod@89.122.216.38) (Quit: http://www.robodesign.ro )
  132. # [22:59] * Quits: aaronlev (chatzilla@84.97.227.22) (Ping timeout)
  133. # [23:06] * Quits: adele (adele@17.203.15.224) (Quit: adele)
  134. # [23:07] * Joins: adele (adele@17.203.15.224)
  135. # [23:19] * Quits: maddiin (mc@87.185.255.107) (Quit: maddiin)
  136. # [23:21] * Quits: MichaelC (Michael@128.30.52.30) (Quit: ChatZilla 0.9.83 [Firefox 3.0.3/2008092417])
  137. # [23:59] * Quits: adele (adele@17.203.15.224) (Quit: adele)
  138. # [23:59] * Joins: aaronlev (chatzilla@84.97.227.22)
  139. # Session Close: Sat Nov 15 00:00:00 2008

The end :)