a33bb2833b
Expand documentation
2021-10-11 15:12:47 -04:00
c8c06412d1
Simplify parser API
2021-10-11 12:12:33 -04:00
21fd99e40a
Remove most uses of parser exceptions
2021-10-10 15:03:26 -04:00
a6df609348
Remove all references to "tree builder"
2021-10-10 11:24:41 -04:00
ed42264348
Rename "tree builder" to "tree constructor"
...
This more closely matches modern specification nomenclature
2021-10-10 11:18:15 -04:00
6de6599411
Fix one last test
2021-10-10 11:10:58 -04:00
32780838bf
Remove subproject for WPT tests
2021-10-10 10:14:07 -04:00
e26af87ee4
Tests for XML declaration-base encoding detection
...
Also adds a setting for controlling the number of pre-scan bytes
2021-10-10 09:36:38 -04:00
a3f83c92cf
Update tooling
2021-10-09 21:38:50 -04:00
595de366f2
Clean up robo file
2021-10-09 16:56:39 -04:00
7901593961
Fix for the "after body" mode
2021-10-09 16:17:11 -04:00
29127c51ee
Update encoding pre-scan
...
Official tests are available in WPT,but will need a new test harness
2021-10-08 23:23:33 -04:00
4b5248f75a
Address most remaining test mismatches
2021-10-08 19:21:09 -04:00
4e8b8c8945
Resolve ambiguity in foreign content tests
...
This seems to violate the specification, but should be harmless
2021-10-08 09:38:27 -04:00
b34774fdec
Simplify foreign content processing
2021-10-07 23:12:58 -04:00
f9ed170c3b
Ignore failure with xmlns test
2021-10-07 00:01:40 -04:00
beefeb66a6
Patch errors in tests properly
2021-10-06 23:44:14 -04:00
4b5d3c4be5
Patch out old errors less incorrectly
...
The truly correct way is to map new error symbols to one or more old
error symbols, to come later
2021-10-06 21:20:25 -04:00
1b24ea7a5b
Remove most test patches
...
Duplicate symbols should be removed only if there are also new errors;
this will come in a later commit.
Tests indicative of genuine errors are skipped for now.
2021-10-06 20:34:05 -04:00
905ea234bc
Align parser better with test suite
...
1. Null-character tree construction errors have been added
2. Comments outside the root element are now tested for correctly
2021-10-06 14:05:43 -04:00
1a0875c2df
Emit one parse eror per character-related error
2021-10-05 23:11:17 -04:00
fcf162f8e6
Fix the last error and most remaining failures
2021-10-05 09:48:22 -04:00
ff8ed85414
Fix up most namespace-related failures
2021-10-04 20:31:45 -04:00
13b0d0fe4f
Update for spec changes
2021-10-04 20:27:45 -04:00
4f2219edb7
Commit more fixes
...
Some remaining failures are due to spec/test changes
2021-10-04 13:46:52 -04:00
2a470c1008
Partially working HTML namespace support
2021-10-04 09:58:32 -04:00
6ee9f0ccc2
More PI tests
2021-10-01 22:46:52 -04:00
27f5b75367
Use pre-fifth edition XML name production
2021-10-01 22:45:21 -04:00
a88a3ae107
Support processing instructions
...
More tests are needed, but basic functionality has been validated
2021-09-30 22:59:03 -04:00
c6c3f725d0
More tests and fixed for encing changing
2021-09-29 18:39:46 -04:00
d0de04d870
Add some encoding-change tests and fix some bugs
2021-09-29 13:30:02 -04:00
5c34ede010
Document another known limitation
2021-09-28 16:23:46 -04:00
49764a4567
Doucment known deviations from the specification
2021-09-28 16:15:07 -04:00
8ef1e7faf6
Prototype implementation of changing of encoding
2021-09-27 19:44:31 -04:00
a1fb76a557
Implement fallback encoding setting
2021-09-27 16:14:20 -04:00
4dec2ea2c1
Clean up parse error handling
2021-09-27 12:23:54 -04:00
8115ac07d5
Provide basic API
2021-09-26 16:09:27 -04:00
3c8cc21064
Remove DOM features and related
2021-09-26 15:49:13 -04:00
3111c57a86
Move files
2021-09-26 15:48:44 -04:00
b99cb53c57
DOM still a mess, but committing what I have for the moment
2021-09-26 11:19:09 -05:00
f6fbe48c57
Return value on Parser::parse is now \DOMDocument
2021-09-25 15:47:57 -05:00
88af223a89
Parse to an unmodified DOM
2021-09-25 16:20:22 -04:00
a930055366
Update dependencies
2021-09-25 10:04:12 -04:00
62db85f571
Fix error in serializer
2021-09-25 10:03:56 -04:00
5f1c26d5da
Starting work on DOM spec mixins
2021-09-24 16:23:32 -05:00
9d2b4acdae
Created MagicProperties trait for managing getters and setters
2021-09-24 15:32:11 -05:00
637474cfba
Make XPath object only created if asked for in Document
2021-09-24 12:34:07 -05:00
f40003997f
Made variable name more clear in getElementsByClassName
2021-09-24 11:47:19 -05:00
19bcf7edb9
Error with bogus xpath query on element nodes in getElementsByClassName
2021-09-24 11:45:39 -05:00
1ca312d8c6
Added getElementsByClassName to DOM
2021-09-24 11:35:18 -05:00