Commit 2cbcb1df authored by stancakapost's avatar stancakapost
Browse files

fixed tests

parent 8b688a81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ module Pos_070101_id_001 {

   import from schema_Pos_070101_id_001 language "XSD" all;

   template E01 m_base := "test";
   template ProductType m_base := {name := "Moby Dick", price := "$12.4"};
   template MyType m_msg := m_base;

//#TC
+4 −1
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" xmlns:ns="schema:Pos_070101_id_001">test</ns:MyType>
 No newline at end of file
<ns:MyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="schema:Pos_070101_id_001">
<name>Moby Dick</name>
<price>$12.4</price>
</ns:MyType>
 No newline at end of file
+8 −7
Original line number Diff line number Diff line
@@ -2,11 +2,12 @@
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="schema:Pos_070101_id_001"
    xmlns:ns="schema:Pos_070101_id_001">
 <complexType name="ProductType">
  <element name="MyType">
	 <complexType id="ProductType">
	   <sequence>
	     <element name="name" type="string"/>
	     <element name="price" type="string"/>
	   </sequence>
   <attribute ref="id" use="required" />
	 </complexType>
  </element>  
</schema>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ module Pos_070101_id_002 {

   import from schema_Pos_070101_id_002 language "XSD" all;

   template E01 m_base := "foo";
   template E01 m_base := "test";
   template MyType m_msg := {
       foo := m_base
   }; 
+1 −1
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" xmlns:ns="schema:Pos_070101_id_002">
 <foo>foo</foo>
 <foo>test</foo>
</ns:MyType>
 No newline at end of file