Commit 34a04025 authored by stancakapost's avatar stancakapost
Browse files

shortened path

parent 9facd35e
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:7.6.7, Verify referencing an attributeGroup in a complexType
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_070607_attribute_definitions_attribute_and_attributegroup_references_001 {

    import from schema_Pos_070607_attribute_definitions_attribute_and_attributegroup_references_001 language "XSD" all;

    template E1 m_msg := {bar:=5.0, foo:=omit, ding:="text"};

//#TC
}
+0 −6
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_070607_attribute_definitions_attribute_and_attributegroup_references_001"
bar="5.0">
<ding>text</ding>
</ns:e1>
+0 −16
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_070607_attribute_definitions_attribute_and_attributegroup_references_001"
    xmlns:ns="schema:Pos_070607_attribute_definitions_attribute_and_attributegroup_references_001">
    <attributeGroup name="ag1">
        <attribute name="foo" type="float"/>
        <attribute name="bar" type="float"/>
    </attributeGroup>
    <complexType name="c1">
        <sequence>
            <element name="ding" type="string"/>
        </sequence>
        <attributeGroup ref="ns:ag1"/>
    </complexType>
    <element name="e1" type="ns:c1"/>
</schema>
+0 −28
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:7.6.7, Verify mapping of a local attributes, attribute references and attribute group references without a target namespace
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_070607_attribute_definitions_attribute_and_attributegroup_references_002 {
    
    import from NoTargetNamespace language "XSD" all
        with {
            extension "File:../Pos_070607_attribute_definitions_attribute_and_attributegroup_references_002.xsd";
        };

    template E1 m_msg := {
        barInAgroup := "text",
        barLocal := omit,
        dingInAgroup := 1,
        dingLocal := omit,
        fooInAgroup := omit,
        fooLocal := omit,
        barGlobal := omit,
        dingGlobal := omit,
        fooGlobal := omit,
        elem := "text"
    }

//#TC
}
+0 −6
Original line number Diff line number Diff line
<?xml version="1.0"?>
<e1 
    xmlns:ns="schema:Pos_070607_attribute_definitions_attribute_and_attributegroup_references_002"
barInAgroup="text" dingInAgroup="1">
  <elem>text</elem>
</e1>
 No newline at end of file
Loading