tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Sebastien Delfino <jsdelf...@apache.org>
Subject Re: Testcase failures in scdl4j
Date Tue, 03 Apr 2007 08:12:17 GMT
Raymond Feng wrote:
> Hi,
>
> I'm seeing a few failures in the scdl4j modules:
>
> Tests in error:
>  testBuildComposite(org.apache.tuscany.scdl.xml.BuildCompositeXMLTestCase) 
>
>  testWriteComponentType(org.apache.tuscany.scdl.WriteTestCase)
>  testWriteComposite(org.apache.tuscany.scdl.WriteTestCase)
>  testWriteConstrainingType(org.apache.tuscany.scdl.WriteTestCase)
>
> One of the stack trace is:
> javax.xml.transform.TransformerException: Can't transform a Source of 
> type javax.xml.transform.sax.SAXSource
> at 
> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:439)

>
> at 
> org.apache.tuscany.scdl.xml.BuildCompositeXMLTestCase.testBuildComposite(BuildCompositeXMLTestCase.java:68)

>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) 
>
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

>
> at java.lang.reflect.Method.invoke(Method.java:615)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at 
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35) 
>
> at 
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)

>
> at 
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) 
>
> at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)

>
> at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)

>
> at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)

>
> at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

>
>
> I'm using IBM JDK 5.0 and it seems that the TrAX doesn't support such 
> a transformation.
>
> Thanks,
> Raymond
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Raymond,

As discussed in 
http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg16217.html I'm 
going to remove the SAX based loaders/writers and replace them with the 
StAX loaders that you contributed and new writers which will use StAX as 
well. That will fix the problem :)
 

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Mime
View raw message