Commit 68d1f7fe authored by Pakulin's avatar Pakulin
Browse files

The very first test case moved to a branch

parent b635b658
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:7.6.1.1, Verify extension of a built-in type by adding an attribute
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_07060101_extending_simple_content_001 {
    
    import from schema_Pos_07060101_extending_simple_content_001 language "XSD" all;

    template E23 m_test := {bar := 1, foo := 2.0, base := "something"}

//#TC m_test

}
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<e23 bar=1 foo=2.0>something</e23>
 No newline at end of file
+14 −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_07060101_extending_simple_content_001">
<!-- makes no difference if this schema is including the next one -->
<complexType name="e23">
	<simpleContent>
		<extension base="string">
			<attribute name="foo" type="float"/>
			<attribute name="bar" type="integer"/>
		</extension>
	</simpleContent>
</complexType>

</schema>