RE: Question about Metadata

Hi John,

 

Did you miss pasting the metadata entries? All I see in your message are the package and metadata element declarations.

 

There are two pointless namespace declarations on them, though, if that’s what you’re asking. Specifically:

 

> xmlns:m="http://www.w3.org/1998/Math/MathML"

 

MathML elements aren’t valid in the package document (including in EPUB 2), so declaring a prefix does nothing.

 

This namespace declaration on the metadata element is also pointless in EPUB 3:

 

> xmlns:opf="http://www.idpf.org/2007/opf"

 

EPUB 2 had opf:* prefixed attributes but they were all removed in EPUB 3 and replaced by the refines mechanism.

 

Matt

 

From: John Foliot <john@foliot.ca> 
Sent: Friday, June 9, 2023 9:50 AM
To: W3C EPUB 3 Working Group <public-epub-wg@w3.org>
Subject: Question about Metadata

 

Hi All,

 

Seeking some clarification here. We have a large quantity of legacy books we are in the process of reviewing and updating. These books have older ePub 2 metadata declarations, and specifically the following 2 entries:

<package version="3.0" unique-identifier="pub-id" prefix="a11y: http://www.idpf.org/epub/vocab/package/a11y/# <http://www.idpf.org/epub/vocab/package/a11y/> " xml:lang="en" xmlns="http://www.idpf.org/2007/opf" xmlns:m="http://www.w3.org/1998/Math/MathML">

<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">

 

My question is, do I just remove these 2 entries, or are they supposed to be replaced with something else? I've looked over the current documentation and it's not explicitly clear what to do here (or, at least I cannot determine what to do). The Daisy Knowledge Base seems to suggest they can just be removed (http://kb.daisy.org/publishing/docs/metadata/evaluation.html), but I cannot confirm that for sure.


Thanks for any feedback/guidance provided.

 

JF
-- 

John Foliot | 

Senior Industry Specialist, Digital Accessibility | 
W3C Accessibility Standards Contributor |

"I made this so long because I did not have time to make it shorter." - Pascal "links go places, buttons do things"

Received on Friday, 9 June 2023 15:16:18 UTC