cl-html5-parser
cl-html5-parser copied to clipboard
HTML5 parser for Common Lisp
cl-html5-parser 74a92eb3a183a0afd089ea33350e816e6b9aeefa ``` WARNING: Deprecated recursive use of (ASDF/OPERATE:OPERATE 'ASDF/LISP-ACTION:LOAD-OP '("cl-html5-parser-tests")) while visiting (ASDF/LISP-ACTION:TEST-OP "cl-html5-parser") - please use proper dependencies instead ```
When running on Windows, the default end-of-line style in flexi-streams, which is specified by **flexi-streams::\*default-eol-style\***, is **:CRLF** (in\/specials.lisp). That means all calls to flexi-streams functions which do not specified the...
Currently on LispWorks it fails to compile becaus eof an error inputstream.lisp, the same as on abcl, ccl and mezzano. Need to add lispworks to the conditionalization inside the value...
This should fix https://github.com/rotatef/cl-html5-parser/issues/26. ``` (html5-parser:parse-html5 "" :dom :cxml) => # ... All Slots: [ ] CHILDREN = #(# #) [ ] DOC-TYPE = # ... ```
I've seen some documents in the wild that have a `` comment block before the first `html` node (but after ``). I'm not super sure if that's "valid", but it...
In this example, `(html5-parser:parse-html5 "Please turn on Javascript.")` the noscript element's CHILD-NODES is this. `(#)` Why does cl-html5-parser choose to treat the child element as just text, instead of parsing...
Currently you need to specify encoding explicitly when parsing from a stream. This is quite annoying.
**Code:** ``` (html5-parser:parse-html5 "Parse some HTML" :dom :xmls) ``` **Result:** ``` debugger invoked on a TYPE-ERROR in thread #: The value 0 is not of type (OR NULL (INTEGER 1...
We have no tests that ensure the correct errors are emitted from the parser, and in the right order.
The library reflects the state of HTML5 as of medio-2012. Later changes to the evolving standard have not been implemented.