axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding SerializationContext.java
Date Wed, 28 Nov 2001 18:57:21 GMT
rubys       01/11/28 10:57:21

  Modified:    java/src/org/apache/axis/encoding SerializationContext.java
  Log:
  Explicitly mark multiref elements as non-root.
  
  Revision  Changes    Path
  1.63      +6 -0      xml-axis/java/src/org/apache/axis/encoding/SerializationContext.java
  
  Index: SerializationContext.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/SerializationContext.java,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- SerializationContext.java	2001/11/28 12:04:12	1.62
  +++ SerializationContext.java	2001/11/28 18:57:21	1.63
  @@ -425,6 +425,12 @@
           AttributesImpl attrs = new AttributesImpl();
           attrs.addAttribute("","","","","");
   
  +        // explicitly state that this attribute is not a root
  +        String prefix = getPrefixForURI(Constants.URI_SOAP_ENC);
  +        String root = prefix + ":root";
  +        attrs.addAttribute(Constants.URI_SOAP_ENC, Constants.ATTR_ROOT, root, 
  +                           "CDATA", "0");
  +
           Iterator i = ((HashMap)multiRefValues.clone()).keySet().iterator();
           while (i.hasNext()) {
               while (i.hasNext()) {
  
  
  

Mime
View raw message