Loading 05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_001/Pos_050202_name_conversion_rules_001.xml +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" g.h-i="2" xmlns:ns="schema:Pos 050202.name-conversion_rules_001/test"> <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 +2 −2 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%20050202.name-conversion_rules_001/test" xmlns:ns="schema:Pos%20050202.name-conversion_rules_001/test"> 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> Loading 05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_004/Pos_050202_name_conversion_rules_004.xml +2 −2 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" ghi.="2" xmlns:ns="::schema:Pos_050202_name_conversion_rules_004::"> <_def>1</_def> <ns:MyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ghi.="2" xmlns:ns="schema:Pos_050202_name_conversion_rules_004--"> <__def>1</__def> </ns:MyType> No newline at end of file 05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_004/Pos_050202_name_conversion_rules_004.xsd +3 −3 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_004::" xmlns:ns="::schema:Pos_050202_name_conversion_rules_004::"> targetNamespace="schema:Pos_050202_name_conversion_rules_004--" xmlns:ns="schema:Pos_050202_name_conversion_rules_004--"> <element name="MyType" type="ns:_Abc." /> <complexType name="_Abc."> <sequence> <element name="_def" type="integer"/> <element name="__def" type="integer"/> </sequence> <attribute name="ghi." type="integer" /> </complexType> Loading 07_mapping_xsd_components/0705_simpletype_components/070501_derivation_by_restriction/Pos_070501_derivation_by_restriction_001/Pos_070501_derivation_by_restriction_001.ttcn_ 0 → 100644 +20 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.5.1, Verify that it is possible to convert anonymous ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // It is also possible in XSD to restrict an anonymous simple type. The translation // follows the mapping for built-in data types, but instead of using the base // attribute to identify the type to apply the facet to, the base attribute type // shall be omitted and the type of the inner, anonymous simpleType shall be used. module Pos_070501_derivation_by_restriction_001 { import from schema_Pos_070501_derivation_by_restriction_001 language "XSD" all; template MyType m_msg := 1; //#TC } Loading
05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_001/Pos_050202_name_conversion_rules_001.xml +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" g.h-i="2" xmlns:ns="schema:Pos 050202.name-conversion_rules_001/test"> <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 +2 −2 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%20050202.name-conversion_rules_001/test" xmlns:ns="schema:Pos%20050202.name-conversion_rules_001/test"> 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> Loading
05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_004/Pos_050202_name_conversion_rules_004.xml +2 −2 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" ghi.="2" xmlns:ns="::schema:Pos_050202_name_conversion_rules_004::"> <_def>1</_def> <ns:MyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ghi.="2" xmlns:ns="schema:Pos_050202_name_conversion_rules_004--"> <__def>1</__def> </ns:MyType> No newline at end of file
05_mapping_xml_schemas/0502_name_conversion/050202_name_conversion_rules/Pos_050202_name_conversion_rules_004/Pos_050202_name_conversion_rules_004.xsd +3 −3 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_004::" xmlns:ns="::schema:Pos_050202_name_conversion_rules_004::"> targetNamespace="schema:Pos_050202_name_conversion_rules_004--" xmlns:ns="schema:Pos_050202_name_conversion_rules_004--"> <element name="MyType" type="ns:_Abc." /> <complexType name="_Abc."> <sequence> <element name="_def" type="integer"/> <element name="__def" type="integer"/> </sequence> <attribute name="ghi." type="integer" /> </complexType> Loading
07_mapping_xsd_components/0705_simpletype_components/070501_derivation_by_restriction/Pos_070501_derivation_by_restriction_001/Pos_070501_derivation_by_restriction_001.ttcn_ 0 → 100644 +20 −0 Original line number Diff line number Diff line /*************************************************** ** @author STF 475 ** @version 0.0.1 ** @purpose 9:7.5.1, Verify that it is possible to convert anonymous ** @verdict pass accept, ttcn3verdict:pass ***************************************************/ // The following requirements are tested: // It is also possible in XSD to restrict an anonymous simple type. The translation // follows the mapping for built-in data types, but instead of using the base // attribute to identify the type to apply the facet to, the base attribute type // shall be omitted and the type of the inner, anonymous simpleType shall be used. module Pos_070501_derivation_by_restriction_001 { import from schema_Pos_070501_derivation_by_restriction_001 language "XSD" all; template MyType m_msg := 1; //#TC }