OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

dss-x message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] (DSSX-58) Numbers in element names

    [ https://issues.oasis-open.org/browse/DSSX-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=74742#comment-74742 ] 

Andreas Kuehne commented on DSSX-58:

A way to manual overwrite the mapping of elements in JSON was introduced intentionally. The idea is to align the JSON naming with the existing and established shortened naming style.

The mapping between semantics and XML and JSON object should be made clear by the mapping tables. If this isn't obvious we may consider additional expalnatory text.

> Numbers in element names
> ------------------------
>                 Key: DSSX-58
>                 URL: https://issues.oasis-open.org/browse/DSSX-58
>             Project: OASIS Digital Signature Services eXtended (DSS-X) TC
>          Issue Type: Improvement
>            Reporter: Andreas Kuehne
>            Assignee: Andreas Kuehne
>            Priority: Major
> 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.

This message was sent by Atlassian JIRA

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]