|
FAST Protocol
< Previous Next >
Re: FAST 1.2 Enumeration
Rolf Andersson / Pantor Engineering 25 Jul 2010 8:31AM ET Hi Darshan,
no, the current grammar does not allow you to add values as suggested below and we don't have any plans to add this either.
I suggest that you use the existing FAST extension mechanism (foreign attributes) which allows you to do the following:
<define colors>
<enum>
<element name="Red" my:value="3">
<element name="Blue" my:value="2">
</enum>
</define>
Best,
Rolf
> Are we allowed to add used defined values to the enum elements?
>
> For e.g. Is something like below allowed?
>
> <define colors>
> <enum>
> <element name="Red" value="3">
> <element name="Blue" value="2">
> </enum>
> </define>
Re: FAST 1.2 Enumeration Rolf Andersson / Pantor Engineering 25 Jul 2010 8:31AM ET |