haddadc     2003/01/01 14:29:14

  Modified:    java/src/org/apache/axis/wsdl/symbolTable Utils.java
  Log:
  Fix for Bug# 15752.  TypeEntry QName for elements below anonymous elements were 
being assigned a QName that did not match the QName associated with deserialized 
elements.  The two lines modified have been in place since the file was created, but 
this change does not break any functional tests.
  Phase II is to check in a test case that exposes the bugfix.  The test relies on a 
.NET based service and wsdl definition.  Also, an example of how to deserialize the 
contents of a strongly typed .NET dataset will be demonstrated.
  
  Revision  Changes    Path
  1.22      +1 -3      xml-axis/java/src/org/apache/axis/wsdl/symbolTable/Utils.java
  
  Index: Utils.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/symbolTable/Utils.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Utils.java        11 Dec 2002 22:38:29 -0000      1.21
  +++ Utils.java        1 Jan 2003 22:29:14 -0000       1.22
  @@ -225,12 +225,10 @@
                       search = null;
                   } else if (kind.getLocalPart().equals("element") ||
                              kind.getLocalPart().equals("attribute")) {
  -                    localName = SymbolTable.ANON_TOKEN +
  -                        getNodeNameQName(search).getLocalPart();
  +                    localName = getNodeNameQName(search).getLocalPart();
                       search = search.getParentNode();
                   } else if (kind.getLocalPart().equals("complexType") ||
                              kind.getLocalPart().equals("simpleType")) {
  -                    localName = getNodeNameQName(search).getLocalPart() + localName;
                       search = null;
                   } else {
                       search = search.getParentNode();
  
  
  


Reply via email to