Loading 07_mapping_xsd_components/0705_simpletype_components/070502_derivation_by_list/Pos_070502_derivation_by_list_001/Pos_070502_derivation_by_list_001.ttcn_ +1 −1 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.5.2, Verify that defivation by list is converted to record of ** @purpose 9:7.5.2, Verify that derivation by list is converted to record of ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: Loading 07_mapping_xsd_components/0705_simpletype_components/070502_derivation_by_list/Pos_070502_derivation_by_list_005/Pos_070502_derivation_by_list_005.ttcn_ +1 −1 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.5.2, Verify transformantion of list containing union content ** @purpose 9:7.5.2, Verify transformation of list containing union content ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ module Pos_070502_derivation_by_list_005 { Loading 07_mapping_xsd_components/0706_complextype_components/070605_choice_content/07060501_choice_with_nested_elements/Pos_07060501_choice_with_nested_elements_001/Pos_07060501_choice_with_nested_elements_001.ttcn_ 0 → 100644 +23 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.6.5.1, Verify that choice content with nested elements is correctly transformed ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // Nested elements shall be mapped as fields of the enframing TTCN-3 union or // record of union field(see clause 7.6.5) according to clause 7.3. module Pos_07060501_choice_with_nested_elements_001 { import from schema_Pos_07060501_choice_with_nested_elements_001 language "XSD" all; template MyType m_msg := { choice := { foo := 1 } }; //#TC } 07_mapping_xsd_components/0706_complextype_components/070605_choice_content/07060501_choice_with_nested_elements/Pos_07060501_choice_with_nested_elements_001/Pos_07060501_choice_with_nested_elements_001.xml 0 → 100644 +4 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <ns:MyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="schema:Pos_07060501_choice_with_nested_elements_001"> <foo>1</foo> </ns:MyType> No newline at end of file 07_mapping_xsd_components/0706_complextype_components/070605_choice_content/07060501_choice_with_nested_elements/Pos_07060501_choice_with_nested_elements_001/Pos_07060501_choice_with_nested_elements_001.xsd 0 → 100644 +13 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="schema:Pos_07060501_choice_with_nested_elements_001" xmlns:ns="schema:Pos_07060501_choice_with_nested_elements_001"> <element name="MyType"> <complexType> <choice> <element name="foo" type="integer"/> <element name="bar" type="float"/> </choice> </complexType> </element> </schema> Loading
07_mapping_xsd_components/0705_simpletype_components/070502_derivation_by_list/Pos_070502_derivation_by_list_001/Pos_070502_derivation_by_list_001.ttcn_ +1 −1 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.5.2, Verify that defivation by list is converted to record of ** @purpose 9:7.5.2, Verify that derivation by list is converted to record of ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: Loading
07_mapping_xsd_components/0705_simpletype_components/070502_derivation_by_list/Pos_070502_derivation_by_list_005/Pos_070502_derivation_by_list_005.ttcn_ +1 −1 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.5.2, Verify transformantion of list containing union content ** @purpose 9:7.5.2, Verify transformation of list containing union content ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ module Pos_070502_derivation_by_list_005 { Loading
07_mapping_xsd_components/0706_complextype_components/070605_choice_content/07060501_choice_with_nested_elements/Pos_07060501_choice_with_nested_elements_001/Pos_07060501_choice_with_nested_elements_001.ttcn_ 0 → 100644 +23 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.6.5.1, Verify that choice content with nested elements is correctly transformed ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // Nested elements shall be mapped as fields of the enframing TTCN-3 union or // record of union field(see clause 7.6.5) according to clause 7.3. module Pos_07060501_choice_with_nested_elements_001 { import from schema_Pos_07060501_choice_with_nested_elements_001 language "XSD" all; template MyType m_msg := { choice := { foo := 1 } }; //#TC }
07_mapping_xsd_components/0706_complextype_components/070605_choice_content/07060501_choice_with_nested_elements/Pos_07060501_choice_with_nested_elements_001/Pos_07060501_choice_with_nested_elements_001.xml 0 → 100644 +4 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <ns:MyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="schema:Pos_07060501_choice_with_nested_elements_001"> <foo>1</foo> </ns:MyType> No newline at end of file
07_mapping_xsd_components/0706_complextype_components/070605_choice_content/07060501_choice_with_nested_elements/Pos_07060501_choice_with_nested_elements_001/Pos_07060501_choice_with_nested_elements_001.xsd 0 → 100644 +13 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="schema:Pos_07060501_choice_with_nested_elements_001" xmlns:ns="schema:Pos_07060501_choice_with_nested_elements_001"> <element name="MyType"> <complexType> <choice> <element name="foo" type="integer"/> <element name="bar" type="float"/> </choice> </complexType> </element> </schema>