Open marisademeglio opened 4 years ago
JSON file with message:
To get messages: https://github.com/w3c/epubcheck/blob/master/src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties
To find severities: https://github.com/w3c/epubcheck/blob/master/src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java
For specifications: https://github.com/w3c/epubcheck/blob/master/src/test/resources/epub3/package-document.feature
Is the JSON file you're talking about the format you'd like to receive once the messages are parsed?
I haven't gone ahead with a message parser yet as I believe a code refactor may still be pending (see #5). @rdeltour can tell us more.
@marisademeglio I had a call with Gregorio and we agreed he could start creating a JSON file that would hold all the message information (codes, messages, description, spec references). At first this will be duplicating the bits that are already in EPUBCheck’s source code, but ultimately this JSON file will become the master source when I refactor the messaging system.
I setup the job, for the moment I filtered out the messages that are "suggestion" or suppressed
My doubts/1:
My doubts/2:
My doubts/3:
Only now I realized that the "usage" level messages are not printed by default and that maybe it doesn't make sense to describe them all :(
My doubts/4:
My doubts/5:
My doubts/6:
My doubts/7:
Under "messages documentation" subsection.
Generated automatically from the parsing done in #5