incubator-stanbol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Adamou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (STANBOL-129) reengineer.xml throws exceptions, yet unit tests do not fail.
Date Mon, 28 Mar 2011 14:22:05 GMT
reengineer.xml throws exceptions, yet unit tests do not fail.
-------------------------------------------------------------

                 Key: STANBOL-129
                 URL: https://issues.apache.org/jira/browse/STANBOL-129
             Project: Stanbol
          Issue Type: Bug
          Components: KReS
         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_24
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"
            Reporter: Alessandro Adamou
            Priority: Minor


reengineer/xml unit tests throw exceptions of type EntityAlreadyExistsException and DatatypeException.
These exceptions do not cause unit tests to fail but should be appropriately managed anyhow.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.stanbol.reengineer.xml.XMLReengineerTest
278 [main] INFO org.apache.stanbol.reengineer.base.impl.ReengineerManagerImpl - Reengineering
Manager : 1 reengineers
282 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - Semion XMLEtractor : created
scope with IRI xml.reengineering.scope
Created ONTOLOGY OWL
6435 [main] ERROR org.apache.stanbol.ontologymanager.ontonet.impl.ontology.CustomOntologySpaceImpl
- KReS :: [NONFATAL] An error occurred while storing ontology Ontology(<http://localhost:8080/kres/ontology/xml_reengineering/core/root.owl>
[Axioms: 0] [Logical axioms: 0]) . Ontology management will be volatile!
org.apache.clerezza.rdf.core.access.EntityAlreadyExistsException: An entity with this name
already exists: <http://localhost:8080/kres/ontology/xml_reengineering/core/root.owl>
        at org.apache.clerezza.rdf.simple.storage.SimpleTcProvider.createMGraph(SimpleTcProvider.java:93)
        at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.createMGraph(TcProviderMultiplexer.java:297)
        at org.apache.clerezza.rdf.core.access.TcManager.createMGraph(TcManager.java:201)
        at org.apache.stanbol.ontologymanager.ontonet.impl.io.ClerezzaOntologyStorage.store(ClerezzaOntologyStorage.java:181)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.AbstractOntologySpaceImpl.performAdd(AbstractOntologySpaceImpl.java:321)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.AbstractOntologySpaceImpl.addOntology(AbstractOntologySpaceImpl.java:207)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.CustomOntologySpaceImpl.attachCoreSpace(CustomOntologySpaceImpl.java:59)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeImpl.setCustomSpace(OntologyScopeImpl.java:258)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeImpl.<init>(OntologyScopeImpl.java:77)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeFactoryImpl.createOntologyScope(OntologyScopeFactoryImpl.java:61)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeFactoryImpl.createOntologyScope(OntologyScopeFactoryImpl.java:48)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.activate(XMLExtractor.java:188)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.<init>(XMLExtractor.java:129)
        at org.apache.stanbol.reengineer.xml.XMLReengineerTest.setup(XMLReengineerTest.java:93)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.internal.runners.MethodRoadie.runBefores(MethodRoadie.java:122)
        at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:86)
        at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145)
        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
