W3C home > Mailing lists > Public > www-archive@w3.org > December 2002

RE: TEST: WebOnt testcases

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Thu, 19 Dec 2002 17:16:06 +0100
To: "Jos De_Roo" <jos.deroo.jd@belgium.agfa.com>
Cc: <www-archive@w3.org>
Message-ID: <BHEGLCKMOHGLGNOKPGHDKEOJCAAA.jjc@hpl.hp.com>


I am having trouble recreating your bugs.

I have just done an almost clean install in the following fashion.

(Using an old version of tomcat with Java 1.4.?)

1: downloaded into clean CVS a load of WWW
WWW/2002/03owlt
WWW/2001/sw/WebOnt
WWW/2002/07/owl.txt
WWW/2000/10/rdf-tests/rdfcore

2: changed WWW directory in CachedURL to point to new dir

3: downloaded new jdk 1.4.1 from sun and recompiled the sources in the
editors-draft directory

4: made a symbolic link from 03owlt/editors-draft to tomcat/webapps/wowg

5: started tomcat

And it seems to work.

The bug below looks like you've got an old version of jena on the class
path.

The server I have got up and running is
http://sealpc09.cnuce.cnr.it:8080/wowg/jsp/main.jsp

With the local directory fix it works much faster.

Jeremy



> -----Original Message-----
> From: Jos De_Roo [mailto:jos.deroo.jd@belgium.agfa.com]
> Sent: 19 December 2002 15:47
> To: jjc@hpl.hp.com
> Cc: www-archive@w3.org
> Subject: TEST: WebOnt testcases
>
>
> Hi Jeremy,
>
> using http://www.w3.org/2002/03owlt/editors-draft/WEB-INF/lib/jena2.jar
> with OUT N3
> we get for http://www.w3.org/2002/03owlt/cardinality/premises005
>
>
> [[[
> http://jena.hpl.hp.com/arp/not/a/real/uri/[28:9]: {W103} Creating
> statement
> for unknown RDF property: 'rdf:datatype'.
> http://jena.hpl.hp.com/arp/not/a/real/uri/[28:9]: {E201} Syntax error when
> processing "1".
> Encountered "1" Was expecting one of:
>     XML comment
>     processing instruction
>     end element tag
>     property attributes
>     attribute rdf:type
>
> @prefix daml:   <http://www.daml.org/2001/03/daml+oil#> .
> @prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> @prefix log:    <http://www.w3.org/2000/10/swap/log#> .
> @prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
> @prefix :       <#> .
>
> <http://www.w3.org/2002/03owlt/cardinality/premises005#c>
>       a     <http://www.w3.org/2002/07/owl#Restriction> ;
>       <http://www.w3.org/2002/07/owl#cardinality>
>             [ rdf:datatype
>
> "http://www.w3.org/2001/XMLSchema#nonNegativeInteger" ]
> ;
>       <http://www.w3.org/2002/07/owl#onProperty>
>             <http://www.w3.org/2002/03owlt/cardinality/premises005#p> .
> ]]]
>
>
> is there a workaround?
> haven't checked WebTriples.java though...
>
> -- ,
> Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
>
>
> PS for the servlet problem, I found some additional logging in tomcat
>
> [[[
> 2002-12-19 12:48:13 Parse Fatal Error at line 551 column 44: The string "
> --" is not permitted within comments.
> org.xml.sax.SAXParseException: The string "--" is not permitted within
> comments.
>            at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>            at
> org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
> Source)
>            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>            at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
> Source)
>            at
> org.apache.xerces.impl.XMLScanner.scanComment(Unknown Source)
>            at org.apache.xerces.impl.XMLDTDScannerImpl.scanComment(Unknown
> Source)
>            at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown
> Source)
>            at
> org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown
> Source)
>            at
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispat
> ch(Unknown
>
> Source)
>            at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>            at javax.xml.parsers.SAXParser.parse(Unknown Source)
>            at javax.xml.parsers.SAXParser.parse(Unknown Source)
>            at org.apache.struts.digester.Digester.parse(Digester.java:755)
>            at
> org.apache.struts.action.ActionServlet.initServlet(ActionServlet.j
> ava:1434)
>            at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
>            at
> org.apache.webapp.admin.ApplicationServlet.init(ApplicationServlet
> .java:152)
>
>            at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>            at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapp
> er.java:924)
>
>            at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
>            at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardCon
> text.java:3342)
>
>            at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
>            at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerB
> ase.java:821)
>
>            at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>            at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
>            at
> org.apache.catalina.core.StandardHostDeployer.addChild(StandardHos
tDeployer.java:529)
>
>            at java.lang.reflect.Method.invoke(Native Method)
>            at
> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.
> java:228)
>            at
> org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
>            at
> org.apache.commons.digester.Digester.endElement(Digester.java:1036)
>            at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
>            at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndEleme
> nt(Unknown
>
> Source)
>            at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont
entDispatcher.dispatch(Unknown
>
> Source)
>            at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>            at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>            at
> org.apache.commons.digester.Digester.parse(Digester.java:1514)
>            at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHost
> Deployer.java:335)
>
>            at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
>            at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfi
> g.java:452)
>
>            at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
>            at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
>            at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
>            at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifec
ycleSupport.java:166)
>
>            at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>            at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>            at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>            at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>            at
> org.apache.catalina.core.StandardService.start(StandardService.java:497)
>            at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2191)
>            at
> org.apache.catalina.startup.Catalina.start(Catalina.java:510)
>            at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>            at
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>            at java.lang.reflect.Method.invoke(Native Method)
>            at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> ]]]
>
>
Received on Thursday, 19 December 2002 11:16:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:24 GMT