Menu

#18 WFS 1.0 tests fail due to missing OGC wrappers schemas

old
open
nobody
None
1
2015-02-05
2013-11-24
Andrea Aime
No

Followed the instructions for WFS 1.0.0 resources at https://svn.opengeospatial.org/ogc-projects/cite/scripts/wfs/1.0.0/tags/r7,
however, trying to run the tests the following error is reported:

SEVERE: Error in call to extension function {public org.w3c.dom.NodeList com.occamlab.te.TECore.request(org.w3c.dom.Document,java.lang.String) throws java.lang.Throwable}: Exception in extension function java.lang.Exception: Can't instantiate parser wfs:GMLValidatingParser
; SystemID: file:/home/aaime/devel/cite-new/TE_BASE/work/_home_aaime_devel_cite-new_TE_BASE_scripts_wfs_1.0.0_ctl_/wfs/wfs$test1.0.0-basic-getcapabilities-get-1.test; Line#: 46; Column#: -1
net.sf.saxon.trans.XPathException: Error in call to extension function {public org.w3c.dom.NodeList com.occamlab.te.TECore.request(org.w3c.dom.Document,java.lang.String) throws java.lang.Throwable}: Exception in extension function java.lang.Exception: Can't instantiate parser wfs:GMLValidatingParser
    at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:151)
    at net.sf.saxon.expr.PathExpression.iterate(PathExpression.java:848)
    at net.sf.saxon.sort.DocumentSorter.iterate(DocumentSorter.java:84)
    at net.sf.saxon.instruct.CopyOf.processLeavingTail(CopyOf.java:292)
    at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
    at net.sf.saxon.instruct.DocumentInstr.evaluateItem(DocumentInstr.java:282)
    at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:295)
    at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:341)
    at net.sf.saxon.expr.LetExpression.process(LetExpression.java:372)
    at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:300)
    at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:551)
    at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:175)
    at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:343)
    at net.sf.saxon.Controller.transformDocument(Controller.java:1736)
    at net.sf.saxon.Controller.transform(Controller.java:1560)
    at net.sf.saxon.s9api.XsltTransformer.transform(XsltTransformer.java:190)
    at com.occamlab.te.TECore.executeTemplate(TECore.java:517)
    at com.occamlab.te.TECore.executeTest(TECore.java:660)
    at com.occamlab.te.TECore.reexecute_test(TECore.java:299)
    at com.occamlab.te.TECore.execute(TECore.java:241)
    at com.occamlab.te.TECore.run(TECore.java:2083)
    at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.Exception: Can't instantiate parser wfs:GMLValidatingParser
    at com.occamlab.te.TECore.parse(TECore.java:1828)
    at com.occamlab.te.TECore.parse(TECore.java:1775)
    at com.occamlab.te.TECore.request(TECore.java:1375)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:256)
    at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:147)
    ... 21 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at com.occamlab.te.util.Misc.makeInstance(Misc.java:196)
    at com.occamlab.te.TECore.parse(TECore.java:1825)
    ... 30 more
Caused by: java.lang.IllegalArgumentException: no protocol: schemas/OGC-1.0.0/OGC_Wrapper.xsd
    at com.galdosinc.glib.xml.jaxp.ValidatingDocumentBuilderFactory.setAttribute(ValidatingDocumentBuilderFactory.java:57)
    at com.occamlab.te.parsers.GMLValidatingParser.<init>(GMLValidatingParser.java:67)
    ... 36 more

As far as I can see these schemas were available here:
http://cite.opengeospatial.org/OGCTestData/wfs/1.0.0/schemas/

Not sure where they should be placed though?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB