openpreserve / odf-validator

Open source Open Document Format (ODF) validation
http://odf.openpreservation.org/
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Messages in documentation, but not triggered #159

Open maria-messerschmidt opened 1 month ago

maria-messerschmidt commented 1 month ago

The following messages are listed in the documentation (https://odf.openpreservation.org/validation/), but are not triggered in the relevant circumstances. As far as I can tell, they are not in the code. I am not sure how important these are, and whether they need to be triggered or perhaps just removed from the documentation.

MAN-8 (Warning) For directories, the manifest file SHOULD contain a element only if a directory contains a document or a sub document.

MIM-6 The content of the “mimetype” file SHALL be ASCII encoded.

XML-2 Root element of XML file %s, SHALL be %s but found value %s.

maria-messerschmidt commented 4 days ago

Hi Carl. I suggest the changes are made to the documentation and then this issue can be closed. MAN-8 (and MAN-9) are not highly relevant. They are not working now, and unless there is some need for them, I suggest they are removed from the documentation. MIM-6 is not working. As discussed, this cannot work properly, but since we are validating on the specific string in the file, it should be ok. Again, this should probably just be removed from the documentation. XML-2 is not currently used. If it comes in and is used, it should stay in the documentation. If not, it should be removed.