cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r598857 - /incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java
Date Wed, 28 Nov 2007 03:10:03 GMT
Author: bimargulies
Date: Tue Nov 27 19:10:03 2007
New Revision: 598857

URL: http://svn.apache.org/viewvc?rev=598857&view=rev
Log:
Stop 'validating' various WSDL names that don't have to be valid.

Modified:
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java?rev=598857&r1=598856&r2=598857&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java
(original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java
Tue Nov 27 19:10:03 2007
@@ -48,47 +48,7 @@
     }
 
     @Override
-    public void begin(FaultInfo fault) {
-        try {
-            schemaCollection.validateQNameNamespace(fault.getFaultName());
-            schemaCollection.validateQNameNamespace(fault.getName());
-        } catch (InvalidXmlSchemaReferenceException ixsre) {
-            complaints.append(fault.getName() + " fault name " + ixsre.getMessage() + "\n");
-        }
-    }
-
-    @Override
-    public void begin(InterfaceInfo intf) {
-        try {
-            schemaCollection.validateQNameNamespace(intf.getName());
-        } catch (InvalidXmlSchemaReferenceException ixsre) {
-            complaints.append(intf.getName() + " interface name " + ixsre.getMessage() +
"\n");
-        }
-    }
-
-    @Override
-    public void begin(MessageInfo msg) {
-        try {
-            schemaCollection.validateQNameNamespace(msg.getName());
-        } catch (InvalidXmlSchemaReferenceException ixsre) {
-            complaints.append(msg.getName() + " message name " + ixsre.getMessage() + "\n");
-        }
-    }
-
-    @Override
     public void begin(MessagePartInfo part) {
-        try {
-            schemaCollection.validateQNameNamespace(part.getConcreteName());
-        } catch (InvalidXmlSchemaReferenceException ixsre) {
-            complaints.append(part.getName() + " part concrete name " + ixsre.getMessage()
+ "\n");
-        }
-
-        try {
-            schemaCollection.validateQNameNamespace(part.getName());
-        } catch (InvalidXmlSchemaReferenceException ixsre) {
-            complaints.append(part.getName() + " part name " + ixsre.getMessage() + "\n");
-        }
-
         if (part.isElement()) {
             try {
                 schemaCollection.validateElementName(part.getName(), part.getElementQName());
@@ -105,33 +65,6 @@
                     complaints.append(part.getName() + " part type name " + ixsre.getMessage()
+ "\n");
                 }
             }
-        }
-    }
-
-    @Override
-    public void begin(OperationInfo op) {
-        try {
-            schemaCollection.validateQNameNamespace(op.getName());
-        } catch (InvalidXmlSchemaReferenceException ixsre) {
-            complaints.append(op.getName() + " operation " + ixsre.getMessage() + "\n");
-        }
-    }
-
-    @Override
-    public void begin(ServiceInfo service) {
-        try {
-            schemaCollection.validateQNameNamespace(service.getName());
-        } catch (InvalidXmlSchemaReferenceException ixsre) {
-            complaints.append(service.getName() + " service " + ixsre.getMessage() + "\n");
-        }
-    }
-
-    @Override
-    public void begin(UnwrappedOperationInfo op) {
-        try {
-            schemaCollection.validateQNameNamespace(op.getName());
-        } catch (InvalidXmlSchemaReferenceException ixsre) {
-            complaints.append(op.getName() + " unwrapped operation " + ixsre.getMessage()
+ "\n");
         }
     }
 }



Mime
View raw message