Loading 07_mapping_xsd_components/0706_complextype_components/070602_complex_content/07060202_derived_by_restriction/Pos_07060202_derived_by_restriction_001/Pos_07060202_derived_by_restriction_001.ttcn_ 0 → 100644 +18 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.6.2.2, Verify mapping of complex content derived by restriction: ** AnyType is used as the base type and it is restricted to only two elements ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ module Pos_07060202_derived_by_restriction_001 { import from schema_Pos_07060202_derived_by_restriction_001 language "XSD" all; template E1 m_msg := { size := -200, unit:= "string" }; //#TC } 07_mapping_xsd_components/0706_complextype_components/070602_complex_content/07060202_derived_by_restriction/Pos_07060202_derived_by_restriction_001/Pos_07060202_derived_by_restriction_001.xml 0 → 100644 +6 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <ns:e1 xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns:ns="schema:Pos_07060202_derived_by_restriction_001"> <size>-200</size> <unit>string</unit> </ns:e1> 07_mapping_xsd_components/0706_complextype_components/070602_complex_content/07060202_derived_by_restriction/Pos_07060202_derived_by_restriction_001/Pos_07060202_derived_by_restriction_001.xsd 0 → 100644 +16 −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_07060202_derived_by_restriction_001" xmlns:ns="schema:Pos_07060202_derived_by_restriction_001"> <complexType name="c1"> <complexContent> <restriction base="anyType"> <sequence> <element name="size" type="nonPositiveInteger"/> <element name="unit" type="NMTOKEN"/> </sequence> </restriction> </complexContent> </complexType> <element name="e1" type="ns:c1"/> </schema> No newline at end of file Loading
07_mapping_xsd_components/0706_complextype_components/070602_complex_content/07060202_derived_by_restriction/Pos_07060202_derived_by_restriction_001/Pos_07060202_derived_by_restriction_001.ttcn_ 0 → 100644 +18 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.6.2.2, Verify mapping of complex content derived by restriction: ** AnyType is used as the base type and it is restricted to only two elements ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ module Pos_07060202_derived_by_restriction_001 { import from schema_Pos_07060202_derived_by_restriction_001 language "XSD" all; template E1 m_msg := { size := -200, unit:= "string" }; //#TC }
07_mapping_xsd_components/0706_complextype_components/070602_complex_content/07060202_derived_by_restriction/Pos_07060202_derived_by_restriction_001/Pos_07060202_derived_by_restriction_001.xml 0 → 100644 +6 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <ns:e1 xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns:ns="schema:Pos_07060202_derived_by_restriction_001"> <size>-200</size> <unit>string</unit> </ns:e1>
07_mapping_xsd_components/0706_complextype_components/070602_complex_content/07060202_derived_by_restriction/Pos_07060202_derived_by_restriction_001/Pos_07060202_derived_by_restriction_001.xsd 0 → 100644 +16 −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_07060202_derived_by_restriction_001" xmlns:ns="schema:Pos_07060202_derived_by_restriction_001"> <complexType name="c1"> <complexContent> <restriction base="anyType"> <sequence> <element name="size" type="nonPositiveInteger"/> <element name="unit" type="NMTOKEN"/> </sequence> </restriction> </complexContent> </complexType> <element name="e1" type="ns:c1"/> </schema> No newline at end of file