View Full Version : Value of Attribute "Class" is Invalid Error


TFaire
09-19-2011, 05:46 PM
When trying to upload to Smashwords everything worked except for one error in .epub format.

ERROR: tyrannosaur-faire.epub/tmp_ded79451e6cdf468341bacf6042b5951_3UfrAW.ch.fix ed.fc.tidied.stylehacked.xfixed_split_015.html(20) : value of attribute "class" is invalid; must be a list of XML NMTOKENs

Can someone please tell me what this means and how to correct it?

Thanks.

DiapDealer
09-19-2011, 07:09 PM
We just don't have the necessary info to help with most Smashwords' meatgrinder errors—except in the most generic way. The error itself means that there's something wrong with the value of the CLASS attribute of an html tag near line 20. The problem is... you're not writing html. You only have a Word Document to work with. You don't have access to the file that has the bad class value in it, because it's a temporary file that the meatgrinder creates as an intermediate step on its way to becoming an epub. :shrug:

TFaire
09-23-2011, 12:25 PM
I found the answer. The problem lay in the NCX table. As usual Word put in hidden bookmarks. Once those were removed the file sailed through. Always check for hidden bookmarks in Word.