dims 2002/11/30 19:09:44
Modified: java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
Log:
Throw exception only if we are about to add it to the symbolTable.
Revision Changes Path
1.56 +3 -4
xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java
Index: SymbolTable.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- SymbolTable.java 1 Dec 2002 00:03:42 -0000 1.55
+++ SymbolTable.java 1 Dec 2002 03:09:43 -0000 1.56
@@ -820,11 +820,10 @@
// Now get the TypeEntry
TypeEntry refType = getTypeEntry(refQName, forElement.value);
- if (refType == null) {
- throw new IOException(Messages.getMessage("absentRef00",
refQName.toString(), qName.toString()));
- }
-
if (!belowSchemaLevel) {
+ if (refType == null) {
+ throw new IOException(Messages.getMessage("absentRef00",
refQName.toString(), qName.toString()));
+ }
symbolTablePut(new DefinedElement(qName, refType, node, ""));
}
}
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... butek
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... butek
- RE: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symb... Tom Jordahl
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... scheu
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- Re: cvs commit: xml-axis/java/src/org/apache/axis/wsdl... Steve Loughran
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTa... dims
