ud1 commented on code in PR #1962: URL: https://github.com/apache/cxf/pull/1962#discussion_r1678090442
########## core/src/main/java/org/apache/cxf/staxutils/StaxSource.java: ########## @@ -142,7 +142,10 @@ protected void parse() throws SAXException { if (nsUri == null) { nsUri = ""; } - contentHandler.startPrefixMapping(nsPrefix, nsUri); + // see please "com.ctc.wstx.returnNullForDefaultNamespace" property + if (nsPrefix != null) { Review Comment: I'm not entirely sure what the purpose of this startPrefixMapping() call is, but I figure it's better to always make the call but use an empty string instead of zero. Just like nsUri above. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org