Closed DrCaFr closed 2 years ago
@TimGuirguis provided an example of <appdata/>
usage by Hyperworks — however without an own XML name space:
20211105_1236_xMCF - APPDATA Block Example.zip
The MEDINA examples mentioned above comply to attached XML schema mcf_MEDINA.zip.
@DrCaFr would you expect a namespace/header per instance of the specific app data within the xMCF?
@DrCaFr would you expect a namespace/header per instance of the specific app data within the xMCF?
Hi @TimGuirguis,
the intention of the examples mentioned above actually is to demonstrate, how a tool specific XML schema can be used for the tool specific <appdata/>
element. — This by means of a tools specific name space.
Thus, the example you provided cannot replace the existing example. It could serve as an additional example for use of <appdata/>
without an additional schema, though.
By the way: I noticed that your example contains <HYPERMESH/>
in "all-caps". The Word file uses "camel-caps" <HyperMesh/>
. We could & should adjust sect. 7.2.1 & table 3 accordingly, if you agree.
Best regards
Hi @DrCaFr,
I'm happy for the definition to change from "camel-case" to "all-caps" for those sections.
My understanding on what a namespace per Connection Group means for the current Medina example, is that each
In the example I have provided, Hypermesh is treating every
I'm happy for the definition to change from "camel-case" to "all-caps" for those sections.
Implemented with commit a74a9f5.
My understanding on what a namespace per Connection Group means for the current Medina example, is that each block is independent from the next block. Is this correct?
Syntactically yes.
Semantically not completely: Properties for connections would be defined on global level (see "Example A (<appdata/>
for MEDINA at root level)" on page 12), which then could be referenced by several connections via <appdata/>
on connection level (see "Example B", same page).
For other use cases, <appdata/>
may also/additionally reside on connection group level.
This is explained in first paragraph od sec. 7.2.1.
In the example I have provided, Hypermesh is treating every block as the same xml. This is because we have common data shared within an block in the file but outside of the Connection Group definition.
I understand. MEDINA solved this by using the same schema, hence the same name space, but with different elements on 1st level below <MEDINA/>
element: <data_at_root/>
and <data_at_connector/>
.
Another option would be of course to use different / several schemas / name spaces.
Team decided not to change the example. Text changes were incorporated.
The standards spec (Word file) contains several examples where
<appdata/>
is used with an own XML name space:Since all examples addressing name spaces need to be updated to χMCF version 3.1.1 and it is assumed that MEDINA will not follow this evolution, new examples are needed.
Follows the list of examples and example files:
<appdata/>
:<appdata/>
for MEDINA at root level) — ch5_2_1_1_exampleA.xml