[CXF-5623] Fix a typo
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/d421e26b Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d421e26b Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d421e26b Branch: refs/heads/2.6.x-fixes Commit: d421e26be0604892c85d2e192e9e6ac13690a9dc Parents: 397468d Author: Daniel Kulp <[email protected]> Authored: Fri Jun 13 16:52:16 2014 -0400 Committer: Daniel Kulp <[email protected]> Committed: Fri Jun 13 17:10:41 2014 -0400 ---------------------------------------------------------------------- rt/core/src/main/java/org/apache/cxf/wsdl11/SchemaUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/d421e26b/rt/core/src/main/java/org/apache/cxf/wsdl11/SchemaUtil.java ---------------------------------------------------------------------- diff --git a/rt/core/src/main/java/org/apache/cxf/wsdl11/SchemaUtil.java b/rt/core/src/main/java/org/apache/cxf/wsdl11/SchemaUtil.java index c225023..755581f 100644 --- a/rt/core/src/main/java/org/apache/cxf/wsdl11/SchemaUtil.java +++ b/rt/core/src/main/java/org/apache/cxf/wsdl11/SchemaUtil.java @@ -125,7 +125,7 @@ public final class SchemaUtil { } String systemId = def.getDocumentBaseURI() + "#types" + schemaCount; if (def.getDocumentBaseURI() != null - && def.getDocumentBaseURI().toUpperCase().endsWith(".xsd") + && def.getDocumentBaseURI().toUpperCase().endsWith(".XSD") && def.getTargetNamespace() == null && obj instanceof Schema && ((Schema)obj).getDocumentBaseURI().equals(def.getDocumentBaseURI())) {
