Moved to InDesign EPUB forum.
We need more information. For starters:
(1) Version of InDesign? Computer platform?
(2) EPUB2 or EPUB3?
(3) If InDesign CC, reflowable EPUB or Fixed Layout EPUB?
(4) What tool did you use to validate your EPUB?
Please elaborate more on the warnings issue that you are trying to solve and yes as Steve already asked, please specify version, EPUB format and tool used for validation. This would help us understand your problem and guide you appropriately.