cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r599925 - in /incubator/cxf/branches/2.0.x-fixes: ./ rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java
Date Fri, 30 Nov 2007 19:32:31 GMT
Author: dkulp
Date: Fri Nov 30 11:32:30 2007
New Revision: 599925

URL: http://svn.apache.org/viewvc?rev=599925&view=rev
Log:
Merged revisions 598857 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r598857 | bimargulies | 2007-11-27 22:10:03 -0500 (Tue, 27 Nov 2007) | 2 lines
  
  Stop 'validating' various WSDL names that don't have to be valid.
........

Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java?rev=599925&r1=599924&r2=599925&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java
(original)
+++ incubator/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/service/ServiceModelSchemaValidator.java
Fri Nov 30 11:32:30 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