Subject: [Tools-discuss] Idnits Title Bug

From: "Banghart, Stephen A. (Fed)" <[email-masked]>
Date: Tue, 11 Apr 2017 20:35:04 +0000

Henrik/Idnits maintainers,

My coworker Dave Waltermire and I have stumbled across a bug in Idnits that prevents documents with certain titles from passing the Idnits check. After going through the Idnits source we believe we have located the cause of the issue. We were submitting a draft titled: "Scope for Posture Assessment Through Posture Information Collection".

Issue: When submitting a document whose plain-text title starts with "Introduction" ,"Overview" ,"Rationale" ,"Scope" ,"Historical Background", or "Background", Idnits returns the following error:

** Expected the document's filename to be given on the first page, but didn't
     find any

Removing those words from the start of the title and making no other changes resolves the issue.

The Regex checks at lines 3121-3134 of the Idnits source are being satisfied by the title when those keywords are used as the first word, causing the check at line 3450 to fail.

Let me know if you'd like any other info.

Thanks,
Stephen Banghart