https://bugzilla.novell.com/show_bug.cgi?id=402128

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=402128#c3


Andy Hume <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #3 from Andy Hume <[EMAIL PROTECTED]>  2008-06-20 09:37:59 MDT ---
Mono has of course to be compatible with MSFT, and care seems to have been
taken to ensure that for this class, see for instance the sample SOAP results
below, and various comments in the code.

MSFT isn't including any parent information as far as I can see...  So it must
be being recalculated on deserialization.  They doesn't implement ISerializable
either according to corcompare, but might use [OnDeserializing]?  Mono's
version apparently uses the constructed flag for similar purposes.


MSFT:
[[
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0";
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
<SOAP-ENV:Body>
<a1:CultureInfo id="ref-1"
xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Globalization";>
        <cultureID>1033</cultureID>
        <m_isReadOnly>true</m_isReadOnly>
        <compareInfo href="#ref-2"/>
        <textInfo xsi:null="1"/>
        <numInfo xsi:null="1"/>
        <dateTimeInfo xsi:null="1"/>
        <calendar xsi:null="1"/>
        <m_name id="ref-3">en-US</m_name>
        <m_dataItem>41</m_dataItem>
        <m_useUserOverride>false</m_useUserOverride>
</a1:CultureInfo>
<a1:CompareInfo id="ref-2"
xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Globalization";>
        <win32LCID>1033</win32LCID>
        <culture>1033</culture>
        <m_name id="ref-4">en-US</m_name>
</a1:CompareInfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]

Mono (elements reordered for readability)
[[
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:clr="http://schemas.microsoft.com/clr/";
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
  <SOAP-ENV:Body>
    <a1:CultureInfo id="ref-1"
xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Globalization";>
      <cultureID>1033</cultureID>
      <m_isReadOnly>true</m_isReadOnly>
      <compareInfo xsi:null="1" />
      <textInfo xsi:null="1" />
      <dateTimeInfo xsi:null="1" />
      <calendar xsi:null="1" />
      <m_name id="ref-2">en-US</m_name>
      <m_dataItem>0</m_dataItem>
      <m_useUserOverride>false</m_useUserOverride>
    </a1:CultureInfo>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]

So only missing numInfo and compareInfo, so do properties related to them fail
on deserialization too?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to