Closed eljakim closed 10 years ago
Thanks for reporting. Should be fixed now and hopefully it doesnt break anything else.
Actually, XML-tags can also contain colons to indicate a namespace.
That case is still not handled properly.
<page>
<a:bla>
</a:bla>
<b:bla>
</b:bla>
</page>
I have not tested all valid XML-tags from http://www.w3.org/TR/xml11/#sec-common-syn , only the things we use.
good point. perhaps it is time to read the standards document.
If you're up to the task and have the time, feel free to submit a pull request for a regex that captures valid xml tags, otherwise I will work on it incrementally over the next few days until i think it works well enough.
This should now be fixed with the latest version. Feel free to reopen the issue if needed.
If there are dots in the tagnames in the XML-document only the last tag with a dot in it can be collapsed.
To reproduce: create an XML document that has the following content.