AngleSharp.Xml
AngleSharp.Xml copied to clipboard
Namespace declaration processed first. Issue 22
If a namespace is declared after an attribute that uses that namespace, the namespace should still be correctly identified. This code change causes any namespace declarations to be processed before other attributes.
Types of Changes
Prerequisites
Please make sure you can check the following two boxes:
- [/] I have read the CONTRIBUTING document
- [/] My code follows the code style of this project
Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:
- [/] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
- [/] I have added tests to cover my changes
- [/] All new and existing tests passed
Description
This code change causes any namespace declaration attributes to be processed before the other attributes, so if they make use of said namespaces, the namespace will have been registered and will be properly identified.