-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: cs01
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Resolution:
Received thru the DSS-X public comments list from Neil Crossley on the 2019-08-23:
Numbers in element names
Numbers in element names lead to seemingly arbitrary property names in the corresponding JSON schema, where an entire prefix and/or suffix is dropped in the corresponding JSON schema. For example: DetailType contains the element Base64Content, dss2-DetailType has the property b64Content. Another example: AdditionalKeyInfoType contains X509Digest, X509SubjectName, X509SKI, X509Certificate, X509CRL; dss2-AdditionalKeyInfoType has x509Digest, sub, ski, cert, name, crl. Sub-note: this may be related to the previous issue 2., as both sub and
name correspond to X509SubjectName.
This issue should otherwise not lead to problems when using the schemas, as long as a lossless transformation exists (every JSON schema property maps only to a single XML-schema element), but a reader of the JSON and XML schemas should still be aware of this.