You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/08/04 14:37:17 UTC

cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable SchemaUtils.java

dims        2005/08/04 05:37:17

  Modified:    java/src/org/apache/axis/wsdl/symbolTable SchemaUtils.java
  Log:
  Handler simpleContent inside a complexType
  
              <s:complexType name="BinaryType">
                  <s:simpleContent>
                      <s:restriction base="xmime:base64Binary">
                          <s:attribute ref="xmime:contentType" use="required"/>
                      </s:restriction>
                  </s:simpleContent>
              </s:complexType>
  
  Revision  Changes    Path
  1.63      +1 -1      ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SchemaUtils.java
  
  Index: SchemaUtils.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SchemaUtils.java,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- SchemaUtils.java	29 Jul 2005 03:28:43 -0000	1.62
  +++ SchemaUtils.java	4 Aug 2005 12:37:17 -0000	1.63
  @@ -1008,7 +1008,7 @@
                    j++) {
                   Node kid = children.item(j);
   
  -                if (isXSDNode(kid, "complexContent")) {
  +                if (isXSDNode(kid, "complexContent") || isXSDNode(kid, "simpleContent")) {
                       content = kid;
                   }
               }