Author: jkaputin
Date: Mon Dec  5 15:53:26 2005
New Revision: 354230

URL: http://svn.apache.org/viewcvs?rev=354230&view=rev
Log:
Removed reference to an impl class from Ext Registry
to fix an API build problem. 

Modified:
    
incubator/woden/java/src/org/apache/woden/wsdl20/extensions/ExtensionRegistry.java

Modified: 
incubator/woden/java/src/org/apache/woden/wsdl20/extensions/ExtensionRegistry.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/wsdl20/extensions/ExtensionRegistry.java?rev=354230&r1=354229&r2=354230&view=diff
==============================================================================
--- 
incubator/woden/java/src/org/apache/woden/wsdl20/extensions/ExtensionRegistry.java
 (original)
+++ 
incubator/woden/java/src/org/apache/woden/wsdl20/extensions/ExtensionRegistry.java
 Mon Dec  5 15:53:26 2005
@@ -23,7 +23,6 @@
 
 import org.apache.woden.ErrorReporter;
 import org.apache.woden.WSDLException;
-import org.apache.woden.internal.ErrorLocatorImpl;
 import org.apache.woden.xml.XMLAttr;
 
 /**
@@ -531,17 +530,20 @@
           implClass = (Class)innerExtensionAttributeReg.get(attrQName);
       }
       
-      //TODO remove this test code later
-      //if(XMLAttr.class.isAssignableFrom(implClass)) {
-      //    System.out.println("XMLAttr is assignable from " + 
implClass.getName());
-      //}
-      
       if (implClass == null)
       {
-          //TODO capture the attr in an 'UnknownAttr' object instead
+          //TODO capture the attr in an 'UnknownAttr' object instead of just 
reporting the
+          //error and returning null.
+          
+          /* TODO the following line was replaced by null in the reportError 
call below
+           * to avoid an API build problem for Milestone 2. This must be 
fixed, post-M2.
+           * e.g. provide some creator for error locator that hides the Impl 
class.
+           *  
+           * new ErrorLocatorImpl(),  //TODO line/col nos.
+           */
           
           getErrorReporter().reportError( 
-              new ErrorLocatorImpl(),  //TODO line/col nos.
+              null,        //see comment above                   
               "WSDL010", 
               new Object[] {attrQName.toString(), ownerClass.getName()},
               ErrorReporter.SEVERITY_ERROR);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to