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 follow-up: 3 Changed 12 years ago by
Summary: | The CMDI profiles the individual centers do not validate → The CMDI profiles of the individual centers do not validate |
---|
comment:2 Changed 12 years ago by
Owner: | changed from akislev to BSanchezRZG |
---|---|
Status: | new → assigned |
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 follow-up: 5 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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 Changed 12 years ago by
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
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
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Changes are done. See #182
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