Claudia Jürgen created DS-1305:
----------------------------------

             Summary: XOAI  - invalid responste List Records with metadata 
prefix qdc
                 Key: DS-1305
                 URL: https://jira.duraspace.org/browse/DS-1305
             Project: DSpace
          Issue Type: Bug
          Components: OAI-PMH
    Affects Versions: 3.0
            Reporter: Claudia Jürgen


XOAI - formal validation
request: verb=ListRecords&metadataPrefix=qdc

invalid response
<dc:subject xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xmlns:doc="http://www.lyncode.com/xoai"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://purl.org/dc/terms/ 
http://dublincore.org/schemas/xmls/qdc/2006/01/06/dcterms.xsd 
http://purl.org/dc/elements/1.1/ 
http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd"; 
xml:lang="en_US">cat</dc:subject>

Multiple annotations found at this line:
        - cvc-attribute.3: The value 'en_US' of attribute 'xml:lang' on element 
'dc:subject' is not valid with respect to its type, 
         'language'.
        - cvc-pattern-valid: Value 'en_US' is not facet-valid with respect to 
pattern '([a-zA-Z]{1,8})(-[a-zA-Z0-9]{1,8})*' for type 
         'language'.
        - cvc-complex-type.2.4.d: Invalid content was found starting with 
element 'dc:subject'. No child element is expected at this 
         point.


The "The value 'en_US' of attribute 'xml:lang' on element 'dc:subject' is not 
valid with respect to its type, " applies to all elements with a xml:lang 
attribute.



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