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

aip descriptor: namespace declaration for docmd.xsd is incorrect? #713

Closed
lydiam opened this issue Oct 22, 2012 · 3 comments
Closed

aip descriptor: namespace declaration for docmd.xsd is incorrect? #713

lydiam opened this issue Oct 22, 2012 · 3 comments
Assignees

Comments

@lydiam
Copy link
Member

lydiam commented Oct 22, 2012

When an AIP descriptor is archived as a content file in a new SIP XMLResolution currently can't download the docmd.xsd schema referenced in the file. I believe that the namespace declaration for docmd.xsd is incorrect in AIP descriptors.

An example of how AIP descriptors currently reference docmd.xsd:

ripple IEID EN4HCFV1P_V0BPS0:

 <doc xmlns="http://www.fcla.edu/dls/md/docmd" xsi:schemaLocation="http://www.fcla.edu/docmd http://www.fcla.edu/dls/md/docmd.xsd">

When the AIP descriptor from ripple IEID EN4HCFV1P_V0BPS0 is archived as a content file in ripple IEID EEO151GRN_L3JL3R, the manifest says:

 schema status="unresolved" namespace="http://www.fcla.edu/dls/md/docmd"

The actual docmx.xsd targetNamespace="http://www.fcla.edu/docmd"

When the schema reference is changed to the following XMLResolution downloads the schema:

 <doc xmlns="http://www.fcla.edu/docmd"  xsi:schemaLocation="http://www.fcla.edu/docmd http://www.fcla.edu/dls/md/docmd.xsd">

Is the namespace declaration for docmd in AIP descriptors wrong?

@cchou
Copy link
Member

cchou commented Oct 24, 2012

Yes, I will work on this.

@ghost ghost assigned cchou Oct 24, 2012
@lydiam
Copy link
Member Author

lydiam commented Nov 26, 2012

Carol,

Try the following in the AIP descriptor:

 <doc  xmlns="http://www.fcla.edu/docmd"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.fcla.edu/docmd http://www.fcla.edu/dls/md/docmd.xsd">

@jonpitts
Copy link
Contributor

jonpitts commented Jul 8, 2014

This issue should not come up in Resolver. XML Resolution did not handle targetNamespace and did not properly handle processing instructions. Sometimes XML Resolution would process a namespace as a resource when it shouldn't.

@jonpitts jonpitts closed this as completed Jul 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants