Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: Invalid project.xml XML file.
Failure detected with 'xmlstarlet' and 'xpath': ``` prompt> xmlstarlet val -w ./project.xml ./project.xml - invalid prompt> xpath ./project.xml '/project/text()' duplicate attribute at line 8, column 4, byte 242: email = "[email protected]" url = "https://github.com/zeromq/zyre" license = "MPL-2.0" ===^ repository = "https://github.com/zeromq/zyre" unique_class_name = "0" at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187. prompt> ``` Confirmation: ``` <project name = "zyre" description = "an open-source framework for proximity-based P2P apps" script = "zproject.gsl" license = "MPL-2.0" <--- email = "[email protected]" url = "https://github.com/zeromq/zyre" license = "MPL-2.0" <--- Duplicate entry. repository = "https://github.com/zeromq/zyre" unique_class_name = "0" > ``` Solution: Remove the 2nd redundant entry. Thankfully, both are identical. Note zeromq#1: > Introduced with zeromq#538 merge and fixed twice with > - 0790f17 > - e13e990 > :-) Note zeromq#2: > The same tools report also invalid XML for api/*.api files. > Fixing both would change too much documentations...
- Loading branch information