6450 [main] INFO org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyIndexImpl
- Scope http://localhost:8080/kres/ontology/xml_reengineering deactivated.
6450 [main] INFO org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyIndexImpl
- Scope http://localhost:8080/kres/ontology/xml_reengineering registered. Now you can check
for its activation status.
6460 [main] INFO org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyIndexImpl
- Scope http://localhost:8080/kres/ontology/xml_reengineering activated.
6460 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - Activated KReS Semion RDB
Reengineer
GET ONTOLOGY SCHEMA
XSD output IRI : http://kres.iks-project.eu/reengineering/test
Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
set, which is probably not what is desired.  Parser will use a default
ErrorHandler to print the first 10 errors.  Please call
the 'setErrorHandler' method to fix this.
Error: URI=null Line=3: cvc-complex-type.2.4.a: Invalid content was found starting with element
'data'. One of '{head, minResolution, latLonList}' is expected.
Error: URI=null Line=8: cvc-complex-type.2.4.a: Invalid content was found starting with element
'time-layout'. One of '{location, moreWeatherInformation}' is expected.
Error: URI=null Line=10: cvc-datatype-valid.1.2.1: '2010-24-09T06:00:00-07:00' is not a valid
value for 'dateTime'.
Error: URI=null Line=10: cvc-complex-type.2.2: Element 'start-valid-time' must have no element
[children], and the value must be valid.
Error: URI=null Line=11: cvc-datatype-valid.1.2.1: '2010-24-09T18:00:00-07:00' is not a valid
value for 'dateTime'.
Error: URI=null Line=11: cvc-type.3.1.3: The value '2010-24-09T18:00:00-07:00' of element
'end-valid-time' is not valid.
ROOT IS : dwml
SCHEMA MODEL  : org.apache.xerces.impl.xs.XSModelImpl
9245 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE PRINT 16
9245 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - COMPLEX TYPE PRINT 15
9245 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE
9245 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - NAME OF SIMPLE TYPE : numberValueListType
9249 [main] WARN org.apache.stanbol.reengineer.xml.XSDExtractor - PROBLEM TO GET WHITE SPACE
FROM SIMPLE TYPE DEFINITION
---- graph NS : http://kres.iks-project.eu/reengineering/test#
---- type IRI : http://kres.iks-project.eu/reengineering/test#numberValueListType
org.apache.xerces.impl.dv.DatatypeException: Whitespace facet value is not available for the
union simpleType 'numberValueListType'
        at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.getWhitespace(Unknown Source)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.addSimpleType(XSDExtractor.java:388)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.getOntologySchema(XSDExtractor.java:624)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.schemaReengineering(XMLExtractor.java:742)
        at org.apache.stanbol.reengineer.xml.XMLReengineerTest.dataReengineeringTest(XMLReengineerTest.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
        at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145)
        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
9254 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE PRINT 16
9254 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - COMPLEX TYPE PRINT 15
9254 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE
9254 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - NAME OF SIMPLE TYPE : numberValueListType
9254 [main] WARN org.apache.stanbol.reengineer.xml.XSDExtractor - PROBLEM TO GET WHITE SPACE
FROM SIMPLE TYPE DEFINITION
org.apache.xerces.impl.dv.DatatypeException: Whitespace facet value is not available for the
union simpleType 'numberValueListType'
        at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.getWhitespace(Unknown Source)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.addSimpleType(XSDExtractor.java:388)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.getOntologySchema(XSDExtractor.java:624)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.schemaReengineering(XMLExtractor.java:742)
        at org.apache.stanbol.reengineer.xml.XMLReengineerTest.dataReengineeringTest(XMLReengineerTest.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
        at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
---- graph NS : http://kres.iks-project.eu/reengineering/test#
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146)
---- type IRI : http://kres.iks-project.eu/reengineering/test#numberValueListType
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
---- graph NS : http://kres.iks-project.eu/reengineering/test#
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145)
        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
9256 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE PRINT 16
9256 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - COMPLEX TYPE PRINT 15
9256 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE
9256 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - NAME OF SIMPLE TYPE : numberValueListType
9256 [main] WARN org.apache.stanbol.reengineer.xml.XSDExtractor - PROBLEM TO GET WHITE SPACE
FROM SIMPLE TYPE DEFINITION
org.apache.xerces.impl.dv.DatatypeException: Whitespace facet value is not available for the
union simpleType 'numberValueListType'
        at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.getWhitespace(Unknown Source)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.addSimpleType(XSDExtractor.java:388)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.getOntologySchema(XSDExtractor.java:624)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.schemaReengineering(XMLExtractor.java:742)
        at org.apache.stanbol.reengineer.xml.XMLReengineerTest.dataReengineeringTest(XMLReengineerTest.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
        at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
---- type IRI : http://kres.iks-project.eu/reengineering/test#numberValueListType
---- graph NS : http://kres.iks-project.eu/reengineering/test#
---- type IRI : http://kres.iks-project.eu/reengineering/test#numberValueListType
        at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146)
---- graph NS : http://kres.iks-project.eu/reengineering/test#
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
---- type IRI : http://kres.iks-project.eu/reengineering/test#numberValueListType
COMPLEX TYPE
---- graph NS : http://kres.iks-project.eu/reengineering/test#
---- type IRI : http://kres.iks-project.eu/reengineering/test#null
Starting XML Reengineering
XML output IRI: http://kres.iks-project.eu/reengineering/test_new
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145)
        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
