Contribute to the DSpace Development Fund

The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.

<?xml version="1.0" encoding="utf-8"?>
<html>

XmlNamespaces/CwspaceImscp

"Up" to XmlNamespaces

Introduction

What Is This About?
The http://cwspace.mit.edu/ CWSpace project has http://ocw.mit.edu/ MIT OpenCourseWare using the http://www.imsglobal.org/content/packaging/index.html IMS Content Packages to .ZIP up their files for submission to DSpace.
The IMS-CP has in turn a manifest file:

imsmanifest.xml

OCW and DSpace had some needs to customize the Schema for that XML.
The DSpace bit (it's small!) looks like so:

<manifest cwsp:packageType="Course">
<metadata>
<cwsp:packageMetadata>
<cwsp:checksum>string reserved for future use</cwsp:checksum>
<cwsp:sourceSystem>OCW</cwsp:sourceSystem>
<cwsp:profile>CWSpace</cwsp:profile>
<cwsp:profileVersion>1.0</cwsp:profileVersion>
</cwsp:packageMetadata>
...

To permit systems to validate these manifest XMLs, we need to publish a Namespace UI and an actual Schema .xsd document with these elements somewhere on the Internet.
The Namespace we intend to use is...

...and the Schema .xsd location we intend to use is

(Note that the ocw.mit.edu server will also be hosting similar Schema at similar address to document the OCW-specific modifications to the Schema.) Example IMS Content Packaging "manifest" file:

imsmanifest.xml

(Just the document element, with all the Namespace and SchemaLocation information.)

Update: 'xmlns' and 'xsd'

Please Note This Detail: At www.dspace.org/ (and at ocw.mit.edu/) we have adopted a perhaps not always seen practice (which we regard as an improvement), of placing the Namespace UI beneath a subdirectory off the server root called '/xmlns/', while the corresponding XML Schema document lives beneath a sibling subdirectory (also off the server root) called '/xsd/'.

WilliamReilly Updated March 10, 2006

<?xml version="1.0" encoding="UTF-8"?>
<manifest
identifier="urn_edu.mit.ocw_9-65Cognitive-ProcessesFall2001"
version="2006-01-30T09:18:20"
cwsp:packageType="Course"
xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_rootv1p2"
xmlns:cwsp="http://www.dspace.org/xmlns/cwspace_imscp"
xmlns:ocw="http://ocw.mit.edu/xmlns/ocw_imscp"
xmlns:lom="http://ocw.mit.edu/xmlns/LOM"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 http://www.imsglobal.org/xsd/imscp_v1p1.xsd
http://www.adlnet.org/xsd/adlcp_rootv1p2 http://www.adlnet.org/xsd/adlcp_rootv1p2.xsd
http://dspace.org/xmlns/cwspace_imscp http://dspace.org/xsd/cwspace_imscp/version10/cwspace_imscp.xsd
http://ocw.mit.edu/xmlns/ocw_imscp http://ocw.mit.edu/xsd/ocw_imscp/version10/ocw_imscp.xsd
http://ocw.mit.edu/xmlns/LOM http://ocw.mit.edu/xsd/LOM/lomv1.0/lomv1.0.xsd"
>

Comments & Etc. welcome.
WilliamReilly initial posting March 3, 2006
"Up" to XmlNamespaces

</html>

  • No labels