[This message was posted by Tayfun Cakirtas of FinanceIQ <[email protected]> to the "FIXML_Schema" discussion forum at http://fixprotocol.org/discuss/19. You can reply to it on-line at http://fixprotocol.org/discuss/read/ba568d08 - PLEASE DO NOT REPLY BY MAIL.]
Hi all; This is causing problems for us too. And the bad part is, even though it has been almost 3 year, this problem has not been addressed yet by the committee. I would like to hear from others about how they handle multiple string issue while generating code from schema. Regards, Tayfun > The FIXML-4-4 schema does not seem to properly describe fields of type > MultipleValueString. These are always defined as a simpleType with an > enumeration of all possible values. > > However, this means that a FIXML document that uses a > MultipleValueString (e.g. ExecInst="1 5 A e") does not validate, because > the simpleType's enumeration only allows a single value. > > I'm using a schema tool (xmlbeans in my case) to generate code from the > schema. Problem is that this generated code does not accept a true > MultipleValueString. What would you guys suggest? Should I modify the > schema document and change each MultipleValueString into a type that > does support space-separated values? > > I've tested with ExecInst (tag 18), which lead to the following > definition of ExecInst_enum_t: > > <xs:simpleType name="ExecInst_enum_t"> > <xt:restriction base="xs:string"> > <xu:pattern value='[\d[A-Z][a-e]](\s[\d[A-Z][a-e]])*'/> > </xs:restriction> </xs:simpleType> > > Is there anyone else using automated schema tools, or schema validation > and running into this problem? > > regards, Erik van Zijst [You can unsubscribe from this discussion group by sending a message to mailto:[email protected]] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Financial Information eXchange" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/FIX-Protocol?hl=en -~----------~----~----~----~------~----~------~--~---
