---
title: "Error while parsing file 'value of attribute \"id\" is invalid'"
description: Open the book with Sigil, a professional ebook editor and look for the file in question. We recommend that authors use Sigil for ebook conversion. It is free to use tool many professionals use. We hav
---

[Skip to content](https://help.publishdrive.com/error-while-parsing-file-value-of-attribute-id-is-invalid#main-content)

English

Show submenu for translations

[More support](https://help.publishdrive.com/kb-tickets/new?hsLang=en)

![pd-white.png\]](https://help.publishdrive.com/hs-fs/hubfs/pd-white.png?height=38&name=pd-white.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [More support](https://help.publishdrive.com/kb-tickets/new)
- Go to publishdrive.com

 Go to publishdrive.com

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [PublishDrive Help Center](https://help.publishdrive.com/?hsLang=en)
2. [Book Upload And Correction](https://help.publishdrive.com/book-upload-and-correction?hsLang=en)
3. [Book Correction And Common Errors](https://help.publishdrive.com/book-upload-and-correction?hsLang=en#book-correction-and-common-errors)

# Error while parsing file 'value of attribute "id" is invalid'

Open the book with Sigil, a professional ebook editor and look for the file in question. We recommend that authors use Sigil for ebook conversion. It is free to use tool many professionals use. We have [a guide on how to get started with it](http://publishdrive.com/sigil-guide?hsLang=en).

ERROR(RSC-005): EPUB/toc.ncx(14,71): Error while parsing file 'value of attribute "id" is invalid; must be an XML name without colons'.

The message means that you'll have to open the toc.ncx file within the epub and look for line 14. The lines will be marked. Here look for the tag 'id'.

Check the id: it should only contain latin letters and numbers. No spaces, no punctuation marks or colons.

For example, if you see

id="picture 1" change it to id="picture1".

And if you see

id="bd:4e:bh:35" change it to id="item1".

It does not matter what you write as an id as ids will be hidden in the code and won't display at the users screen. Don't forget to refresh the table of contents once you are done to make sure that every id points to the correct place.

- [Book Upload And Correction](https://help.publishdrive.com/book-upload-and-correction?hsLang=en#main-content)

    - [Uploading A Book](https://help.publishdrive.com/book-upload-and-correction?hsLang=en#uploading-a-book)
    - [Book Correction And Common Errors](https://help.publishdrive.com/book-upload-and-correction?hsLang=en#book-correction-and-common-errors)
    - [Ebook Conversion](https://help.publishdrive.com/book-upload-and-correction?hsLang=en#ebook-conversion)
    - [Content Guidelines](https://help.publishdrive.com/book-upload-and-correction?hsLang=en#content-guidelines)
- [Stores And Distribution](https://help.publishdrive.com/stores-and-distribution?hsLang=en#main-content)

    - [Store Selection](https://help.publishdrive.com/stores-and-distribution?hsLang=en#store-selection)
    - [Publishing Status](https://help.publishdrive.com/stores-and-distribution?hsLang=en#publishing-status)
    - [Partner Stores And Special Terms](https://help.publishdrive.com/stores-and-distribution?hsLang=en#partner-stores-and-special-terms)
    - [Terms Of Distribution](https://help.publishdrive.com/stores-and-distribution?hsLang=en#terms-of-distribution)
    - [Payout Terms](https://help.publishdrive.com/stores-and-distribution?hsLang=en#payout-terms)
- [Account, Subscription and Pricing](https://help.publishdrive.com/account-subscription-and-pricing?hsLang=en#main-content)

    - [Subscription Options](https://help.publishdrive.com/account-subscription-and-pricing?hsLang=en#subscription-options)
    - [Account Management](https://help.publishdrive.com/account-subscription-and-pricing?hsLang=en#account-management)
    - [About PublishDrive](https://help.publishdrive.com/account-subscription-and-pricing?hsLang=en#about-publishdrive)
    - [PublishDrive Distribution](https://help.publishdrive.com/account-subscription-and-pricing?hsLang=en#publishdrive-distribution)
- [Royalty Payments And Sales Analytics](https://help.publishdrive.com/royalty-payments-and-sales-analytics?hsLang=en#main-content)

    - [Sales Analytics](https://help.publishdrive.com/royalty-payments-and-sales-analytics?hsLang=en#sales-analytics)
    - [Royalty Payments](https://help.publishdrive.com/royalty-payments-and-sales-analytics?hsLang=en#royalty-payments)
- [Marketing And Promotion](https://help.publishdrive.com/marketing-and-promotion?hsLang=en#main-content)

    - [Promotion Tools On PublishDrive](https://help.publishdrive.com/marketing-and-promotion?hsLang=en#promotion-tools-on-publishdrive)
    - [Marketing Tips](https://help.publishdrive.com/marketing-and-promotion?hsLang=en#marketing-tips)
- [Print-On-Demand And Audio Distribution](https://help.publishdrive.com/print-on-demand-and-audio-distribution?hsLang=en#main-content)

    - [Audiobook Distribution](https://help.publishdrive.com/print-on-demand-and-audio-distribution?hsLang=en#audiobook-distribution)
    - [Print-On-Demand Distribution](https://help.publishdrive.com/print-on-demand-and-audio-distribution?hsLang=en#print-on-demand-distribution)
- [PublishDrive Abacus](https://help.publishdrive.com/publishdrive-abacus?hsLang=en#main-content)

    - [Team Royalties](https://help.publishdrive.com/publishdrive-abacus?hsLang=en#team-royalties)
    - [PublishDrive Abacus](https://help.publishdrive.com/publishdrive-abacus?hsLang=en#publishdrive-abacus)
- [Publishing Assistant](https://help.publishdrive.com/publishing-assistant?hsLang=en)
- [PublishDrive Essentials](https://help.publishdrive.com/publishdrive-essentials?hsLang=en#main-content)

    - [First Steps With PublishDrive](https://help.publishdrive.com/publishdrive-essentials?hsLang=en#first-steps-with-publishdrive)
- [Exclusive Copyright Documents / Trademarks](https://help.publishdrive.com/exclusive-copyright-documents-trademarks?hsLang=en)
- [General Information](https://help.publishdrive.com/general-information?hsLang=en)

[![Chill listening crop-3](https://help.publishdrive.com/hs-fs/hubfs/publishdrive_logos_rgb-02.png?width=55&height=55&name=publishdrive_logos_rgb-02.png "Chill listening crop-3")](http://publishdrive.com?hsLang=en)

PublishDrive Help Center

Copyright © 2026, PublishDrive Inc.