Skip to content

Instantly share code, notes, and snippets.

@gchiu
Created May 16, 2017 04:57
Show Gist options
  • Select an option

  • Save gchiu/fdfaf0fcc1045f58cbbdfe6f628ab3ed to your computer and use it in GitHub Desktop.

Select an option

Save gchiu/fdfaf0fcc1045f58cbbdfe6f628ab3ed to your computer and use it in GitHub Desktop.
altxml error
rebol []
import <xml>
content: {<div class='partial'>google$ probe to string! read http://www.rebol.com <br> ^{&lt;!doctype html&gt; <br> &lt;html&gt;&lt;head&gt; <br> &lt;meta name=&quot;generator&quot; content=&quot;REBOL WIP Wiki&quot;/&gt; <br> &lt;meta name=&quot;date&quot; content=&quot;3-Aug-2016/5:30:21&quot;/&gt; <br> &lt;meta name=&quot;rebol-version&quot; content=&quot;2.100.97.4.2&quot;/&gt; <br> &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=UTF-8&quot;/&gt; <br> &lt;meta http-equiv=&quot;Pragma&quot; content=&quot;no-cache&quot; /&gt; <br> &lt;meta http-equiv=&quot;Expires&quot; content=&quot;-1&quot; /&gt; <br> &lt;meta http-equiv=&quot;Cache-Control&quot; content=&quot;no-cache&quot; /&gt; <br> &lt;meta name=&quot;Description&quot; content=&quot;REBOL: a lightweight computer language with advanced semantics. Site includes products, downloads, documentation, and<span>&hellip;</span></div>}
decode-xml content
comment {
>> do %decodexml.reb
Script: Untitled Version: Date:
** Script Error: ns/:char has no value
** Where: any subparse subparse subparse subparse parse either decode-xml do catch either either --anonymous-- do
** Near: ... ns/:char ?? 63
** File: ../src/core/c-eval.c
** Line: 1637
ⓘ Note: use WHY for more error information
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment