Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing of namespace for code sets and datatypes #51

Open
kleihan opened this issue Nov 15, 2023 · 1 comment
Open

Sharing of namespace for code sets and datatypes #51

kleihan opened this issue Nov 15, 2023 · 1 comment
Assignees
Labels
CLARIFY Need for clarification

Comments

@kleihan
Copy link
Member

kleihan commented Nov 15, 2023

Namespace for code sets and datatypes share a single namespace in Orchestra v1.0. With Orchestra v1.1 there are now separate attribute for a field having either a datatype or a code set (FIXTradingCommunity/fix-orchestra#170).

Section 3.7 Code sets states the following:

The names of code sets and datatypes share a common namespace and must
be unique within a schema. This constraint is enforced by the XML schema.

Can this paragraph be removed as it no longer holds true?

@kleihan kleihan added this to the Orchestra v1.1RC2 milestone Nov 15, 2023
@kleihan kleihan self-assigned this Aug 9, 2024
@kleihan kleihan added CLARIFY Need for clarification and removed question labels Aug 21, 2024
@patricklucas
Copy link

I concur that, following the change in fix-orchestra#171, this paragraph no longer holds true (for Orchestra v1.1).

For what it's worth, a reason this situation arose in the first place is that in many ways, code sets are types. Consider in Java if you created an enum (analogous to an Orchestra code set) named MyEnum. You could declare a variable String foo or MyEnum foo—your enum (code set) is a type, of equal standing with String.

While it's clear that Orchestra has different needs than a programming language in this regard, maybe we could benefit from looking at Orchestra's own type system a bit more formally in future discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLARIFY Need for clarification
Projects
Status: No status
Development

No branches or pull requests

2 participants