<div dir="ltr">I instantiated a new GeoServer instance with the default demo data. I am using WFSFeatureStore (geotk  4.0.0) to parse the feature types. I got the following error related to some XML schema include that are using relative path:<div><br></div><div><div>Oct 26, 2017 4:11:15 PM org.geotoolkit.data.wfs.WFSFeatureStore requestType</div><div><b>INFO: [WFS Client] request type : <a href="http://localhost:8050/geoserver/ows?NAMESPACE=xmlns%28tiger%3Dhttp%3A%2F%2Fwww.census.gov%29&TYPENAME=tiger%3Apoly_landmarks&REQUEST=DescribeFeatureType&VERSION=1.1.0&SERVICE=WFS">http://localhost:8050/geoserver/ows?NAMESPACE=xmlns%28tiger%3Dhttp%3A%2F%2Fwww.census.gov%29&TYPENAME=tiger%3Apoly_landmarks&REQUEST=DescribeFeatureType&VERSION=1.1.0&SERVICE=WFS</a></b></div><div><b>Oct 26, 2017 4:11:16 PM org.geotoolkit.feature.xml.Utils getDistantSchema</b></div><div><b>WARNING: IO exception trying to retrieve imported schema:<a href="http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../../../xlink/1.0.0/xlinks.xsd">http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../../../xlink/1.0.0/xlinks.xsd</a></b></div><div><b>java.io.FileNotFoundException: <a href="http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../../../xlink/1.0.0/xlinks.xsd">http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../../../xlink/1.0.0/xlinks.xsd</a></b></div><div><span style="white-space:pre">       </span>at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1872)</div><div><span style="white-space:pre">   </span>at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)</div><div><span style="white-space:pre">    </span>at java.net.URL.openStream(URL.java:1045)</div><div><span style="white-space:pre">     </span>at org.geotoolkit.nio.IOUtilities.open(IOUtilities.java:626)</div><div><span style="white-space:pre">  </span>at org.geotoolkit.nio.IOUtilities.open(IOUtilities.java:574)</div><div><span style="white-space:pre">  </span>at org.geotoolkit.feature.xml.Utils.getDistantSchema(Utils.java:588)</div><div><span style="white-space:pre">  </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader$1.call(JAXBFeatureTypeReader.java:432)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader$1.call(JAXBFeatureTypeReader.java:430)</div><div><span style="white-space:pre">       </span>at org.apache.sis.util.collection.Cache.getOrCreate(Cache.java:356)</div><div><span style="white-space:pre">   </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:430)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.listAllSchemas(JAXBFeatureTypeReader.java:445)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.getAllFeatureTypeFromSchema(JAXBFeatureTypeReader.java:409)</div><div><span style="white-space:pre">  </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.read(JAXBFeatureTypeReader.java:396)</div><div><span style="white-space:pre"> </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader.read(JAXBFeatureTypeReader.java:283)</div><div><span style="white-space:pre"> </span>at org.geotoolkit.data.wfs.WFSFeatureStore.requestType(WFSFeatureStore.java:485)</div><div><span style="white-space:pre">      </span>at org.geotoolkit.data.wfs.WFSFeatureStore.checkTypeExist(WFSFeatureStore.java:144)</div><div><span style="white-space:pre">   </span>at org.geotoolkit.data.wfs.WFSFeatureStore.<init>(WFSFeatureStore.java:109)</div><div><span style="white-space:pre">     </span>at org.geotoolkit.data.wfs.WebFeatureClient.getStore(WebFeatureClient.java:122)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.data.wfs.WebFeatureClient.getNames(WebFeatureClient.java:290)</div><div><span style="white-space:pre">       </span>at com.factweave.portrayal.demo.WFSLayersPopulator.populate(WFSLayersPopulator.java:46)</div><div><span style="white-space:pre">       </span>at com.factweave.portrayal.demo.WFSLayersPopulator.main(WFSLayersPopulator.java:167)</div><div><br></div><div><br></div><div>Another one</div><div><br></div><div><div>Oct 26, 2017 4:11:16 PM org.geotoolkit.feature.xml.Utils getDistantSchema</div><div>WARNING: Schema ressource not found:<a href="http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../../../xlink/1.0.0/xlinks.xsd">http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../../../xlink/1.0.0/xlinks.xsd</a></div><div>Oct 26, 2017 4:11:16 PM org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader listAllSchemas</div><div>WARNING: Unable to retrieve imported schema:<a href="http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../../../xlink/1.0.0/xlinks.xsd">http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../../../xlink/1.0.0/xlinks.xsd</a></div><div>Oct 26, 2017 4:11:16 PM org.geotoolkit.feature.xml.Utils getDistantSchema</div><div>WARNING: IO exception trying to retrieve imported schema:<a href="http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../smil/smil20.xsd">http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../smil/smil20.xsd</a></div><div>java.io.FileNotFoundException: <a href="http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../smil/smil20.xsd">http://localhost:8050/geoserver/schemas/gml/3.1.1/base/../smil/smil20.xsd</a></div><div><span style="white-space:pre">   </span>at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1872)</div><div><span style="white-space:pre">   </span>at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)</div><div><span style="white-space:pre">    </span>at java.net.URL.openStream(URL.java:1045)</div><div><span style="white-space:pre">     </span>at org.geotoolkit.nio.IOUtilities.open(IOUtilities.java:626)</div><div><span style="white-space:pre">  </span>at org.geotoolkit.nio.IOUtilities.open(IOUtilities.java:574)</div><div><span style="white-space:pre">  </span>at org.geotoolkit.feature.xml.Utils.getDistantSchema(Utils.java:588)</div><div><span style="white-space:pre">  </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader$1.call(JAXBFeatureTypeReader.java:432)</div><div><span style="white-space:pre">       </span>at org.geotoolkit.feature.xml.jaxb.JAXBFeatureTypeReader$1.call(JAXBFeatureTypeReader.java:430)</div></div><div><br></div><div><br></div><div>Are there any settings that need to be set  to resolve these relative URLs. Is JAXB not supposed to resolve these URLs automatically ? Seems to be a bug to me.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks in advance</div><div><br></div><div>Stephane Fellah</div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Stephane Fellah<br></div><div style="font-family:arial;font-size:small">Chief  Knowledge Scientist</div><div style="font-family:arial;font-size:small">Image Matters LLC</div><div style="font-family:arial;font-size:small">Office: +(703) 669 5510</div><div style="font-family:arial;font-size:small">Cell: 703 431 9420</div></div></div></div></div>
</div></div>