<div dir="ltr">Hi,<div>I'm trying to run the WFS 1.0 tests from trunk and noticed the tests</div><div>wont' start due to this exception:</div><div><br></div><div><div>java.lang.Exception: Can't instantiate parser wfs:GMLValidatingParser</div>
<div><span class="" style="white-space:pre">    </span>at com.occamlab.te.TECore.parse(TECore.java:1828)</div><div><span class="" style="white-space:pre">  </span>at com.occamlab.te.TECore.parse(TECore.java:1775)</div><div><span class="" style="white-space:pre">  </span>at com.occamlab.te.TECore.request(TECore.java:1375)</div>
<div><span class="" style="white-space:pre">    </span>at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)</div><div><span class="" style="white-space:pre">    </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</div>
<div><span class="" style="white-space:pre">    </span>at java.lang.reflect.Method.invoke(Method.java:597)</div><div><span class="" style="white-space:pre">        </span>at net.sf.saxon.functions.ExtensionFunctionCall.invokeMethod(ExtensionFunctionCall.java:533)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.functions.ExtensionFunctionCall.call(ExtensionFunctionCall.java:256)</div><div><span class="" style="white-space:pre">       </span>at net.sf.saxon.functions.ExtensionFunctionCall.iterate(ExtensionFunctionCall.java:147)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.expr.PathExpression.iterate(PathExpression.java:848)</div><div><span class="" style="white-space:pre">       </span>at net.sf.saxon.sort.DocumentSorter.iterate(DocumentSorter.java:84)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.instruct.CopyOf.processLeavingTail(CopyOf.java:292)</div><div><span class="" style="white-space:pre">        </span>at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.instruct.DocumentInstr.evaluateItem(DocumentInstr.java:282)</div><div><span class="" style="white-space:pre">        </span>at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:295)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:341)</div><div><span class="" style="white-space:pre">    </span>at net.sf.saxon.expr.LetExpression.process(LetExpression.java:372)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:300)</div><div><span class="" style="white-space:pre">      </span>at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:551)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:175)</div><div><span class="" style="white-space:pre">      </span>at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:343)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.Controller.transformDocument(Controller.java:1736)</div><div><span class="" style="white-space:pre"> </span>at net.sf.saxon.Controller.transform(Controller.java:1560)</div>
<div><span class="" style="white-space:pre">    </span>at net.sf.saxon.s9api.XsltTransformer.transform(XsltTransformer.java:190)</div><div><span class="" style="white-space:pre">  </span>at com.occamlab.te.TECore.executeTemplate(TECore.java:517)</div>
<div><span class="" style="white-space:pre">    </span>at com.occamlab.te.TECore.executeTest(TECore.java:660)</div><div><span class="" style="white-space:pre">     </span>at com.occamlab.te.TECore.reexecute_test(TECore.java:299)</div>
<div><span class="" style="white-space:pre">    </span>at com.occamlab.te.TECore.execute(TECore.java:241)</div><div><span class="" style="white-space:pre"> </span>at com.occamlab.te.TECore.run(TECore.java:2083)</div><div><span class="" style="white-space:pre">    </span>at java.lang.Thread.run(Thread.java:662)</div>
<div>Caused by: java.lang.reflect.InvocationTargetException</div><div><span class="" style="white-space:pre">       </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</div><div><span class="" style="white-space:pre">   </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)</div>
<div><span class="" style="white-space:pre">    </span>at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)</div><div><span class="" style="white-space:pre">    </span>at java.lang.reflect.Constructor.newInstance(Constructor.java:513)</div>
<div><span class="" style="white-space:pre">    </span>at com.occamlab.te.util.Misc.makeInstance(Misc.java:196)</div><div><span class="" style="white-space:pre">   </span>at com.occamlab.te.TECore.parse(TECore.java:1825)</div>
<div><span class="" style="white-space:pre">    </span>... 29 more</div><div>Caused by: java.lang.IllegalArgumentException: no protocol: schemas/OGC-1.0.0/OGC_Wrapper.xsd</div><div><span class="" style="white-space:pre">    </span>at com.galdosinc.glib.xml.jaxp.ValidatingDocumentBuilderFactory.setAttribute(ValidatingDocumentBuilderFactory.java:57)</div>
<div><span class="" style="white-space:pre">    </span>at com.occamlab.te.parsers.GMLValidatingParser.<init>(GMLValidatingParser.java:67)</div><div><span class="" style="white-space:pre">   </span>... 35 more</div><div><br>
</div><div>Now, the setup instructions in the WFS 1.0 resources directory instruct to build ets-resources and</div><div>drop the resulting jars in the teamengine web application, which I did. </div><div>However, there is a number of xsds the test is referring to, that are still missing (from wfs.xml):</div>
<div><br></div><div><div><parser name="wfs:GMLValidatingParser"></div><div>      <java class="com.occamlab.te.parsers.GMLValidatingParser" initialized="true"</div><div>            method="parse"></div>
<div>         <with-param name="documentlocations"></div><div>            <documentlocations xmlns=""></div><div>               <parm></div><div>                  <name><a href="http://www.galdosinc.com/xml/properties/schemaLocation">http://www.galdosinc.com/xml/properties/schemaLocation</a></name></div>
<div>                  <value><a href="http://schemas.opengis.net/gml/2.1.2/feature.xsd">http://schemas.opengis.net/gml/2.1.2/feature.xsd</a></value></div><div>               </parm></div><div>               <parm></div>
<div>                  <name><a href="http://www.galdosinc.com/xml/properties/schemaLocation">http://www.galdosinc.com/xml/properties/schemaLocation</a></name></div><div>                  <value>schemas/OGC-1.0.0/OGC_Wrapper.xsd</value></div>
<div>               </parm></div><div>               <parm></div><div>                  <name><a href="http://www.galdosinc.com/xml/properties/schemaLocation">http://www.galdosinc.com/xml/properties/schemaLocation</a></name></div>
<div>                  <value>schemas/WFS-1.0.0/WFS_Wrapper.xsd</value></div><div>               </parm></div><div>               <parm></div><div>                  <name><a href="http://www.galdosinc.com/xml/properties/schemaLocation">http://www.galdosinc.com/xml/properties/schemaLocation</a></name></div>
<div>                  <value>schemas/complexFeatures.xsd</value></div><div>               </parm></div><div>               <parm></div><div>                  <name><a href="http://www.galdosinc.com/xml/properties/schemaLocation">http://www.galdosinc.com/xml/properties/schemaLocation</a></name></div>
<div>                  <value>schemas/dataFeatures.xsd</value></div><div>               </parm></div><div>               <parm></div><div>                  <name><a href="http://www.galdosinc.com/xml/properties/schemaLocation">http://www.galdosinc.com/xml/properties/schemaLocation</a></name></div>
<div>                  <value>schemas/geometryFeatures.xsd</value></div><div>               </parm></div><div>            </documentlocations></div><div>         </with-param></div><div>      </java></div>
<div>   </parser></div></div><div><br></div><div>Do you know where they can be found, and where they are supposed to be placed?</div><div><br></div><div>Cheers</div><div>Andrea</div><div><br></div><div><br></div>-- <br>
<div dir="ltr"><div><div>==</div><div>Our support, Your Success! Visit <a href="http://opensdi.geo-solutions.it" target="_blank">http://opensdi.geo-solutions.it</a> for more information.</div><div>==</div></div><div><br></div>
<div>Ing. Andrea Aime <br></div><div>@geowolf</div><div>Technical Lead</div><div><br></div><div>GeoSolutions S.A.S.</div><div>Via Poggio alle Viti 1187</div><div>55054  Massarosa (LU)</div><div>Italy</div><div>phone: +39 0584 962313</div>
<div>fax: +39 0584 1660272</div><div>mob: +39  339 8844549</div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div>
<div><br></div><div>-------------------------------------------------------</div></div>
</div></div>