Closed Bug 131952 Opened 22 years ago Closed 22 years ago

New string variant types not known as strings to SOAP.

Categories

(Core :: XML, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: rayw, Assigned: rayw)

References

Details

Attachments

(1 file)

New string types were added to nsIVariant, that need to be added to SOAP.

After review of the default encoding, it appears that the only thing wrong with
these types is that they will be automatically identified as AnySimpleType
instead of as String.  I do not have an exact test case, because I do not know
in what cases these strings are produced.
Status: NEW → ASSIGNED
Keywords: nsbeta1
I am assuming that this does not affect arrays -- that I will still only get
arrays of type STR or WSTR.
This should fix the case where a typeless native string is passed to the
encoder, where it would otherwise be identified as AnyType.  There was probably
never any problem when the schema type is explicitly passed.  This is
speculation, since we have no test case, but it seems like a fairly safe thing
to do.
Blocks: 129613
I request review and superreview on this, and I will need to NSBETA1+ this.
Comment on attachment 74934 [details] [diff] [review]
Patch to recognize new native types as strings.

sr=jband
Attachment #74934 - Flags: superreview+
Comment on attachment 74934 [details] [diff] [review]
Patch to recognize new native types as strings.

r=heikki
Attachment #74934 - Flags: review+
->nsbeta1+. Mail drivers for approval.
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
Target Milestone: --- → mozilla1.0
Comment on attachment 74934 [details] [diff] [review]
Patch to recognize new native types as strings.

a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #74934 - Flags: approval+
Patch was checkin in to tree.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Changing Q/A contact
QA Contact: petersen → rakeshmishra
Verified on the trunk build 2002-05-28-09-trunk .

Marking verified
Status: RESOLVED → VERIFIED
Rakesh: Just out of interest, how did you verify this?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: