I've tried adding metadata to my .opf file, but now my file won't validate.
Can anyone tell me what's wrong with this metadata?
<package version="2.0" xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns
pf="http://www.idpf.org/2007/opf">
<dc:title>Globalizing Citizenship</dc:title>
<dc:creator opf:role="aut">Rygiel, Kim</dc:creator>
<dc
ublisher>UBC Press</dc
ublisher>
<dc:format>epub</dc:format>
<dc:date opf:event="original-publication">2010</dc:date>
<dc:date opf:event="epub-publication">2011-06-12</dc:date>
<dc:subject>Citizenship</dc:subject>
<dc:subject>Emigration and immigration - Government policy</dc:subject>
<dc:subject>Globalization - social aspects</dc:subject>
<dc:rights>Copyright 2010</dc:rights>
<dc:identifier id="BookId" opf:scheme="ISBN">9780774859486</dc:identifier>
<dc:language>en</dc:language>
<meta name="cover" content="img_5"/>
</metadata>
<manifest>
epubcheck is giving me the following error message:
1. ERROR: Globalizing Citizenship - Rygiel, Kim.epub/OEBPS/Kim_ISBN9780774859486_epub_opf_r1.opf(20): element "metadata" incomplete; missing required element "dc:identifier"
2. ERROR: Globalizing Citizenship - Rygiel, Kim.epub/OEBPS/Kim_ISBN9780774859486_epub_opf_r1.opf: unique-identifier attribute in package element must reference an existing identifier element id