You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-dev@ws.apache.org by as...@apache.org on 2007/03/27 18:02:46 UTC
svn commit: r522973 -
/webservices/wsif/trunk/java/src/org/apache/wsif/schema/Parser.java
Author: aslom
Date: Tue Mar 27 09:02:45 2007
New Revision: 522973
URL: http://svn.apache.org/viewvc?view=rev&rev=522973
Log:
fixing problem spotted by Pablo Vazquez Blazquez
Modified:
webservices/wsif/trunk/java/src/org/apache/wsif/schema/Parser.java
Modified: webservices/wsif/trunk/java/src/org/apache/wsif/schema/Parser.java
URL: http://svn.apache.org/viewvc/webservices/wsif/trunk/java/src/org/apache/wsif/schema/Parser.java?view=diff&rev=522973&r1=522972&r2=522973
==============================================================================
--- webservices/wsif/trunk/java/src/org/apache/wsif/schema/Parser.java (original)
+++ webservices/wsif/trunk/java/src/org/apache/wsif/schema/Parser.java Tue Mar 27 09:02:45 2007
@@ -140,7 +140,7 @@
Definition def,
Map table,
boolean includeStandardMappings) throws WSIFException {
-
+
getTypeMappings(def, table, includeStandardMappings, null);
}
@@ -165,10 +165,10 @@
if (loc == null) {
loc = new WSIFWSDLLocatorImpl((String) null, (String) null, null);
}
-
+
ArrayList schemaList = new ArrayList();
getTypesSchemas(def, schemaList, loc);
-
+
Hashtable standards = null;
if (includeStandardMappings) {
@@ -285,7 +285,7 @@
// We've already checked that its an array so cut to the chase!
QName theType = st.getTypeName();
if (theType == null) continue;
-
+
QName arrayType = st.getArrayType();
if (arrayType != null && theType != null) {
String baseClass = (String) table.get(arrayType);
@@ -342,7 +342,7 @@
SchemaType st = (SchemaType) mi.next();
QName theType = st.getTypeName();
if (theType == null) continue;
-
+
QName arrayType = st.getArrayType();
if (arrayType != null && theType != null) {
String extraDims = "";
@@ -359,7 +359,7 @@
}
}
}
-
+
// Finally we'll resolve any elements that are outstanding
Iterator ei = elements.iterator();
while (ei.hasNext()) {
@@ -379,7 +379,7 @@
}
}
}
-
+
Trc.exit();
}
@@ -505,15 +505,15 @@
while (extEleIt.hasNext()) {
Object nextEl = extEleIt.next();
- if(!(nextEl instanceof UnknownExtensibilityElement)) {
- continue;
- }
+// if(!(nextEl instanceof UnknownExtensibilityElement)) {
+// continue;
+// }
// UnknownExtensibilityElement typesElement =
// (UnknownExtensibilityElement) nextEl;
//Element schemaEl = typesElement.getElement();
Element schemaEl;
-
+
if(nextEl instanceof javax.wsdl.extensions.schema.Schema) {
javax.wsdl.extensions.schema.Schema typesElement = (javax.wsdl.extensions.schema.Schema)nextEl;
schemaEl = typesElement.getElement();
@@ -573,7 +573,7 @@
}
}
}
-
+
/**
* Get all nested schemas
*/
@@ -639,7 +639,7 @@
}
return null;
}
-
+
/**
* Elements which are nillable and are based on xsd simple types should map to
* the object wrapper version of the corresponding primitive type. This method
---------------------------------------------------------------------
To unsubscribe, e-mail: wsif-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wsif-dev-help@ws.apache.org