rubys       2002/06/22 03:37:02

  Modified:    java/src/org/apache/axis/encoding/ser MapDeserializer.java
               java/src/org/apache/axis/utils axisNLS.properties
  Log:
  From http://www.faqs.org/rfcs/rfc791.html :
  
      In general, an implementation must be conservative in its sending
      behavior, and liberal in its receiving behavior
  
  In this case, Axis was insisting that Hashtables keys and values were
  wrapped in <item> elements... a restriction that Apache SOAP does not
  enforce, and precludes interoperability with a released version of
  another SOAP stack (specifically Wingfoot 1.02).
  
  Revision  Changes    Path
  1.12      +0 -4      
xml-axis/java/src/org/apache/axis/encoding/ser/MapDeserializer.java
  
  Index: MapDeserializer.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/encoding/ser/MapDeserializer.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- MapDeserializer.java      11 Jun 2002 14:53:56 -0000      1.11
  +++ MapDeserializer.java      22 Jun 2002 10:37:02 -0000      1.12
  @@ -145,10 +145,6 @@
               log.debug("Enter: MapDeserializer::onStartChild()");
           }
   
  -        if (!localName.equals("item"))
  -            throw new SAXException(
  -                    JavaUtils.getMessage("itemInMap00"));
  -                    
           SOAPHandler sh = new ItemHandler(this);
           
           if (log.isDebugEnabled()) {
  
  
  
  1.13      +0 -3      xml-axis/java/src/org/apache/axis/utils/axisNLS.properties
  
  Index: axisNLS.properties
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/axisNLS.properties,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- axisNLS.properties        21 Jun 2002 21:40:03 -0000      1.12
  +++ axisNLS.properties        22 Jun 2002 10:37:02 -0000      1.13
  @@ -251,9 +251,6 @@
   invokeService00=Invoking service/pivot
   isNull00=is {0} null?  {1}
   
  -# NOTE:  in itemInMap00, do not translate "''item''" and "Map"
  -itemInMap00=Only ''item'' elements are allowed in a Map!
  -
   lookup00=Looking up method {0} in class {1}
   makeEnvFail00=Could not make envelope
   match00={0} match:  host:  {1}, pattern:  {2}
  
  
  


Reply via email to