Open GoogleCodeExporter opened 9 years ago
Hopefully the message would be accompanied by the line-number and column-number
of the start-tag concerned. Assuming this is so, I do not yet understand in
what way this message is confusing. It is telling you which attribute has the
problem and what the problem is. Can you give an example of a message that
would not have confused you?
Original comment by j...@jclark.com
on 29 Aug 2013 at 11:25
I see no one has followed up on this question, so I thought I would, since I just encountered the problem myself. I agree with the OP that the error message is confusing, and implies a problem with a colon character (when in fact the problem I was diagnosing was an epub where the creating software had begun the ID with a digit).
My suggested wording for the error message would be:
value of attribute "id" is invalid; must meet rules for an XML "NCName" (first character letter or underscore, followed by alphanumerics, underscores, or dashes)
A bit longer, but I think clearer, especially since the error message may be seen by people unfamiliar with XML syntax (such as authors getting error messages from "epubcheck", which uses jing-trang). :) Thanks for considering it!
Original issue reported on code.google.com by
flie...@gmail.com
on 28 Aug 2013 at 11:41