diff --git a/deegree-services/deegree-services-wfs/src/main/java/org/deegree/services/wfs/GetCapabilitiesHandler.java b/deegree-services/deegree-services-wfs/src/main/java/org/deegree/services/wfs/GetCapabilitiesHandler.java index 64723ccc6f..7af970d621 100644 --- a/deegree-services/deegree-services-wfs/src/main/java/org/deegree/services/wfs/GetCapabilitiesHandler.java +++ b/deegree-services/deegree-services-wfs/src/main/java/org/deegree/services/wfs/GetCapabilitiesHandler.java @@ -270,11 +270,7 @@ void export100() if ( ftMd != null && ftMd.getTitle( null ) != null ) { writer.writeCharacters( ftMd.getTitle( null ).getString() ); } else { - if ( prefix != null ) { - writer.writeCharacters( prefix + ":" + ftName.getLocalPart() ); - } else { - writer.writeCharacters( ftName.getLocalPart() ); - } + writer.writeCharacters( ftName.getLocalPart() ); } writer.writeEndElement(); @@ -658,7 +654,7 @@ void export110() if ( ftMd != null && ftMd.getTitle( null ) != null ) { writer.writeCharacters( ftMd.getTitle( null ).getString() ); } else { - writer.writeCharacters( prefix + ":" + ftName.getLocalPart() ); + writer.writeCharacters( ftName.getLocalPart() ); } writer.writeEndElement(); @@ -999,7 +995,7 @@ void export200() if ( ftMd != null && ftMd.getTitle( null ) != null ) { writer.writeCharacters( ftMd.getTitle( null ).getString() ); } else { - writer.writeCharacters( prefix + ":" + ftName.getLocalPart() ); + writer.writeCharacters( ftName.getLocalPart() ); } writer.writeEndElement();