You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2020/06/07 15:19:49 UTC

[axis-axis2-java-core] branch master updated: Fix some test cases that started to fail on recent Java versions

This is an automated email from the ASF dual-hosted git repository.

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new cf8967f  Fix some test cases that started to fail on recent Java versions
cf8967f is described below

commit cf8967f4ddabcd23a80a880fe00e83a3b74506e0
Author: Andreas Veithen <ve...@apache.org>
AuthorDate: Sun Jun 7 15:44:59 2020 +0100

    Fix some test cases that started to fail on recent Java versions
---
 .../src/test/schemas/default_generator/EnumAsParameter-2.xml            | 2 +-
 .../src/test/schemas/default_generator/EnumAsReturnType-2.xml           | 2 +-
 .../schemas/default_generator/MappingCheckwith_custom_mapping-2.xml     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/jaxbri-codegen/src/test/schemas/default_generator/EnumAsParameter-2.xml b/modules/jaxbri-codegen/src/test/schemas/default_generator/EnumAsParameter-2.xml
index 021b31e..fa80404 100644
--- a/modules/jaxbri-codegen/src/test/schemas/default_generator/EnumAsParameter-2.xml
+++ b/modules/jaxbri-codegen/src/test/schemas/default_generator/EnumAsParameter-2.xml
@@ -18,7 +18,7 @@
   -->
 
 
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://example.org" xmlns:enum="http://ws.apache.org/namespaces/axis2/enum" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://example.org">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://example.org" xmlns:enum="http://ws.apache.org/namespaces/axis2/enum" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://example.org" version="1.0">
     <xs:simpleType name="simpleEnum">
         <xs:restriction base="xs:string">
             <xs:enumeration value="WHITE"/>
diff --git a/modules/jaxbri-codegen/src/test/schemas/default_generator/EnumAsReturnType-2.xml b/modules/jaxbri-codegen/src/test/schemas/default_generator/EnumAsReturnType-2.xml
index a51ce7d..9be7275 100644
--- a/modules/jaxbri-codegen/src/test/schemas/default_generator/EnumAsReturnType-2.xml
+++ b/modules/jaxbri-codegen/src/test/schemas/default_generator/EnumAsReturnType-2.xml
@@ -18,7 +18,7 @@
   -->
 
 
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://example.org" xmlns:enum="http://ws.apache.org/namespaces/axis2/enum" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://example.org">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://example.org" xmlns:enum="http://ws.apache.org/namespaces/axis2/enum" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://example.org" version="1.0">
     <xs:simpleType name="simpleEnum">
         <xs:restriction base="xs:string">
             <xs:enumeration value="WHITE"/>
diff --git a/modules/jaxbri-codegen/src/test/schemas/default_generator/MappingCheckwith_custom_mapping-2.xml b/modules/jaxbri-codegen/src/test/schemas/default_generator/MappingCheckwith_custom_mapping-2.xml
index 42b089a..1673e18 100644
--- a/modules/jaxbri-codegen/src/test/schemas/default_generator/MappingCheckwith_custom_mapping-2.xml
+++ b/modules/jaxbri-codegen/src/test/schemas/default_generator/MappingCheckwith_custom_mapping-2.xml
@@ -17,7 +17,7 @@
   ~ under the License.
   -->
 
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://example.org" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://example.org">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://example.org" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://example.org" version="1.0">
 <xs:complexType name="dummyClass">
 <xs:sequence/>
 </xs:complexType>