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 ia...@apache.org on 2004/07/02 15:24:53 UTC
cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
ias 2004/07/02 06:24:53
Modified: java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
Log:
Handles global attributes more precisely. Now a global attribute is considered roughly the same as global element by representing Element in entries of SymbolTable.
Revision Changes Path
1.101 +5 -0 ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java
Index: SymbolTable.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- SymbolTable.java 22 Jun 2004 16:58:25 -0000 1.100
+++ SymbolTable.java 2 Jul 2004 13:24:53 -0000 1.101
@@ -1015,6 +1015,7 @@
}
}
}
+ createTypeFromDef(node, true, level > SCHEMA_LEVEL);
} else if (isXSD && localPart.equals("any")) {
// Map xsd:any element to special xsd:any "type"
@@ -3219,6 +3220,10 @@
while (it.hasNext()) {
TypeEntry nestedType = (TypeEntry) it.next();
TypeEntry refType = entry.getRefType();
+
+ if (nestedType == null) {
+ continue;
+ }
if ((refType != null) && !refType.equals(nestedType)
&& nestedType.isOnlyLiteralReferenced()) {