Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XML] Fix folding of tags with fully qualified names
This commit fixes an issue, which confused syntax based folding, if fully qualified tag names are involved. ```xml <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Data"> <xs:complexType> <xs:sequence> <!--Allowing arbitrary element names--> <xs:any maxOccurs="unbounded" processContents="lax"/> </xs:sequence> <!--Element names must be unique--> <xs:assert test="every $child in * satisfies not($child/preceding::*[name() = name($child)])"></xs:assert> </xs:complexType> </xs:element> </xs:schema> ```
- Loading branch information