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.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 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.java: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(StandardWrapper.java:924)

           at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
           at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3342)

           at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
           at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.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(StandardHostDeployer.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.scanEndElement(Unknown

Source)
           at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.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(StandardHostDeployer.java:335)

           at
org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
           at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.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(LifecycleSupport.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 09:47:24 UTC