J. King
3c647c2284
Improve coverage further
This fixes a bug with forms within templates
3 years ago
J. King
8d388ef8cd
Improve coverage
This uncovered three bugs:
- Unconsuming at EOF with error reporting off yielded incorrect tokens
- Mangled end tags in foreign content were not being matched correctly
- Broken characters produced a fatal error with error reporting on
3 years ago
J. King
973a41a39c
Fix up some tests
3 years ago
J. King
a870147008
Add docblocks
3 years ago
J. King
1fa35a7ec4
Add missing docblocks
3 years ago
J. King
2c1fb15f17
Remove obsolete static property
This was previously used for encoding fallback
3 years ago
J. King
2889107844
Flesh documentation for serializer test format
The example is still incomplete
3 years ago
J. King
3de0f4343c
Fix remaining serializer bugs
3 years ago
J. King
b8d4636664
Re-import of serializer tests
Some errors remain
3 years ago
J. King
180dcd3e51
Various corrections
3 years ago
J. King
c82127c61f
Hopefully complete serializer implementation
3 years ago
J. King
e74d0d0f31
Prototype of serializer
Templates will need further handling
3 years ago
J. King
e6d908a0ed
Start on serializer
3 years ago
J. King
c06caaabab
Remove masterminds from dev dependencies
3 years ago
J. King
aa4e294391
Add keywords for Packagist
3 years ago
J. King
0f6410b974
Typo fix
3 years ago
J. King
390750e182
Add usage examples
3 years ago
J. King
b137058808
Remove internal hyperlinks from documentation
3 years ago
J. King
7b9a6ca472
Fix fragment parsing with template context
3 years ago
J. King
a33bb2833b
Expand documentation
3 years ago
J. King
c8c06412d1
Simplify parser API
3 years ago
J. King
21fd99e40a
Remove most uses of parser exceptions
3 years ago
J. King
a6df609348
Remove all references to "tree builder"
3 years ago
J. King
ed42264348
Rename "tree builder" to "tree constructor"
This more closely matches modern specification nomenclature
3 years ago
J. King
6de6599411
Fix one last test
3 years ago
J. King
32780838bf
Remove subproject for WPT tests
3 years ago
J. King
e26af87ee4
Tests for XML declaration-base encoding detection
Also adds a setting for controlling the number of pre-scan bytes
3 years ago
J. King
a3f83c92cf
Update tooling
3 years ago
J. King
595de366f2
Clean up robo file
3 years ago
J. King
7901593961
Fix for the "after body" mode
3 years ago
J. King
29127c51ee
Update encoding pre-scan
Official tests are available in WPT,but will need a new test harness
3 years ago
J. King
4b5248f75a
Address most remaining test mismatches
3 years ago
J. King
4e8b8c8945
Resolve ambiguity in foreign content tests
This seems to violate the specification, but should be harmless
3 years ago
J. King
b34774fdec
Simplify foreign content processing
3 years ago
J. King
f9ed170c3b
Ignore failure with xmlns test
3 years ago
J. King
beefeb66a6
Patch errors in tests properly
3 years ago
J. King
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
3 years ago
J. King
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.
3 years ago
J. King
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
3 years ago
J. King
1a0875c2df
Emit one parse eror per character-related error
3 years ago
J. King
fcf162f8e6
Fix the last error and most remaining failures
3 years ago
J. King
ff8ed85414
Fix up most namespace-related failures
3 years ago
J. King
13b0d0fe4f
Update for spec changes
3 years ago
J. King
4f2219edb7
Commit more fixes
Some remaining failures are due to spec/test changes
3 years ago
J. King
2a470c1008
Partially working HTML namespace support
3 years ago
J. King
6ee9f0ccc2
More PI tests
3 years ago
J. King
27f5b75367
Use pre-fifth edition XML name production
3 years ago
J. King
a88a3ae107
Support processing instructions
More tests are needed, but basic functionality has been validated
3 years ago
J. King
c6c3f725d0
More tests and fixed for encing changing
3 years ago
J. King
d0de04d870
Add some encoding-change tests and fix some bugs
3 years ago