src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXStreamConnector.java

Print this page

        

*** 314,324 **** staxStreamReader.getTextStart(), staxStreamReader.getTextLength() ); } private void processText( boolean ignorable ) throws SAXException { ! if( predictor.expectText() && (!ignorable || !WhiteSpaceProcessor.isWhiteSpace(buffer))) { if(textReported) { textReported = false; } else { visitor.text(buffer); } --- 314,324 ---- staxStreamReader.getTextStart(), staxStreamReader.getTextLength() ); } private void processText( boolean ignorable ) throws SAXException { ! if( predictor.expectText() && (!ignorable || !WhiteSpaceProcessor.isWhiteSpace(buffer) || context.getCurrentState().isMixed())) { if(textReported) { textReported = false; } else { visitor.text(buffer); }