We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7cd6f commit c3a221aCopy full SHA for c3a221a
js/common.mjs
@@ -184,8 +184,10 @@ export function validateHead(head, logger) {
184
if(metadata.pubDateTime === null)
185
fatal(logger, "pubDateTime must be present if the document is in pub state.");
186
187
- if (metadata.pubNumber === null)
188
- logger.error("pubNumber must be specified if the document is in pub state.");
+ if (metadata.pubNumber === null) {
+ if (metadata.pubType !== OM_PUBTYPE)
189
+ logger.error("pubNumber must be specified if the document is in pub state.");
190
+ }
191
}
192
193
/* specific to OM */
0 commit comments