Skip to content

Commit

Permalink
Merge pull request #49 from opengeospatial/issue#48
Browse files Browse the repository at this point in the history
Reverted #47 PR changes.
  • Loading branch information
dstenger authored May 29, 2020
2 parents 4f81dd5 + 0ff1753 commit ee05a58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ AppSchemaInfo getSchemaInfo() {
/**
* Determines the target namespace of a GML application schema, which is
* assumed to be the first schema found to have a target namespace name that
* is <strong>not</strong> referring to http://www.opengis.net/gml/3.2.
* If a URI cannot be dereferenced it is skipped.
* is <strong>not</strong> in the opengis.net domain. If a URI cannot be
* dereferenced it is skipped.
*
* @param schemaLocations
* A {@literal Set<URI>} of schema references.
Expand All @@ -199,7 +199,7 @@ URI getApplicationNamespaceName(Set<URI> schemaLocations) {
Attribute targetNS = docElem.getAttributeByName(new QName(
"targetNamespace"));
if (null != targetNS
&& !targetNS.equals("http://www.opengis.net/gml/3.2")) {
&& !targetNS.getValue().contains("opengis.net")) {
tns = targetNS.getValue();
break;
}
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/soapui/ets-gml32-soapui-project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</con:assertion>
<con:assertion type="Simple Contains" id="22cf9feb-0c51-49a3-9966-0f65761e01b3" name="Contains test suite">
<con:configuration>
<token>Conformance Test Suite - OGC Web Map Service 1.3.0</token>
<token>GML (ISO 19136:2007) Conformance Test Suite, Version 3.2.1</token>
<ignoreCase>false</ignoreCase>
<useRegEx>false</useRegEx>
</con:configuration>
Expand Down Expand Up @@ -262,7 +262,7 @@ declare namespace cite="http://cite.opengeospatial.org/";
</con:property>
<con:property>
<con:name>iut</con:name>
<con:value>http://cite.deegree.org/deegree-webservices-3.4.0/services/gml321?service=WFS&amp;request=GetFeature&amp;Version=2.0.0&amp;typenames=app:Autos</con:value>
<con:value>http://cite.deegree.org/deegree-webservices-3.4.5/services/gml321?service=WFS&amp;request=GetFeature&amp;Version=2.0.0&amp;typenames=app:Autos</con:value>
</con:property>
<con:property>
<con:name>tests.passed</con:name>
Expand Down

0 comments on commit ee05a58

Please sign in to comment.