cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r540062 - /incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java
Date Mon, 21 May 2007 08:42:47 GMT
Author: mmao
Date: Mon May 21 01:42:46 2007
New Revision: 540062

URL: http://svn.apache.org/viewvc?view=rev&rev=540062
Log:
* Remove Definition creation in SchemaValidator


Modified:
    incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java?view=diff&rev=540062&r1=540061&r2=540062
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java
(original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java
Mon May 21 01:42:46 2007
@@ -33,9 +33,6 @@
 import java.util.Map;
 import java.util.logging.Level;
 import java.util.logging.Logger;
-import javax.wsdl.WSDLException;
-import javax.wsdl.factory.WSDLFactory;
-import javax.wsdl.xml.WSDLReader;
 import javax.xml.XMLConstants;
 import javax.xml.parsers.DocumentBuilder;
 import javax.xml.parsers.DocumentBuilderFactory;
@@ -203,19 +200,6 @@
 
             if (!errHandler.isValid()) {
                 throw new ToolException(errHandler.getErrorMessages());
-            }
-
-            try {
-                WSDLFactory wsdlFactory = WSDLFactory.newInstance();
-                WSDLReader reader = wsdlFactory.newWSDLReader();
-                reader.setFeature("javax.wsdl.verbose", false);
-                // REVIST: Get the wsdl builder from the frontend which loaded by the plugin
-                //         Extension should be done in the builder
-                // WSDLExtensionRegister register = new WSDLExtensionRegister(wsdlFactory,
reader);
-                // register.registerExtensions();
-                def = reader.readWSDL(wsdlsource.getSystemId());
-            } catch (WSDLException e) {
-                throw new ToolException(e);
             }
 
             isValid = true;



Mime
View raw message