[
https://jira.duraspace.org/browse/DS-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26521#comment-26521
]
Tim Donohue commented on DS-1309:
---------------------------------
Even after Pull #100, the DIDL format still does not validate.
The reason is that the "id" attribute of all fields in the DIDL schema is
defined as the "xsd:ID" type.
This "xsd:ID" type is defined as having to begin with a letter or underscore.
See:
http://www.schemacentral.com/sc/xsd/t-xsd_ID.html
I'd suggest changing the format of all 'id' attributes to be something like
"hdl_[prefix]_[suffix]", e.g. "hdl_10673_1".
> XOAI - invalid response ListRecords metadata prefix didl
> --------------------------------------------------------
>
> Key: DS-1309
> URL: https://jira.duraspace.org/browse/DS-1309
> Project: DSpace
> Issue Type: Sub-task
> Components: OAI-PMH
> Affects Versions: 3.0
> Reporter: Claudia Jürgen
> Assignee: Ivan Masár
>
> XOAI - formal validation
> request: verb=ListRecords&metadataPrefix=didl
> invalid response
> element:
> <dcterms:created xmlns:dcterms="http://purl.org/dc/terms/"
> xsi:schemaLocation="http://purl.org/dc/terms/
> ">2012-06-26T19:58:24Z</dcterms:created>
> validation message
> SchemaLocation: schemaLocation value = 'http://purl.org/dc/terms/ ' must have
> even number of URI's.
> element:
> <d:Item id="10673/4">
> validation message:
> Multiple annotations found at this line:
> - cvc-attribute.3: The value '10673/4' of attribute 'id' on element
> 'd:Item' is not valid with respect to its
> type, 'ID'.
> - cvc-datatype-valid.1.2.1: '10673/4' is not a valid value for 'NCName'.
> element:
> <d:Component id="10673/4/1">
> validation message:
> Multiple annotations found at this line:
> - cvc-datatype-valid.1.2.1: '10673/4/1' is not a valid value for
> 'NCName'.
> - cvc-attribute.3: The value '10673/4/1' of attribute 'id' on element
> 'd:Component' is not valid with respect to its
> type, 'ID'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel