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 2004/03/23 15:07:02 UTC
cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
dims 2004/03/23 06:07:02
Modified: java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
Log:
Fix for AXIS-1259 - local xsd:group constructs are not processed properly
Revision Changes Path
1.92 +7 -2 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.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- SymbolTable.java 16 Mar 2004 15:14:29 -0000 1.91
+++ SymbolTable.java 23 Mar 2004 14:07:01 -0000 1.92
@@ -621,16 +621,21 @@
// Check for a undefined XSD Schema Type and throw
// an unsupported message instead of undefined
- if (SchemaUtils.isSimpleSchemaType(entry.getQName())) {
+ if (SchemaUtils.isSimpleSchemaType(qn)) {
throw new IOException(
Messages.getMessage(
"unsupportedSchemaType00", qn.getLocalPart()));
}
+ if(Constants.isSchemaXSD(qn.getNamespaceURI())) {
+ if(qn.getLocalPart().equals("simpleRestrictionModel")) {
+ continue;
+ }
+ }
// last case, its some other undefined thing
throw new IOException(
Messages.getMessage(
- "undefined00", entry.getQName().toString()));
+ "undefined00", qn.toString()));
} // if undefined
else if (entry instanceof UndefinedElement) {
throw new IOException(