impl customization

Imported from previous forum

Hi,
I am very new to the XML and the concept of FIXML. I have spent the last week learning as much as I can (making some progress!) but have come to stall when it comes to customizing the implmentation schemas for changing to required fields/further restrictions etc. What would really help me would be if one of you guys could give me a little guidance or post a sample impl file and a corresponding FIXML message as I can’t find an example anywhere! I am working only with allocation instructions right now, but any help you could provide would be great for me.
Many thanks in advance,
Ben

[ original email was from Robert Stowsky - rstowsky@brookpath.com ]
Hi Ben,

One example to look at are the FIA Extensions to the FIXML Schema. In particular fixml-fields-impl-4-4-FIA-1.xsd. There is a zip file containing the entire FIXML Schema with FIA Extensions at

http://www.futuresindustry.org/downloads/standards/FIXschema.zip

Regards,

Robert

Hi, I am very new to the XML and the concept of FIXML. I have spent the
last week learning as much as I can (making some progress!) but have
come to stall when it comes to customizing the implmentation schemas for
changing to required fields/further restrictions etc. What would really
help me would be if one of you guys could give me a little guidance or
post a sample impl file and a corresponding FIXML message as I can’t
find an example anywhere! I am working only with allocation instructions
right now, but any help you could provide would be great for me. Many
thanks in advance, Ben

Hi Robert,

Thanks for the FIXML Schemas. I can understand the way which they all work together and I was wondering how I can, for example, restrict enumerations on fields using the impl file? We would like the ‘Side’ attribute in the Allocation Instruction field to be restricted to ‘1’ and ‘2’. How would this be achieved?
Thanks or your help!

Hi Ben,

One example to look at are the FIA Extensions to the FIXML Schema. In
particular fixml-fields-impl-4-4-FIA-1.xsd. There is a zip file
containing the entire FIXML Schema with FIA Extensions at

http://www.futuresindustry.org/downloads/standards/FIXschema.zip

Regards,

Robert

Hi, I am very new to the XML and the concept of FIXML. I have spent
the last week learning as much as I can (making some progress!) but
have come to stall when it comes to customizing the implmentation
schemas for changing to required fields/further restrictions etc. What
would really help me would be if one of you guys could give me a
little guidance or post a sample impl file and a corresponding FIXML
message as I can’t find an example anywhere! I am working only with
allocation instructions right now, but any help you could provide
would be great for me. Many thanks in advance, Ben

[ original email was from Robert Stowsky - rstowsky@brookpath.com ]
My apologies for posting this twice, there was an error posting the first time.

In general look in the fixml-fields-impl-4-4.xsd file to find the type declaration of the enumeration you want to restrict.

To restrict Side first note the following:

  1. In fixml-allocation-base-4-4.xsd Side is declared as type Side_t.

  2. Side_t is declared in fixml-fields-impl-4-4.xsd as a restriction of base type Side_enum_t, but no restrictions are specified.

     <xs:simpleType name="Side_t"> 
        <xs:restriction base="Side_enum_t"/> 
     </xs:simpleType> 
    
  3. Side_enum_t is declared in fixml-fields-base-4-4.xsd as having all of the enumerations that FIX allows for a side.

To restrict the allowed values for Side to only allow values 1 and 2 modify the Side_t declaration in fixml-fields-impl-4-4.xsd to the following:

        <xs:simpleType name="Side_t"> 
           <xs:restriction base="Side_enum_t"> 
              <xs:enumeration value="1"/> 
              <xs::enumeration value="2"/> 
            </xs:restriction> 
         </xs:simpleType> 

I hope this helps.

Regards,

Robert

Hi Robert,

Thanks for the FIXML Schemas. I can understand the way which they all
work together and I was wondering how I can, for example, restrict
enumerations on fields using the impl file? We would like the ‘Side’
attribute in the Allocation Instruction field to be restricted to ‘1’
and ‘2’. How would this be achieved? Thanks or your help!

Hi Ben,

One example to look at are the FIA Extensions to the FIXML Schema. In
particular fixml-fields-impl-4-4-FIA-1.xsd. There is a zip file
containing the entire FIXML Schema with FIA Extensions at

http://www.futuresindustry.org/downloads/standards/FIXschema.zip

Regards,

Robert

Hi, I am very new to the XML and the concept of FIXML. I have spent
the last week learning as much as I can (making some progress!) but
have come to stall when it comes to customizing the implmentation
schemas for changing to required fields/further restrictions etc.
What would really help me would be if one of you guys could give me
a little guidance or post a sample impl file and a corresponding
FIXML message as I can’t find an example anywhere! I am working only
with allocation instructions right now, but any help you could
provide would be great for me. Many thanks in advance, Ben