Opened 12 years ago

Closed 12 years ago

#187 closed defect (fixed)

The CMDI profiles of the individual centers do not validate

Reported by: akislev Owned by: BSanchezRZG
Priority: critical Milestone:
Component: Centre Registry Version:
Keywords: CMDI Cc:

Description

This is what I've got trying to validate the CMDI at http://130.183.206.32/restxml/1/:

cvc-complex-type.2.4.a: Invalid content was found starting with element 'AAIStatus'. One of '{"http://www.clarin.eu/cmd/":AaiStatus}' is expected. [35] 
cvc-complex-type.2.4.d: Invalid content was found starting with element 'WebServiceType'. No child element is expected at this point. [50] 
cvc-enumeration-valid: Value 'WebL' is not facet-valid with respect to enumeration '[SOAP, REST, WebLicht]'. It must be a value from the enumeration. [50] 
cvc-complex-type.2.2: Element 'WebServiceType' must have no element [children], and the value must be valid. [50] 

Change History (7)

comment:1 Changed 12 years ago by akislev

Summary: The CMDI profiles the individual centers do not validateThe CMDI profiles of the individual centers do not validate

comment:2 Changed 12 years ago by dietuyt

Owner: changed from akislev to BSanchezRZG
Status: newassigned

comment:3 in reply to:  1 Changed 12 years ago by BSanchezRZG

Resolution: fixed
Status: assignedclosed

Replying to akislev:

I change 'AAIStatus' to 'AaiStatus?'. Thanks for reporting
Invalid content was found starting with element 'AAIStatus'. One of '{"http://www.clarin.eu/cmd/":AaiStatus}' is expected. [35]

cvc-complex-type.2.4.d: Invalid content was found starting with element 'WebServiceType?'. No child element is expected at this point. [50]
cvc-enumeration-valid: Value 'WebL' is not facet-valid with respect to enumeration '[SOAP, REST, WebLicht?]'. It must be a value from the enumeration. [50]
cvc-complex-type.2.2: Element 'WebServiceType?' must have no element [children], and the value must be valid. [50]
seem to be a problem with the content of database. I'll change it right now

comment:4 Changed 12 years ago by akislev

Resolution: fixed
Status: closedreopened

The CMDIs still do not validate:

cvc-complex-type.2.4.d: Invalid content was found starting with element 'WebServiceType?'. No child element is expected at this point. [54]
cvc-enumeration-valid: Value 'WebL' is not facet-valid with respect to enumeration '[SOAP, REST, WebLicht?]'. It must be a value from the enumeration. [54]
cvc-complex-type.2.2: Element 'WebServiceType?' must have no element [children], and the value must be valid. [54]

Please use NetBeans? to validate CMDIs.

comment:5 in reply to:  4 Changed 12 years ago by BSanchezRZG

Replying to akislev:

cvc-complex-type.2.4.d: Invalid content was found starting with element 'WebServiceType?'. No child element is expected at this point. [54]

I don't understand this point. It looks to me that 'WebServiceType?' has no child.

cvc-enumeration-valid: Value 'WebL' is not facet-valid with respect to enumeration '[SOAP, REST, WebLicht?]'. It must be a value from the enumeration. [54]
cvc-complex-type.2.2: Element 'WebServiceType?' must have no element [children], and the value must be valid. [54]

I check the predefined values to replace 'WebL' to 'WebLicht?' and addjust the field size.

comment:6 Changed 12 years ago by dietuyt

It's the order of the elements under Metadata that is currently incorrect, it needs to be:

<Metadata>
 <MetadataScheme>CMDI</MetadataScheme>
 <WebServicesSet>WebLicht</WebServicesSet>
 <WebServiceType>SOAP</WebServiceType>
 <OaiAccessPoint>http://weblicht.sfs.uni-tuebingen.de/oaiprovider/?verb=Identify</OaiAccessPoint>
</Metadata>

comment:7 Changed 12 years ago by BSanchezRZG

Resolution: fixed
Status: reopenedclosed

Changes are done. See #182

Note: See TracTickets for help on using tickets.