[ 
https://jira.duraspace.org/browse/DS-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26518#comment-26518
 ] 

Tim Donohue commented on DS-1303:
---------------------------------

Even after Pull #100 was committed, the marc XML response still fails to 
validate against the marc schema  
(http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd).

If you paste the output from OAI-PMH into http://www.xmlvalidation.com you'll 
see the validation errors.  They essentially seem to fall down to two things:

(1) Every <datafield> tag must have both an "ind1" and "ind2" attribute (they 
are required by the schema). 
(2) The <leader> value is still invalid based on the pattern above.


                
> XOAI - ListRecords metadata prefix marc invalid response
> --------------------------------------------------------
>
>                 Key: DS-1303
>                 URL: https://jira.duraspace.org/browse/DS-1303
>             Project: DSpace
>          Issue Type: Sub-task
>          Components: OAI-PMH
>    Affects Versions: 3.0
>            Reporter: Claudia Jürgen
>            Assignee: Ivan Masár
>
> XOAI
> request: verb=ListRecords&metadataPrefix=marc
> invalid repsonse
> <leader>am 3u</leader>
> invalid:
> Multiple annotations found at this line:
>       - cvc-complex-type.2.2: Element 'leader' must have no element 
> [children], and the value must be valid.
>       - cvc-pattern-valid: Value 'am 3u' is not facet-valid with respect to 
> pattern '[\d ]{5}[\dA-Za-z ]{1}[\dA-Za-z]{1}[\dA-Za-z ]{3}(2| )
>        (2| )[\d ]{5}[\dA-Za-z ]{3}(4500| )' for type 'leaderDataType'.
> <datafield tag="260">
> invalid:
> Multiple annotations found at this line:
>       - cvc-complex-type.4: Attribute 'ind1' must appear on element 
>        'datafield'.

--
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

Reply via email to