-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: XML DTD or some form of XML schema validation #200
Comments
@dmach I think we've discussed this before, we should come to some kind of agreement about how we're going to do this. I think it is necessary for being able to add metadata validation to createrepo_c (which we don't currently have...). |
Yes, this would be great. |
We do have a repo with some files collected on theoretical schemas for this: https://pagure.io/rpm-metadata We need to figure out an official schema to replace those. |
Slight sidenote, there's a couple of metadata features that createrepo_c supports that aren't covered by the test fixtures (though I'm sure they work fine). repomd.xml
filelists.xml
Having a single small-ish test fixture that covers all of the features at once would be helpful. I may see what I can do in that area since I'm working on a related side project. |
After some digging I found the originals from Duke University on archive.org, they are fairly basic though. https://web.archive.org/web/20070705102649/http://linux.duke.edu/projects/metadata/dtd/ Examples:
repomd.dtd
filelists.dtd
|
I would find it really useful to have an authoritative reference for the XML structure that is generated from the createrepo family of tools for metadata validation (that could potentially be used in CI processes to validate changes to metadata format/standard).
Examples (but not limited to):
The text was updated successfully, but these errors were encountered: