Skip to content

Commit

Permalink
Reverted changes made in issue#46.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keshav Nangare committed May 14, 2020
1 parent 328512c commit 0ff1753
Showing 1 changed file with 3 additions and 3 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.getValue().contains("http://www.opengis.net/gml/3.2") && !targetNS.getValue().contains("http://www.opengis.net/wfs/2.0")) {
&& !targetNS.getValue().contains("opengis.net")) {
tns = targetNS.getValue();
break;
}
Expand Down

0 comments on commit 0ff1753

Please sign in to comment.