W3C home > Mailing lists > Public > xml-dist-app@w3.org > November 2002

RE: Problem with SOAP Fault/Reason/Text ?

From: <noah_mendelsohn@us.ibm.com>
Date: Thu, 21 Nov 2002 21:47:36 -0500
To: "Martin Gudgin" <mgudgin@microsoft.com>
Cc: "Marc Hadley" <marc.hadley@sun.com>, xml-dist-app@w3.org
Message-ID: <OF01CE141B.2D1FDA0A-ON85256C79.000F348C@lotus.com>

I'm on the fence whether this should be MUST or SHOULD. 

Pros for MUST:  it's what we mean, having two with the same lang is 
incoherent, it's consistent with enforcing in the schema via Unique, I 
think.

Cons for MUST:  turns it into a conformance requirement to check.   If I 
find an English reason, must I really check that there weren't also two 
strings in Russian?  That's a lot of implementation effort for a 
non-validating implementation.

As I say, I'm unsure what's best.

------------------------------------------------------------------
Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------







"Martin Gudgin" <mgudgin@microsoft.com>
Sent by: xml-dist-app-request@w3.org
11/21/2002 06:43 PM

 
        To:     "Marc Hadley" <marc.hadley@sun.com>, <xml-dist-app@w3.org>
        cc:     (bcc: Noah Mendelsohn/Cambridge/IBM)
        Subject:        RE: Problem with SOAP Fault/Reason/Text ?



Certainly the intent was that all the xml:lang values would be
different. I can amend the schema and the spec tomorrow

Gudge

> -----Original Message-----
> From: Marc Hadley [mailto:marc.hadley@sun.com] 
> Sent: 21 November 2002 22:12
> To: xml-dist-app@w3.org
> Subject: Problem with SOAP Fault/Reason/Text ?
> 
> 
> 
> The spec currently allows multiple Text child EIIs of the Reason 
> EII[1]. Each Text EII carries a mandatory xml:lang AII. I 
> believe the 
> intent is that the each Text child EII should carry a version of the 
> fault text for a different language, but the spec doesn't say 
> that and 
> would currently allow multiple Text EIIs for the same language.
> 
> Proposal:
> (i) Add text that constrains the child EIIs of the Reason EII 
> to only 
> contain a single Text EII for each unique value of xml:lang.
> (ii) Fix the envelope schema to enforce this (if that's possible ?).
> 
> Comments ?
> 
> Marc.
> 
> [1] 
> http://www.w3.org/2000/xp/Group/2/06/LC/soap12- 
> part1.html#faultstringelement
> 
> --
> Marc Hadley <marc.hadley@sun.com>
> Web Technologies and Standards, Sun Microsystems.
> 
> 
Received on Thursday, 21 November 2002 21:48:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:11 GMT