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
J. King
5c34ede010
Document another known limitation
3 years ago
J. King
49764a4567
Doucment known deviations from the specification
3 years ago
J. King
8ef1e7faf6
Prototype implementation of changing of encoding
3 years ago
J. King
a1fb76a557
Implement fallback encoding setting
3 years ago
J. King
4dec2ea2c1
Clean up parse error handling
3 years ago
J. King
8115ac07d5
Provide basic API
3 years ago
J. King
3c8cc21064
Remove DOM features and related
3 years ago
J. King
3111c57a86
Move files
3 years ago
Dustin Wilson
b99cb53c57
DOM still a mess, but committing what I have for the moment
3 years ago
Dustin Wilson
f6fbe48c57
Return value on Parser::parse is now \DOMDocument
3 years ago
J. King
88af223a89
Parse to an unmodified DOM
3 years ago
J. King
a930055366
Update dependencies
3 years ago
J. King
62db85f571
Fix error in serializer
3 years ago
Dustin Wilson
5f1c26d5da
Starting work on DOM spec mixins
3 years ago
Dustin Wilson
9d2b4acdae
Created MagicProperties trait for managing getters and setters
3 years ago
Dustin Wilson
637474cfba
Make XPath object only created if asked for in Document
3 years ago
Dustin Wilson
f40003997f
Made variable name more clear in getElementsByClassName
3 years ago
Dustin Wilson
19bcf7edb9
Error with bogus xpath query on element nodes in getElementsByClassName
3 years ago
Dustin Wilson
1ca312d8c6
Added getElementsByClassName to DOM
3 years ago
Dustin Wilson
afafbe3c31
Fixed a couple of pretty printing bugs
3 years ago
Dustin Wilson
9899b2fb81
Finishing up pretty printing
3 years ago
Dustin Wilson
9177ed6074
Cleaning up
3 years ago
Dustin Wilson
a8d146fad4
Pretty printing works (mostly) but is a mess right now lol
3 years ago
Dustin Wilson
82eb4828ed
More pretty printing work, cleanup of DOM methods
3 years ago
Dustin Wilson
ebcf7d091e
Continuing work on pretty printing
• New abstract class AbstractElement. Exists so Element can extend new
getters inherited from ContainerNode.
• Folded all serialization functionality into Document, but each node
type's __toString method still works.
• Text now has a couple of nonstandard sibling methods, but those will
be put in their own trait in the future as it's duplicate code from
Element
• ContainerNode and Element both now contain some DOM4 properties
3 years ago
Dustin Wilson
70f8769c93
Starting to move all DOM actual serialization to Document::serialize
3 years ago
Dustin Wilson
8be1364737
Started work on pretty printing
3 years ago
Dustin Wilson
4a7511dd49
More docs theming
3 years ago
Dustin Wilson
26444ee896
Started theming the docs
3 years ago
Dustin Wilson
cab43b27fc
Added Comment to documentation
3 years ago
Dustin Wilson
36ffdc4dd2
More documentation
3 years ago
J. King
7f2f2337d4
Tests for inner/outerHTML getting
3 years ago
J. King
83653f3769
Fix getAttribute()
3 years ago
J. King
3730a8b3f3
Tests for Element::hasAttribute()
3 years ago