Loading test/Pos_050102_includes_001/Pos_050102_includes_001.ttcn_ 0 → 100644 +19 −0 Original line number Original line Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:5.1.2, Test inclusion of a schema with the same namespace ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // XSD include element information items shall be ignored if the included schema element has the same target // namespace as the including one (implying the absence of the target namespace). module Pos_050102_includes_001 { import from schema_Pos_050102_includes_001 language "XSD" all; template MyType m_msg := 1; //#TC } test/Pos_050102_includes_001/Pos_050102_includes_001.xml 0 → 100644 +2 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <ns1:MyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="schema:Pos_050102_includes_001">1</ns1:MyType> No newline at end of file test/Pos_050102_includes_001/Pos_050102_includes_001.xsd 0 → 100644 +7 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="schema:Pos_050102_includes_001" xmlns:ns1="schema:Pos_050102_includes_001"> <include schemaLocation="Pos_050102_includes_001_1.xsd" /> <element name="MyType2" type="integer"/> </schema> test/Pos_050102_includes_001/Pos_050102_includes_001_1.xsd 0 → 100644 +6 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="schema:Pos_050102_includes_001" xmlns:ns2="schema:Pos_050102_includes_001"> <element name="MyType" type="integer"/> </schema> No newline at end of file Loading
test/Pos_050102_includes_001/Pos_050102_includes_001.ttcn_ 0 → 100644 +19 −0 Original line number Original line Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:5.1.2, Test inclusion of a schema with the same namespace ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // XSD include element information items shall be ignored if the included schema element has the same target // namespace as the including one (implying the absence of the target namespace). module Pos_050102_includes_001 { import from schema_Pos_050102_includes_001 language "XSD" all; template MyType m_msg := 1; //#TC }
test/Pos_050102_includes_001/Pos_050102_includes_001.xml 0 → 100644 +2 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <ns1:MyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="schema:Pos_050102_includes_001">1</ns1:MyType> No newline at end of file
test/Pos_050102_includes_001/Pos_050102_includes_001.xsd 0 → 100644 +7 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="schema:Pos_050102_includes_001" xmlns:ns1="schema:Pos_050102_includes_001"> <include schemaLocation="Pos_050102_includes_001_1.xsd" /> <element name="MyType2" type="integer"/> </schema>
test/Pos_050102_includes_001/Pos_050102_includes_001_1.xsd 0 → 100644 +6 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="schema:Pos_050102_includes_001" xmlns:ns2="schema:Pos_050102_includes_001"> <element name="MyType" type="integer"/> </schema> No newline at end of file