[Koha-bugs] [Bug 13642] Adding new features for Dublin Core metadata

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 20 23:19:31 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13642

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36714|0                           |1
        is obsolete|                            |

--- Comment #62 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 38220
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38220&action=edit
Bug 13642 [ENH] Adding new features for Dublin Core metadata

Bug 13642 [ENH] Adding new features for Dublin Core metadata

When Koha export a bibliographic record to DC, makes it in XML format. This XML
not follows the DC-XML recommendations as should be: elements in uppercase eg.
dc:Date, dc:Creator, section 4.2, recommendation 4 explain that "The property
names for the 15 DC elements should be all lower-case." eg. dc:date,
dc:creator" and section "4.3 Example - a simple DC record",
xsi:schemaLocation="http://example.org/myapp/
http://example.org/myapp/schema.xsd" schema does not exist.
The recommendation can be consulted at
<http://dublincore.org/documents/dc-xml-guidelines/>.
This new feature, adds an ability to export Dublin Core metadata to XML and RDF
(including rdfxml, rdfjson, ntriples, turtle, etc.)

Test plan
---------------
1) Download Dublin Core file. Open up the file, and make sure that the document
not follows the DC-XML recommendations as should be.
2) Apply patch.
3) Go to whichever bib record in OPAC or staff and click on Save > Dublin Core.
A modal will display, prove all options.
4) Change the system preference 'Opac ExportOptions' by enabling and disabling
Dublin Core and try to download a record in the OPAC.
5) Try several bibliographic records in any format (book, magazine, DVD, etc.)
to confirm that properly exported.
6) RDF/XML can be validated per RDF Validator W3C.
7) DC-XML cannot valid if not exist a valid XSD schema.
8) OAI-DC can be validated using
<http://www.freeformatter.com/xml-validator-xsd.html> and the proper schema
<http://www.openarchives.org/OAI/2.0/oai_dc.xsd> typed in text field for URL.
9) Since unit test fail last time, test with prove t/db_dependent/Record.t and
prove t/db_dependent/Record/Record.t

Sponsored-by: Universidad de El Salvador

Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
XML::Entities, HTML::Entities and, HTML::Entities::Numbered were eliminated
from patch, use instead C4::Record::_entity_encode, RDF::Helper has been
eliminated too.
Given, when experimental structures were eliminated.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list