Page History
<?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:
Panel |
---|
imsmanifest.xml |
OCW and DSpace had some needs to customize the Schema for that XML.
The DSpace bit (it's small!) looks like so:
Panel |
---|
<manifest cwsp:packageType="Course"> |
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...
Panel |
---|
...and the Schema .xsd location we intend to use is
Panel |
---|
http://www.dspace.org/xsd/cwspace_imscp/version10/cwspace_imscp.xsd |
(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:
Panel |
---|
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/'.
Panel |
---|
http://dspace.org/xmlns/cwspace_imscp |
– WilliamReilly Updated March 10, 2006
Panel |
---|
<?xml version="1.0" encoding="UTF-8"?> |
Comments & Etc. welcome.
– WilliamReilly initial posting March 3, 2006
"Up" to XmlNamespaces
</html>