You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Simon Fell <so...@zaks.demon.co.uk> on 2000/07/25 07:14:13 UTC
Re: Bean Serializer Question
On Wed, 28 Jun 2000 01:29:41 -0400, in soap you wrote:
>Simon Fell writes:
>> section 1.2 says
>> Throughout this document, the namespace prefix "xsi" is assumed to be
>> associated with the URI "http://www.w3.org/1999/XMLSchema-instance"
>> which is defined in the XML Schemas specification [11]. Similarly, the
>> namespace prefix "xsd" is assumed to be associated with the URI
>> "http://www.w3.org/1999/XMLSchema" which is defined in [10].
>>
>> whilst the apache soap URI's are (well to be precise, the IBM-SOAP 1.2
>> that i'm currently testing with, have these been changed ?)
>
>Nope.
>
>> xsd = http://www.w3.org/1999/XMLSchema/
>> xsi = http://www.w3.org/1999/XMLSchema/instance/
>>
>> I've had a quick look at the schema specs, and the soap spec'd URI's
>> do appear to be as per the schema specs.
>
>Ouch. If we screwed up we'll change it. I'm surprised James Snell's
>interop testing didn't point this out .. James?
>
>Sanjiva.
did we come to any conclusions here ?, i notice that the MS .net SOAP
serializer uses
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
as per the SOAP 1.1 spec.
Cheers
Simon
RE: Bean Serializer Question
Posted by Steven McDowall <sj...@aptest.com>.
LOL!
Are you a chartered accountant or something?? :-)
You are correct again.. Here is a diff that fixes both those issues:
Index: Constants.java
===================================================================
RCS file: /home/cvspublic/xml-soap/java/src/org/apache/soap/Constants.java,v
retrieving revision 1.3
diff -u -r1.3 Constants.java
--- Constants.java 2000/06/01 16:56:46 1.3
+++ Constants.java 2000/07/25 18:01:38
@@ -83,9 +83,9 @@
public static String NS_URI_SOAP_ENC =
"http://schemas.xmlsoap.org/soap/encoding/";
public static String NS_URI_SCHEMA_XSI =
- "http://www.w3.org/1999/XMLSchema/instance/";
+ "http://www.w3.org/1999/XMLSchema-instance";
public static String NS_URI_SCHEMA_XSD =
- "http://www.w3.org/1999/XMLSchema/";
+ "http://www.w3.org/1999/XMLSchema";
public static String NS_URI_IBM_SOAP =
"http://xml.apache.org/xml-soap";
public static String NS_URI_IBM_DEPLOYMENT =
-----Original Message-----
From: Simon Fell [mailto:simon@zaks.demon.co.uk]
Sent: Tuesday, July 25, 2000 12:19 PM
To: soap-dev@xml.apache.org
Subject: Re: Bean Serializer Question
also the XSD namespace shouldn't have a trailing /
Cheers
Simon
On Tue, 25 Jul 2000 11:59:08 -0500, in soap you wrote:
>
>Hmm..
>
>Considering that, from what I can tell, both the W3C Schema doc AND the
>Soap 1.1 doc both specify XMLSchema-instance, we probably should too.. :-)
>
>Here is the diff, which I believe is all we need, to Constants.java
>
>Index: Constants.java
>===================================================================
>RCS file:
/home/cvspublic/xml-soap/java/src/org/apache/soap/Constants.java,v
>retrieving revision 1.3
>diff -u -r1.3 Constants.java
>--- Constants.java 2000/06/01 16:56:46 1.3
>+++ Constants.java 2000/07/25 16:56:17
>@@ -83,7 +83,7 @@
> public static String NS_URI_SOAP_ENC =
> "http://schemas.xmlsoap.org/soap/encoding/";
> public static String NS_URI_SCHEMA_XSI =
>- "http://www.w3.org/1999/XMLSchema/instance/";
>+ "http://www.w3.org/1999/XMLSchema-instance";
> public static String NS_URI_SCHEMA_XSD =
> "http://www.w3.org/1999/XMLSchema/";
> public static String NS_URI_IBM_SOAP =
>
>
>
>
>-----Original Message-----
>From: Simon Fell [mailto:soap@zaks.demon.co.uk]
>Sent: Tuesday, July 25, 2000 12:14 AM
>To: soap-dev@xml.apache.org
>Subject: Re: Bean Serializer Question
>
>
>On Wed, 28 Jun 2000 01:29:41 -0400, in soap you wrote:
>
>>Simon Fell writes:
>>> section 1.2 says
>>> Throughout this document, the namespace prefix "xsi" is assumed to be
>>> associated with the URI "http://www.w3.org/1999/XMLSchema-instance"
>>> which is defined in the XML Schemas specification [11]. Similarly, the
>>> namespace prefix "xsd" is assumed to be associated with the URI
>>> "http://www.w3.org/1999/XMLSchema" which is defined in [10].
>>>
>>> whilst the apache soap URI's are (well to be precise, the IBM-SOAP 1.2
>>> that i'm currently testing with, have these been changed ?)
>>
>>Nope.
>>
>>> xsd = http://www.w3.org/1999/XMLSchema/
>>> xsi = http://www.w3.org/1999/XMLSchema/instance/
>>>
>>> I've had a quick look at the schema specs, and the soap spec'd URI's
>>> do appear to be as per the schema specs.
>>
>>Ouch. If we screwed up we'll change it. I'm surprised James Snell's
>>interop testing didn't point this out .. James?
>>
>>Sanjiva.
>
>did we come to any conclusions here ?, i notice that the MS .net SOAP
>serializer uses
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
>
>as per the SOAP 1.1 spec.
>
>Cheers
>Simon
RE: Bean Serializer Question
Posted by Steven McDowall <sj...@aptest.com>.
LOL!
Are you a chartered accountant or something?? :-)
You are correct again.. Here is a diff that fixes both those issues:
Index: Constants.java
===================================================================
RCS file: /home/cvspublic/xml-soap/java/src/org/apache/soap/Constants.java,v
retrieving revision 1.3
diff -u -r1.3 Constants.java
--- Constants.java 2000/06/01 16:56:46 1.3
+++ Constants.java 2000/07/25 18:01:38
@@ -83,9 +83,9 @@
public static String NS_URI_SOAP_ENC =
"http://schemas.xmlsoap.org/soap/encoding/";
public static String NS_URI_SCHEMA_XSI =
- "http://www.w3.org/1999/XMLSchema/instance/";
+ "http://www.w3.org/1999/XMLSchema-instance";
public static String NS_URI_SCHEMA_XSD =
- "http://www.w3.org/1999/XMLSchema/";
+ "http://www.w3.org/1999/XMLSchema";
public static String NS_URI_IBM_SOAP =
"http://xml.apache.org/xml-soap";
public static String NS_URI_IBM_DEPLOYMENT =
-----Original Message-----
From: Simon Fell [mailto:simon@zaks.demon.co.uk]
Sent: Tuesday, July 25, 2000 12:19 PM
To: soap-dev@xml.apache.org
Subject: Re: Bean Serializer Question
also the XSD namespace shouldn't have a trailing /
Cheers
Simon
On Tue, 25 Jul 2000 11:59:08 -0500, in soap you wrote:
>
>Hmm..
>
>Considering that, from what I can tell, both the W3C Schema doc AND the
>Soap 1.1 doc both specify XMLSchema-instance, we probably should too.. :-)
>
>Here is the diff, which I believe is all we need, to Constants.java
>
>Index: Constants.java
>===================================================================
>RCS file:
/home/cvspublic/xml-soap/java/src/org/apache/soap/Constants.java,v
>retrieving revision 1.3
>diff -u -r1.3 Constants.java
>--- Constants.java 2000/06/01 16:56:46 1.3
>+++ Constants.java 2000/07/25 16:56:17
>@@ -83,7 +83,7 @@
> public static String NS_URI_SOAP_ENC =
> "http://schemas.xmlsoap.org/soap/encoding/";
> public static String NS_URI_SCHEMA_XSI =
>- "http://www.w3.org/1999/XMLSchema/instance/";
>+ "http://www.w3.org/1999/XMLSchema-instance";
> public static String NS_URI_SCHEMA_XSD =
> "http://www.w3.org/1999/XMLSchema/";
> public static String NS_URI_IBM_SOAP =
>
>
>
>
>-----Original Message-----
>From: Simon Fell [mailto:soap@zaks.demon.co.uk]
>Sent: Tuesday, July 25, 2000 12:14 AM
>To: soap-dev@xml.apache.org
>Subject: Re: Bean Serializer Question
>
>
>On Wed, 28 Jun 2000 01:29:41 -0400, in soap you wrote:
>
>>Simon Fell writes:
>>> section 1.2 says
>>> Throughout this document, the namespace prefix "xsi" is assumed to be
>>> associated with the URI "http://www.w3.org/1999/XMLSchema-instance"
>>> which is defined in the XML Schemas specification [11]. Similarly, the
>>> namespace prefix "xsd" is assumed to be associated with the URI
>>> "http://www.w3.org/1999/XMLSchema" which is defined in [10].
>>>
>>> whilst the apache soap URI's are (well to be precise, the IBM-SOAP 1.2
>>> that i'm currently testing with, have these been changed ?)
>>
>>Nope.
>>
>>> xsd = http://www.w3.org/1999/XMLSchema/
>>> xsi = http://www.w3.org/1999/XMLSchema/instance/
>>>
>>> I've had a quick look at the schema specs, and the soap spec'd URI's
>>> do appear to be as per the schema specs.
>>
>>Ouch. If we screwed up we'll change it. I'm surprised James Snell's
>>interop testing didn't point this out .. James?
>>
>>Sanjiva.
>
>did we come to any conclusions here ?, i notice that the MS .net SOAP
>serializer uses
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
>
>as per the SOAP 1.1 spec.
>
>Cheers
>Simon
Re: Bean Serializer Question
Posted by Simon Fell <si...@zaks.demon.co.uk>.
also the XSD namespace shouldn't have a trailing /
Cheers
Simon
On Tue, 25 Jul 2000 11:59:08 -0500, in soap you wrote:
>
>Hmm..
>
>Considering that, from what I can tell, both the W3C Schema doc AND the
>Soap 1.1 doc both specify XMLSchema-instance, we probably should too.. :-)
>
>Here is the diff, which I believe is all we need, to Constants.java
>
>Index: Constants.java
>===================================================================
>RCS file: /home/cvspublic/xml-soap/java/src/org/apache/soap/Constants.java,v
>retrieving revision 1.3
>diff -u -r1.3 Constants.java
>--- Constants.java 2000/06/01 16:56:46 1.3
>+++ Constants.java 2000/07/25 16:56:17
>@@ -83,7 +83,7 @@
> public static String NS_URI_SOAP_ENC =
> "http://schemas.xmlsoap.org/soap/encoding/";
> public static String NS_URI_SCHEMA_XSI =
>- "http://www.w3.org/1999/XMLSchema/instance/";
>+ "http://www.w3.org/1999/XMLSchema-instance";
> public static String NS_URI_SCHEMA_XSD =
> "http://www.w3.org/1999/XMLSchema/";
> public static String NS_URI_IBM_SOAP =
>
>
>
>
>-----Original Message-----
>From: Simon Fell [mailto:soap@zaks.demon.co.uk]
>Sent: Tuesday, July 25, 2000 12:14 AM
>To: soap-dev@xml.apache.org
>Subject: Re: Bean Serializer Question
>
>
>On Wed, 28 Jun 2000 01:29:41 -0400, in soap you wrote:
>
>>Simon Fell writes:
>>> section 1.2 says
>>> Throughout this document, the namespace prefix "xsi" is assumed to be
>>> associated with the URI "http://www.w3.org/1999/XMLSchema-instance"
>>> which is defined in the XML Schemas specification [11]. Similarly, the
>>> namespace prefix "xsd" is assumed to be associated with the URI
>>> "http://www.w3.org/1999/XMLSchema" which is defined in [10].
>>>
>>> whilst the apache soap URI's are (well to be precise, the IBM-SOAP 1.2
>>> that i'm currently testing with, have these been changed ?)
>>
>>Nope.
>>
>>> xsd = http://www.w3.org/1999/XMLSchema/
>>> xsi = http://www.w3.org/1999/XMLSchema/instance/
>>>
>>> I've had a quick look at the schema specs, and the soap spec'd URI's
>>> do appear to be as per the schema specs.
>>
>>Ouch. If we screwed up we'll change it. I'm surprised James Snell's
>>interop testing didn't point this out .. James?
>>
>>Sanjiva.
>
>did we come to any conclusions here ?, i notice that the MS .net SOAP
>serializer uses
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
>
>as per the SOAP 1.1 spec.
>
>Cheers
>Simon
Re: Bean Serializer Question
Posted by Simon Fell <si...@zaks.demon.co.uk>.
also the XSD namespace shouldn't have a trailing /
Cheers
Simon
On Tue, 25 Jul 2000 11:59:08 -0500, in soap you wrote:
>
>Hmm..
>
>Considering that, from what I can tell, both the W3C Schema doc AND the
>Soap 1.1 doc both specify XMLSchema-instance, we probably should too.. :-)
>
>Here is the diff, which I believe is all we need, to Constants.java
>
>Index: Constants.java
>===================================================================
>RCS file: /home/cvspublic/xml-soap/java/src/org/apache/soap/Constants.java,v
>retrieving revision 1.3
>diff -u -r1.3 Constants.java
>--- Constants.java 2000/06/01 16:56:46 1.3
>+++ Constants.java 2000/07/25 16:56:17
>@@ -83,7 +83,7 @@
> public static String NS_URI_SOAP_ENC =
> "http://schemas.xmlsoap.org/soap/encoding/";
> public static String NS_URI_SCHEMA_XSI =
>- "http://www.w3.org/1999/XMLSchema/instance/";
>+ "http://www.w3.org/1999/XMLSchema-instance";
> public static String NS_URI_SCHEMA_XSD =
> "http://www.w3.org/1999/XMLSchema/";
> public static String NS_URI_IBM_SOAP =
>
>
>
>
>-----Original Message-----
>From: Simon Fell [mailto:soap@zaks.demon.co.uk]
>Sent: Tuesday, July 25, 2000 12:14 AM
>To: soap-dev@xml.apache.org
>Subject: Re: Bean Serializer Question
>
>
>On Wed, 28 Jun 2000 01:29:41 -0400, in soap you wrote:
>
>>Simon Fell writes:
>>> section 1.2 says
>>> Throughout this document, the namespace prefix "xsi" is assumed to be
>>> associated with the URI "http://www.w3.org/1999/XMLSchema-instance"
>>> which is defined in the XML Schemas specification [11]. Similarly, the
>>> namespace prefix "xsd" is assumed to be associated with the URI
>>> "http://www.w3.org/1999/XMLSchema" which is defined in [10].
>>>
>>> whilst the apache soap URI's are (well to be precise, the IBM-SOAP 1.2
>>> that i'm currently testing with, have these been changed ?)
>>
>>Nope.
>>
>>> xsd = http://www.w3.org/1999/XMLSchema/
>>> xsi = http://www.w3.org/1999/XMLSchema/instance/
>>>
>>> I've had a quick look at the schema specs, and the soap spec'd URI's
>>> do appear to be as per the schema specs.
>>
>>Ouch. If we screwed up we'll change it. I'm surprised James Snell's
>>interop testing didn't point this out .. James?
>>
>>Sanjiva.
>
>did we come to any conclusions here ?, i notice that the MS .net SOAP
>serializer uses
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
>
>as per the SOAP 1.1 spec.
>
>Cheers
>Simon
Re: Bean Serializer Question
Posted by Steven McDowall <sj...@aptest.com>.
Hmm..
Considering that, from what I can tell, both the W3C Schema doc AND the
Soap 1.1 doc both specify XMLSchema-instance, we probably should too.. :-)
Here is the diff, which I believe is all we need, to Constants.java
Index: Constants.java
===================================================================
RCS file: /home/cvspublic/xml-soap/java/src/org/apache/soap/Constants.java,v
retrieving revision 1.3
diff -u -r1.3 Constants.java
--- Constants.java 2000/06/01 16:56:46 1.3
+++ Constants.java 2000/07/25 16:56:17
@@ -83,7 +83,7 @@
public static String NS_URI_SOAP_ENC =
"http://schemas.xmlsoap.org/soap/encoding/";
public static String NS_URI_SCHEMA_XSI =
- "http://www.w3.org/1999/XMLSchema/instance/";
+ "http://www.w3.org/1999/XMLSchema-instance";
public static String NS_URI_SCHEMA_XSD =
"http://www.w3.org/1999/XMLSchema/";
public static String NS_URI_IBM_SOAP =
-----Original Message-----
From: Simon Fell [mailto:soap@zaks.demon.co.uk]
Sent: Tuesday, July 25, 2000 12:14 AM
To: soap-dev@xml.apache.org
Subject: Re: Bean Serializer Question
On Wed, 28 Jun 2000 01:29:41 -0400, in soap you wrote:
>Simon Fell writes:
>> section 1.2 says
>> Throughout this document, the namespace prefix "xsi" is assumed to be
>> associated with the URI "http://www.w3.org/1999/XMLSchema-instance"
>> which is defined in the XML Schemas specification [11]. Similarly, the
>> namespace prefix "xsd" is assumed to be associated with the URI
>> "http://www.w3.org/1999/XMLSchema" which is defined in [10].
>>
>> whilst the apache soap URI's are (well to be precise, the IBM-SOAP 1.2
>> that i'm currently testing with, have these been changed ?)
>
>Nope.
>
>> xsd = http://www.w3.org/1999/XMLSchema/
>> xsi = http://www.w3.org/1999/XMLSchema/instance/
>>
>> I've had a quick look at the schema specs, and the soap spec'd URI's
>> do appear to be as per the schema specs.
>
>Ouch. If we screwed up we'll change it. I'm surprised James Snell's
>interop testing didn't point this out .. James?
>
>Sanjiva.
did we come to any conclusions here ?, i notice that the MS .net SOAP
serializer uses
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
as per the SOAP 1.1 spec.
Cheers
Simon
Re: Bean Serializer Question
Posted by Steven McDowall <sj...@aptest.com>.
Hmm..
Considering that, from what I can tell, both the W3C Schema doc AND the
Soap 1.1 doc both specify XMLSchema-instance, we probably should too.. :-)
Here is the diff, which I believe is all we need, to Constants.java
Index: Constants.java
===================================================================
RCS file: /home/cvspublic/xml-soap/java/src/org/apache/soap/Constants.java,v
retrieving revision 1.3
diff -u -r1.3 Constants.java
--- Constants.java 2000/06/01 16:56:46 1.3
+++ Constants.java 2000/07/25 16:56:17
@@ -83,7 +83,7 @@
public static String NS_URI_SOAP_ENC =
"http://schemas.xmlsoap.org/soap/encoding/";
public static String NS_URI_SCHEMA_XSI =
- "http://www.w3.org/1999/XMLSchema/instance/";
+ "http://www.w3.org/1999/XMLSchema-instance";
public static String NS_URI_SCHEMA_XSD =
"http://www.w3.org/1999/XMLSchema/";
public static String NS_URI_IBM_SOAP =
-----Original Message-----
From: Simon Fell [mailto:soap@zaks.demon.co.uk]
Sent: Tuesday, July 25, 2000 12:14 AM
To: soap-dev@xml.apache.org
Subject: Re: Bean Serializer Question
On Wed, 28 Jun 2000 01:29:41 -0400, in soap you wrote:
>Simon Fell writes:
>> section 1.2 says
>> Throughout this document, the namespace prefix "xsi" is assumed to be
>> associated with the URI "http://www.w3.org/1999/XMLSchema-instance"
>> which is defined in the XML Schemas specification [11]. Similarly, the
>> namespace prefix "xsd" is assumed to be associated with the URI
>> "http://www.w3.org/1999/XMLSchema" which is defined in [10].
>>
>> whilst the apache soap URI's are (well to be precise, the IBM-SOAP 1.2
>> that i'm currently testing with, have these been changed ?)
>
>Nope.
>
>> xsd = http://www.w3.org/1999/XMLSchema/
>> xsi = http://www.w3.org/1999/XMLSchema/instance/
>>
>> I've had a quick look at the schema specs, and the soap spec'd URI's
>> do appear to be as per the schema specs.
>
>Ouch. If we screwed up we'll change it. I'm surprised James Snell's
>interop testing didn't point this out .. James?
>
>Sanjiva.
did we come to any conclusions here ?, i notice that the MS .net SOAP
serializer uses
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
as per the SOAP 1.1 spec.
Cheers
Simon