9258 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE PRINT 16
9258 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - COMPLEX TYPE PRINT 15
9258 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE
9258 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - NAME OF SIMPLE TYPE : numberValueListType
9259 [main] WARN org.apache.stanbol.reengineer.xml.XSDExtractor - PROBLEM TO GET WHITE SPACE
FROM SIMPLE TYPE DEFINITION
org.apache.xerces.impl.dv.DatatypeException: Whitespace facet value is not available for the
union simpleType 'numberValueListType'
        at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.getWhitespace(Unknown Source)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.addSimpleType(XSDExtractor.java:388)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.getOntologySchema(XSDExtractor.java:624)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.schemaReengineering(XMLExtractor.java:742)
        at org.apache.stanbol.reengineer.xml.XMLReengineerTest.dataReengineeringTest(XMLReengineerTest.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
        at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145)
        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
9260 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE PRINT 16
9260 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - COMPLEX TYPE PRINT 15
9260 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE
9261 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - NAME OF SIMPLE TYPE : numberValueListType
9261 [main] WARN org.apache.stanbol.reengineer.xml.XSDExtractor - PROBLEM TO GET WHITE SPACE
FROM SIMPLE TYPE DEFINITION
org.apache.xerces.impl.dv.DatatypeException: Whitespace facet value is not available for the
union simpleType 'numberValueListType'
        at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.getWhitespace(Unknown Source)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.addSimpleType(XSDExtractor.java:388)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.getOntologySchema(XSDExtractor.java:624)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.schemaReengineering(XMLExtractor.java:742)
        at org.apache.stanbol.reengineer.xml.XMLReengineerTest.dataReengineeringTest(XMLReengineerTest.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
        at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145)
        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
9304 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE PRINT 16
9304 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - COMPLEX TYPE PRINT 15
9304 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - NAME OF SIMPLE TYPE : string
9304 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - WHITESPACE : 0
9308 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - CONTENTTYPE_ELEMENT
9308 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - XSOBJECT SIZE: 1
9309 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - NAME OF SIMPLE TYPE : string
9309 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - WHITESPACE : 0
9309 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - ATTRIBUTE USES REQUIRED
string
9310 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - COMPOSITOR : 2
9310 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - COMPOSITOR_SEQUENCE : 1
9310 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - TERM: org.apache.xerces.impl.xs.XSModelGroupImpl
Attribute: http://kres.iks-project.eu/reengineering/test#rootversion
Attribute: http://kres.iks-project.eu/reengineering/test#rootxmlns:xsd
Attribute: http://kres.iks-project.eu/reengineering/test#rootxmlns:xsi
Attribute: http://kres.iks-project.eu/reengineering/test#rootxsi:noNamespaceSchemaLocation
9343 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : SanFrancisco
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_location_1_point_3latitude
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_location_1_point_3longitude
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_time-layout_3summarization
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_time-layout_3time-coordinate
9347 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : k-p12h-n14-3
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_time-layout_3_start-valid-time_3period-name
9348 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : 2010-24-09T06:00:00-07:00
9348 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : 2010-24-09T18:00:00-07:00
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5applicable-location
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_temperature_1time-layout
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_temperature_1type
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_temperature_1units
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_temperature_3time-layout
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_temperature_3type
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_temperature_3units
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_probability-of-precipitation_5time-layout
9350 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : Daily Maximum Temperature
9350 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : 38
9364 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : Daily Minimum Temperature
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_probability-of-precipitation_5type
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_probability-of-precipitation_5units
9378 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : 12 Hourly Probability
of Precipitation
9378 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : 27
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_weather_7time-layout
9379 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - VALUE : Weather Type, Coverage,
and Intensity
Attribute: http://kres.iks-project.eu/reengineering/test#root_data_1_parameters_5_weather_7_weather-conditions_3weather-summary
9429 [main] INFO org.apache.stanbol.reengineer.base.impl.ReengineerManagerImpl - Reengineering
Manager : 1 reengineers
9430 [main] INFO org.apache.stanbol.reengineer.xml.XMLExtractor - Semion XMLEtractor : created
scope with IRI xml.reengineering.scope

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message