What's the proper way of validating a PND? I had my problems with it once again, after things worked without issues for quite some time. But yesterday I updated the "/usr/pandora/scripts/PXML_schema.xsd" and after that pnd_make.sh (or xmllint) spit out errors. After a long time of trying arround, I managed to get a working version without errors. But for that I had to completely remove the <package>-block.
I doubt very much that this is the supposed way of doing things since i expect http://repo.openpandora.org/ to make use of it. I didn't yet try to upload the new pnd to the repo since I expect confusion to happen with the <package>-block missing.
Now I could still add the block and forget about validating the PXML, but that's not exactly the way validation should work. Isn't it?
It would be nice if there would be a way to validate a PND so that it fullfills the PXML-standard AND the repo.
Also the wiki-pages about validation are rather outdated, unfinished and confusing. For example the largest part of this page is out dated. Why isn't it simply deleted then? And the examples that point to the git and thus should be up to date, don't even mention
"<PXML xmlns="http://openpandora.o...espaces/PXML">"
but just
"<PXML>"
which leads to an error while validating at once. I know that that the idea behind the wiki is that everybody (including me) can make changes (hopefully improvements), but I simply don't feel firm enough about the topic to edit them.
I doubt very much that this is the supposed way of doing things since i expect http://repo.openpandora.org/ to make use of it. I didn't yet try to upload the new pnd to the repo since I expect confusion to happen with the <package>-block missing.
Now I could still add the block and forget about validating the PXML, but that's not exactly the way validation should work. Isn't it?
It would be nice if there would be a way to validate a PND so that it fullfills the PXML-standard AND the repo.
Also the wiki-pages about validation are rather outdated, unfinished and confusing. For example the largest part of this page is out dated. Why isn't it simply deleted then? And the examples that point to the git and thus should be up to date, don't even mention
"<PXML xmlns="http://openpandora.o...espaces/PXML">"
but just
"<PXML>"
which leads to an error while validating at once. I know that that the idea behind the wiki is that everybody (including me) can make changes (hopefully improvements), but I simply don't feel firm enough about the topic to edit them.
Last edited by a moderator: