axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/message MessageElement.java RPCParam.java SOAPEnvelope.java
Date Fri, 27 Apr 2001 18:53:21 GMT
gdaniels    01/04/27 11:53:21

  Modified:    java/src/org/apache/axis/message MessageElement.java
                        RPCParam.java SOAPEnvelope.java
  Log:
  Change "string" attribute type to "CDATA" per the SAX docs.
  
  Revision  Changes    Path
  1.7       +4 -4      xml-axis/java/src/org/apache/axis/message/MessageElement.java
  
  Index: MessageElement.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/MessageElement.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MessageElement.java	2001/04/27 18:16:07	1.6
  +++ MessageElement.java	2001/04/27 18:53:19	1.7
  @@ -115,7 +115,7 @@
               this.attributes.addAttribute(attributes.getURI(i),
                                            attributes.getLocalName(i),
                                            attributes.getQName(i),
  -                                         "string",
  +                                         "CDATA",
                                            attributes.getValue(i));
           }
               
  @@ -225,7 +225,7 @@
                   // what's already there.
                   for (int i = 0; i < attributes.getLength(); i++) {
                       attrs.addAttribute(attributes.getURI(i), attributes.getLocalName(i),
  -                                       attributes.getQName(i), "string",
  +                                       attributes.getQName(i), "CDATA",
                                          attributes.getValue(i));
                   }
               } else {
  @@ -236,14 +236,14 @@
                   if ((desc == null) || desc.getSendTypeAttr()) {
                       if (typeQName != null) {
                           attrs.addAttribute(Constants.URI_SCHEMA_XSI, "type", "xsi:type",
  -                                           "string",
  +                                           "CDATA",
                                              context.qName2String(typeQName));
                       }
                   }
                   
                   if (val == null)
                       attrs.addAttribute(Constants.URI_SCHEMA_XSI, "null", "xsi:null",
  -                                       "string", "1");
  +                                       "CDATA", "1");
               }
               
               context.startElement(new QName(getNamespaceURI(), getName()), attrs);
  
  
  
  1.2       +3 -3      xml-axis/java/src/org/apache/axis/message/RPCParam.java
  
  Index: RPCParam.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/RPCParam.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RPCParam.java	2001/04/26 22:53:40	1.1
  +++ RPCParam.java	2001/04/27 18:53:19	1.2
  @@ -187,7 +187,7 @@
               // what's already there.
               for (int i = 0; i < attributes.getLength(); i++) {
                   attrs.addAttribute(attributes.getURI(i), attributes.getLocalName(i),
  -                                   attributes.getQName(i), "string",
  +                                   attributes.getQName(i), "CDATA",
                                      attributes.getValue(i));
               }
           } else {
  @@ -198,14 +198,14 @@
               if ((desc == null) || desc.getSendTypeAttr()) {
                   if (typeQName != null) {
                       attrs.addAttribute(Constants.URI_SCHEMA_XSI, "type", "xsi:type",
  -                                       "string",
  +                                       "CDATA",
                                          context.qName2String(typeQName));
                   }
               }
           
               if (val == null)
                   attrs.addAttribute(Constants.URI_SCHEMA_XSI, "null", "xsi:null",
  -                                   "string", "1");
  +                                   "CDATA", "1");
           }
           
           context.startElement(new QName(getNamespaceURI(), getName()), attrs);
  
  
  
  1.19      +1 -1      xml-axis/java/src/org/apache/axis/message/SOAPEnvelope.java
  
  Index: SOAPEnvelope.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/SOAPEnvelope.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- SOAPEnvelope.java	2001/04/26 22:53:40	1.18
  +++ SOAPEnvelope.java	2001/04/27 18:53:19	1.19
  @@ -286,7 +286,7 @@
               attrs = new AttributesImpl();
               attrs.addAttribute(Constants.URI_SOAP_ENV,
                                  Constants.ATTR_ENCODING_STYLE,
  -                               "SOAP-ENV:" + Constants.ATTR_ENCODING_STYLE, "string", encodingStyleURI);
  +                               "SOAP-ENV:" + Constants.ATTR_ENCODING_STYLE, "CDATA", encodingStyleURI);
           }
           
           context.startElement(new QName(Constants.URI_SOAP_ENV,
  
  
  

Mime
View raw message