|
FAST Protocol
< Previous Next >
Dictionary inheritance
Ravi Ravisankar / IBM <> 10 Aug 2010 5:52PM ET In Sec 6.3.1:
The dictionary name is specified by the dictionary attribute on the field operator element or where allowed by the schema on ancestor elements. If there are more than one dictionary attribute in the ancestry, the attribute of the nearest element applies. If the attribute is not specified, the global dictionary is used
CME defines dictionary attribute on each template element and no other elements has dictionary attribute.
I assume that all fields for a template use the same dictionary defined for that template by inheritance.
Also one of David Rosenborg's replies for dictionary questions, he said
"The dictionary property has lexical scope, that is, it is only applied to syntactical descendants (and the element itself) of the element holding the dictionary attribute."
Can you elaborate this regarding referred templates?
If a template t1 is referred in t2 and t1 has no dictionary attribute defined.
I assume that all fields from t1 will use global dictionary regardless of where it is referred (t2 in this case).
The ancestry will not extend from t2 to t1.
Will application type extend from t2 to t1 ?
|