MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Error XML not well formed - Please help! (https://www.mobileread.com/forums/showthread.php?t=286731)

beellis 05-25-2017 09:20 AM

Error XML not well formed - Please help!
 
Hi there,
I am rather new to the ebook world. Apologies is a similar thread already exists. I am seeing this error after converting a word doc to xhtml with notepad++

"Error XML not well formed: attribute name near column 11"

I've tried deleting bits and nothing I do seems to fix it..it doesn't look wrong to me...any suggestions? Thanks!

Code:

<?xml version="1.0" encoding="utf-8" ?>
<package unique-identifier="BookId" version="2.0" xmlns="http://www.idpf.org/2007/opf">
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
    <dc:identifier id="BookId" opf:scheme="UUID">urn:uuid:2bc70065-7d5d-481c-9e1d-338b5ed4dba6</dc:identifier>
    <dc:language opf:scheme="DCTERMS.RFC4646">en-US</dc:language>
    <dc:source>http://xml.openoffice.org/odf2xhtml</dc:source>
    <dc:creator>Briana Ellis</dc:creator>
    <dc:dc:date opf:event="publication" opf:scheme="DCTERMS.W3CDTF">2017-05-25T11:24:00</dc:dc:date>
    <dc:contributor>Briana Ellis</dc:contributor>
    <dc:dc:date opf:event="modification" opf:scheme="DCTERMS.W3CDTF">2017-05-25T11:24:00</dc:dc:date>
    <dc:subject>,</dc:subject>
  </metadata>
  <manifest>
    <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/>
    <item href="Text/Carmilla%20V3.xhtml" id="Carmilla_V3.xhtml" media-type="application/xhtml+xml"/>
  </manifest>
  <spine toc="ncx">
    <itemref idref="Carmilla_V3.xhtml"/>
  </spine>
  <guide>
  </guide>
</package>


DiapDealer 05-25-2017 10:19 AM

Code:

dc:dc:date
Should be just:

Code:

dc:date
It occurs twice in your sample.


All times are GMT -4. The time now is 10:14 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.