Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daisy202-to-epub3: metadata contains a lot of xmlns declarations #119

Open
bertfrees opened this issue Feb 8, 2018 · 0 comments
Open

daisy202-to-epub3: metadata contains a lot of xmlns declarations #119

bertfrees opened this issue Feb 8, 2018 · 0 comments

Comments

@bertfrees
Copy link
Member

bertfrees commented Feb 8, 2018

The current XML

<metadata>
  <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"
            xmlns:d="http://www.daisy.org/ns/pipeline/data"
            id="title">三匹の子ぶた</dc:title>
  <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/"
                 id="pub-id">jsrpd-pigs-j</dc:identifier>
  <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/"
               xmlns:d="http://www.daisy.org/ns/pipeline/data">ja</dc:language>
  <dc:date xmlns:dc="http://purl.org/dc/elements/1.1/"
           xmlns:d="http://www.daisy.org/ns/pipeline/data"
           id="date">2005-04-07</dc:date>
  <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:d="http://www.daisy.org/ns/pipeline/data">EPUB3</dc:format>

is not wrong, but could be simplified to

<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
  <dc:title id="title">三匹の子ぶた</dc:title>
  <dc:identifier id="pub-id">jsrpd-pigs-j</dc:identifier>
  <dc:language >ja</dc:language>
  <dc:date id="date">2005-04-07</dc:date>
  <dc:format>EPUB3</dc:format>
</metadata>

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant