Hi, Castor is only supporting the W3C XML Schema and DTD and doesn't support other schema languages. You may want to use a tool to convert the biztalk schema into W3C schema (BTW W3C schema is perhaps more complex but also way more powerful;)).
Arnaud -> -----Original Message----- -> From: Bhatt, Vijay [mailto:[EMAIL PROTECTED]] -> Sent: Friday, January 04, 2002 2:58 PM -> To: [EMAIL PROTECTED] -> Subject: [castor-dev] Can Biztalk xml schema be input to Castor? -> -> -> -> Is it possible to take a Biztalk xml schema as an input to Castor for -> generating Java classes? If not than how does one go about making -> Biztalk schema Castor compliant? -> -> I have included a sample uncomplete piece of a Biztalk schema. -> -> ======================================================================== -> ========================================= -> <?xml version="1.0"?> -> <!-- Generated by using BizTalk Editor on Mon, Aug 06 2001 04:20:29 PM -> --> -> <!-- Microsoft Corporation (c) 2000 (http://www.microsoft.com) --> -> <Schema name="X12_4010_270" b:BizTalkServerEditorTool_Version="1.0" -> b:root_reference="X12_4010_270" b:schema_type="270" b:version="1.0" -> b:is_envelope="no" b:standard="X12" b:standards_version="4010" -> b:subdocument_break="no" xmlns="urn:schemas-microsoft-com:xml-data" -> xmlns:b="urn:schemas-microsoft-com:BizTalkServer" -> xmlns:d="urn:schemas-microsoft-com:datatypes"> -> <b:SelectionFields/> -> -> <ElementType name="X12_4010_270" content="eltOnly" model="closed"> -> <b:RecordInfo structure="delimited" delimiter_type="inherit_record" -> field_order="postfix" count_ignore="yes"/> -> <element type="TS270A1__BHT_BeginningOfHierarchicalTransaction" -> maxOccurs="1" minOccurs="1"/> -> <element type="TS270A1_2000A" maxOccurs="*" minOccurs="1"/> -> </ElementType><ElementType -> name="TS270A1__BHT_BeginningOfHierarchicalTransaction" content="empty" -> model="closed"> -> <description>Beginning of Hierarchical -> Transaction</description><b:RecordInfo tag_name="BHT" -> structure="delimited" delimiter_type="inherit_field" -> field_order="prefix" count_ignore="no"/> -> <AttributeType name="TS270A1__BHT06__TransactionTypeCode" -> d:type="enumeration" d:values="RT RU"><description>Transaction Type -> Code</description> -> <b:FieldInfo edi_datatype="ID" codelist="640"/></AttributeType> -> <AttributeType -> name="TS270A1__BHT05__TransactionSetCreationTime"><description>Transacti -> on Set Creation Time</description> -> <b:FieldInfo edi_datatype="TM" format="HHMMSSDD"/></AttributeType> -> <AttributeType name="TS270A1__BHT04__TransactionSetCreationDate" -> d:type="date"><description>Transaction Set Creation Date</description> -> <b:FieldInfo edi_datatype="DT" format="YYYYMMDD"/></AttributeType> -> <AttributeType name="TS270A1__BHT03__SubmitterTransactionIdentifier" -> d:type="string" d:maxLength="30" d:minLength="1"><description>Submitter -> Transaction Identifier</description> -> <b:FieldInfo edi_datatype="AN" justification="left"/></AttributeType> -> <AttributeType name="TS270A1__BHT02__TransactionSetPurposeCode" -> d:type="enumeration" d:values="01 13 36"><description>Transaction Set -> Purpose Code</description> -> <b:FieldInfo edi_datatype="ID" codelist="353"/></AttributeType> -> <AttributeType name="TS270A1__BHT01__HierarchicalStructureCode" -> d:type="enumeration" d:values="0022"><description>Hierarchical Structure -> Code</description> -> <b:FieldInfo edi_datatype="ID" codelist="1005"/></AttributeType> -> <attribute type="TS270A1__BHT01__HierarchicalStructureCode" -> required="yes"/> -> <attribute type="TS270A1__BHT02__TransactionSetPurposeCode" -> required="yes"/> -> <attribute type="TS270A1__BHT03__SubmitterTransactionIdentifier" -> required="no"/> -> <attribute type="TS270A1__BHT04__TransactionSetCreationDate" -> required="yes"/> -> <attribute type="TS270A1__BHT05__TransactionSetCreationTime" -> required="yes"/> -> <attribute type="TS270A1__BHT06__TransactionTypeCode" required="no"/> -> </ElementType><ElementType -> name="TS270A1_2110D_REF_DependentAdditionalInformation" content="empty" -> model="closed"> -> <description>Dependent Additional Information</description><b:RecordInfo -> tag_name="REF" structure="delimited" delimiter_type="inherit_field" -> field_order="prefix" count_ignore -> ======================================================================== -> ===================================== -> Thanks -> Vijay C. Bhatt -> deNovis Technical Deployment -> ph: 781.372.3977 -> fax: 781.372.3801 -> email: [EMAIL PROTECTED] -> -> -> Thanks -> Vijay C. Bhatt -> deNovis Technical Deployment -> ph: 781.372.3977 -> fax: 781.372.3801 -> email: [EMAIL PROTECTED] -> -> -- -> Sincerely, the Minimalist -> -> ----------------------------------------------------------- -> If you wish to unsubscribe from this mailing, send mail to -> [EMAIL PROTECTED] with a subject of: -> unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
