Loading 05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_001/Pos_050202_name_conversion_rules_001.ttcn_ 0 → 100644 +24 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:5.2.2, Verify conversion of symbols into U+005f (low line) ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // Rule b: // the characters " " (SPACE), "." (FULL STOP), "-" (HYPEN-MINUS), ":" (COLON) and "/" // (SOLIDUS) shall all be replaced by a "_" (LOW LINE); module Pos_050202_name_conversion_rules_001 { import from schema_Pos_050202_name_conversion_rules_001_test language "XSD" all; template A_b_c m_src := { d_e_f := 1, g_h_i := 2 }; template MyType m_msg := m_src; //#TC } 05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_001/Pos_050202_name_conversion_rules_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" g.h-i="2" xmlns:ns="schema:Pos 050202.name-conversion_rules_001/test"> <d.e-f>1</d.e-f> </ns:MyType> No newline at end of file 05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_001/Pos_050202_name_conversion_rules_001.xsd 0 → 100644 +12 −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 050202.name-conversion_rules_001/test" xmlns:ns="schema:Pos 050202.name-conversion_rules_001/test"> <element name="MyType" type="ns:A.b-c" /> <complexType name="A.b-c"> <sequence> <element name="d.e-f" type="integer"/> </sequence> <attribute name="g.h-i" type="integer" /> </complexType> </schema> 05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_002/Pos_050202_name_conversion_rules_002.ttcn_ 0 → 100644 +24 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:5.2.2, Verify that non-ASCI letters are not present in transforming identifiers ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // Rule c: // any character except "A" to "Z" (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z), // "a" to "z" (LATIN SMALL LETTER A to LATIN SMALL LETTER Z), "0" to "9" (DIGIT ZERO // to DIGIT NINE), and "_" (LOW LINE) shall be removed; module Pos_050202_name_conversion_rules_002 { import from schema_Pos_050202_name_conversion_rules_002 language "XSD" all; template Xx m_src := { aa := 1, bb := 2 }; template MyType m_msg := m_src; //#TC } 05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_002/Pos_050202_name_conversion_rules_002.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" böä蓉蕻b="2" xmlns:ns="schema:Pos_050202_name_conversion_öä蓉蕻rules_002"> <aöä蓉蕻a>1</aöä蓉蕻a> </ns:MyType> No newline at end of file Loading
05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_001/Pos_050202_name_conversion_rules_001.ttcn_ 0 → 100644 +24 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:5.2.2, Verify conversion of symbols into U+005f (low line) ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // Rule b: // the characters " " (SPACE), "." (FULL STOP), "-" (HYPEN-MINUS), ":" (COLON) and "/" // (SOLIDUS) shall all be replaced by a "_" (LOW LINE); module Pos_050202_name_conversion_rules_001 { import from schema_Pos_050202_name_conversion_rules_001_test language "XSD" all; template A_b_c m_src := { d_e_f := 1, g_h_i := 2 }; template MyType m_msg := m_src; //#TC }
05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_001/Pos_050202_name_conversion_rules_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" g.h-i="2" xmlns:ns="schema:Pos 050202.name-conversion_rules_001/test"> <d.e-f>1</d.e-f> </ns:MyType> No newline at end of file
05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_001/Pos_050202_name_conversion_rules_001.xsd 0 → 100644 +12 −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 050202.name-conversion_rules_001/test" xmlns:ns="schema:Pos 050202.name-conversion_rules_001/test"> <element name="MyType" type="ns:A.b-c" /> <complexType name="A.b-c"> <sequence> <element name="d.e-f" type="integer"/> </sequence> <attribute name="g.h-i" type="integer" /> </complexType> </schema>
05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_002/Pos_050202_name_conversion_rules_002.ttcn_ 0 → 100644 +24 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:5.2.2, Verify that non-ASCI letters are not present in transforming identifiers ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // Rule c: // any character except "A" to "Z" (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z), // "a" to "z" (LATIN SMALL LETTER A to LATIN SMALL LETTER Z), "0" to "9" (DIGIT ZERO // to DIGIT NINE), and "_" (LOW LINE) shall be removed; module Pos_050202_name_conversion_rules_002 { import from schema_Pos_050202_name_conversion_rules_002 language "XSD" all; template Xx m_src := { aa := 1, bb := 2 }; template MyType m_msg := m_src; //#TC }
05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_002/Pos_050202_name_conversion_rules_002.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" böä蓉蕻b="2" xmlns:ns="schema:Pos_050202_name_conversion_öä蓉蕻rules_002"> <aöä蓉蕻a>1</aöä蓉蕻a> </ns:MyType> No newline at end of file