W3C home > Mailing lists > Public > public-soap-jms@w3.org > April 2009

Reporting a minor error

From: Chermside, Michael <mchermside@ingdirect.com>
Date: Thu, 23 Apr 2009 05:35:38 +0000
Message-ID: <575AFC82CC29C142AB4E2AC00AD4C9607F761D@ingdexs1.ingdirect.com>
To: <public-soap-jms@w3.org>
I was reading the current SOAP-JMS spec at
http://www.w3.org/TR/2008/WD-soapjms-20081121 and I noticed a tiny flaw;
I figured this was the place to report it.

In section 2.2.2.1, the non-normative sample code demonstrating how a
JMS message header property may be set contains the following line of
code:

int deliveryMode = deliveryModeStr.equals("PERSISTENT") ?
DeliveryMode.PERSISTENT, DeliveryMode.NON_PERSISTENT;

I believe that the final comma should be a colon instead, leading to
this instead:

int deliveryMode = deliveryModeStr.equals("PERSISTENT") ?
DeliveryMode.PERSISTENT : DeliveryMode.NON_PERSISTENT;

Of course, it's a really minor point and it's non-normative, but since I
noticed I thought I'd point it out while things are still in draft
status.

-- Michael Chermside
   mcherm@mcherm.com






*****************************************************************************
This email may contain confidential or privileged information. If you believe
 you have received the message in error, please notify the sender and delete 
the message without copying or disclosing it.
*****************************************************************************
Received on Thursday, 23 April 2009 07:00:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:16:20 GMT