-
Notifications
You must be signed in to change notification settings - Fork 5
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
Uniqueness of component names #17
Comments
Components and groups are now stored separately and have separate keys for uniqueness. (In the original design, components and groups were both stored together under In both cases, id+scenario must be unique and name+scenario must be unique. Here's the schema declaration for components: <xs:key name="componentNameKey">
<xs:selector xpath="fixr:component"/>
<xs:field xpath="@name"/>
<xs:field xpath="@scenario"/>
</xs:key>
<xs:key name="componentIdKey">
<xs:selector xpath="fixr:component"/>
<xs:field xpath="@id"/>
<xs:field xpath="@scenario"/>
</xs:key> |
Ok, then the FIX standard will be more restrictive than Orchestra in general, should not be a problem. SO the answer to #3 is yes, i.e. two components must not have the same name but two scenarios can? The latter is obvious as all elements have a scenario called "base". |
Not necessarily true. "base" is the default scenario name, but the author of an Orchestra file could choose to give every scenario an explicit name. |
Section 3.8.1.1 says "Like a field, a component or group has a numeric id attribute and a string name attribute. The schema enforces uniqueness of the id attribute among both types of components."
Section 3.8.1.1 further says "The scenario attribute of a component identifiers a use case; multiple components may have the same name, but the combination of name and scenario must be unique."
(4. I already caught the typo in "identifiers" and will correct it)
The text was updated successfully, but these errors were encountered: