pulp_distribution.xml fails to conform to many of the XML recommendations and standards.
The XML specification states that an XML document should include an XML declaration of which version of XML is being used, as well as the character encoding used in the document. The XML document we use does not do this. The prolog (for example "") should be the first line of the document.
XML documents should be in a namespace, but ours is not. A namespace should be something along the lines of "<something xmlns:"http://somehost/with/our/schema\>...\</something>". Since we don't do that, we don't include a schema with our document, either. The schema is located at https://github.com/pulp/pulp_rpm/blob/1ebbd75e8b076fd5d00c95b91c1c1ad26006ed52/plugins/usr/share/pulp-rpm/pulp_distribution.xsd
#2 Updated by bmbouter over 2 years ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Please register to edit this issue