You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an ID attribute (I found the issue on the id attribute of an item in the OPF manifest) starts with an illegal character (a number, in my case), the error message given is 'value of attribute "id" is invalid; must be an XML name without colons'.
That's true, but made me think the issue is with colons in the name. It'd be nice if it was clearer about the issue; ideally giving the exact issue with the specific name. If it needs to be a single message for all cases, it'd be nice if it was rewritten for clarity - possibly "must be an XML name, and cannot contain colons", to emphasize there are two rules in play. Or actually mentioning the constraints on an XML name (or a URL to them).
This message is indeed suboptimal, but comes from Jing, so EpubCheck does not really have control over the message contents. I suggest you report this to the jing-trang project on google code instead.
From PeterSHa...@gmail.com on June 29, 2012 01:21:08
When an ID attribute (I found the issue on the id attribute of an item in the OPF manifest) starts with an illegal character (a number, in my case), the error message given is 'value of attribute "id" is invalid; must be an XML name without colons'.
That's true, but made me think the issue is with colons in the name. It'd be nice if it was clearer about the issue; ideally giving the exact issue with the specific name. If it needs to be a single message for all cases, it'd be nice if it was rewritten for clarity - possibly "must be an XML name, and cannot contain colons", to emphasize there are two rules in play. Or actually mentioning the constraints on an XML name (or a URL to them).
Original issue: http://code.google.com/p/epubcheck/issues/detail?id=193
The text was updated successfully, but these errors were encountered: