00:00:17  * lethjakman_laptojoined
00:00:41  <lethjakman_lapto>hey, is there a way to load a regular xml document into v8 and process its DOM structure like you would with normal javascript?
00:03:08  <alex4nder>lethjakman_lapto: you can use one of the existing javascript parsers, or look at the node.js plugins
00:05:54  <lethjakman_lapto>alex4nder: how would I load the xml document?
00:06:00  <lethjakman_lapto>nice name btw
00:07:53  <alex4nder>lethjakman_lapto: as a UTF-8 string maybe?
00:09:57  <lethjakman_lapto>would I be correct in saying that you can't directly execute a .js file with v8?
00:11:45  <alex4nder>v8 is a library, but there are plenty of shells available
00:11:49  <alex4nder>d8 for example
00:14:58  <lethjakman_lapto>thank you
00:15:40  <alex4nder>no problem
00:27:51  * lethjakman_laptoquit (Ping timeout: 252 seconds)
02:29:19  * C-Manquit (Quit: Connection reset by beer)
03:12:44  * xan_quit (Ping timeout: 252 seconds)
03:14:43  * xan_joined
03:17:29  * stalledjoined
03:51:16  * lethjakman_laptojoined
03:57:42  * lethjakman_laptoquit (Ping timeout: 252 seconds)
03:57:51  * lethjakmanjoined
07:22:16  * [[zz]]quit (Read error: Connection reset by peer)
07:23:06  * [[zz]]joined
08:54:26  * bnoordhuisjoined
09:20:35  * lethjakmanquit (Ping timeout: 256 seconds)
09:31:30  * jamespagejoined
09:38:38  * jamespagepart ("Ex-Chat")
10:46:49  * C-Manjoined
11:53:06  * jamespagejoined
12:38:43  * bnoordhuisquit (Ping timeout: 260 seconds)
13:04:50  * bnoordhuisjoined
13:13:14  * bnoordhuisquit (Ping timeout: 255 seconds)
13:18:28  * bnoordhuisjoined
14:57:12  * lethjakmanjoined
15:14:24  * lethjakmanquit (Ping timeout: 252 seconds)
15:21:44  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
15:52:02  * vltjoined
15:52:37  <vlt>Hello. Is it possible to tell the v8 engine to silently ignore any errors and continue executing the script?
15:54:18  <vlt>Example: "x = {}; x.foo = 'bar'; someUnknownFunction(); x.baz = 42; json = JSON.stringify(x); json;"
15:54:45  <vlt>I want v8 to ignore the exeption thrown at the someUnknownFunction() call.
15:54:49  <vlt>Possible?
15:58:13  * c4milojoined
16:12:51  * lethjakmanjoined
16:29:15  * bnoordhuisquit (Ping timeout: 260 seconds)
16:31:11  <guor>yes, put a large try-catch around everything
16:47:37  * bnoordhuisjoined
16:53:17  * bnoordhuisquit (Ping timeout: 255 seconds)
17:17:47  * bnoordhuisjoined
17:30:11  * bnoordhuisquit (Ping timeout: 252 seconds)
18:05:56  * c4miloquit (Remote host closed the connection)
18:21:21  * bnoordhuisjoined
18:45:53  * bnoordhuisquit (Quit: leaving)
18:56:45  * c4milojoined
19:23:59  * xan_quit (Quit: leaving)
19:27:15  <vlt>guor: Hmmm … when I put that large try/catch around it I still have one problem: everything _after_ the someUnknownFunction() will not be executed.
20:04:05  * stalledquit (Ping timeout: 255 seconds)
20:06:48  * stalledjoined
20:38:23  * C-Manquit (Quit: Connection reset by beer)
20:38:49  * C-Manjoined
22:30:47  * RT|Chatzillajoined
22:46:03  * c4miloquit (Remote host closed the connection)