karlvr commented on PR #1201:
URL: https://github.com/apache/cxf/pull/1201#issuecomment-1481909144

   Current test failures that I'm struggling with... I believe all of these 
failures are related to xml schemas with out a target namespace. It seems that 
we're not finding the complex type when there's no namespace, but we find it 
fine when there is. Is anyone able to help understand this?
   
   ```
   [ERROR] Tests run: 41, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 
3.612 s <<< FAILURE! - in org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest
   [ERROR] 
org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest.testNoTargetNamespace  
Time elapsed: 0.283 s  <<< ERROR!
   java.lang.RuntimeException: Error compiling schema from WADL : undefined 
simple or complex type 'testCompositeObject'
        at 
org.apache.cxf.tools.wadlto.jaxrs.SourceGenerator$InnerErrorListener.error(SourceGenerator.java:2081)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at 
org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:88)
        at jdk.proxy2/jdk.proxy2.$Proxy12.error(Unknown Source)
        at 
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.error(SchemaCompilerImpl.java:303)
        at 
com.sun.tools.xjc.util.ErrorReceiverFilter.error(ErrorReceiverFilter.java:55)
        at 
com.sun.xml.xsom.impl.parser.ParserContext$2.error(ParserContext.java:176)
        at 
com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(ParserContext.java:154)
        at 
com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.java:149)
        at com.sun.xml.xsom.impl.parser.DelayedRef.resolve(DelayedRef.java:80)
   ...
   [ERROR] Errors: 
   [ERROR] org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest.testCodeGenDigit
   [ERROR]   Run 1: JAXRSContainerTest.testCodeGenDigit:843 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 2: JAXRSContainerTest.testCodeGenDigit:843 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 3: JAXRSContainerTest.testCodeGenDigit:843 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 4: JAXRSContainerTest.testCodeGenDigit:843 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [INFO] 
   [ERROR] 
org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest.testCodeGenHyphen
   [ERROR]   Run 1: JAXRSContainerTest.testCodeGenHyphen:821 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 2: JAXRSContainerTest.testCodeGenHyphen:821 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 3: JAXRSContainerTest.testCodeGenHyphen:821 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 4: JAXRSContainerTest.testCodeGenHyphen:821 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [INFO] 
   [ERROR] 
org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest.testNoTargetNamespace
   [ERROR]   Run 1: JAXRSContainerTest.testNoTargetNamespace:70 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 2: JAXRSContainerTest.testNoTargetNamespace:70 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 3: JAXRSContainerTest.testNoTargetNamespace:70 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   [ERROR]   Run 4: JAXRSContainerTest.testNoTargetNamespace:70 » Runtime Error 
compiling schema from WADL : undefined simple or complex type 
'testCompositeObject'
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to