< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. --- 1,7 ---- /* ! * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership.
*** 38,47 **** --- 38,48 ---- * This class is used explicitly in code generated by XSLTC, * so it is "public", but it should * be viewed as internal or package private, this is not an API. * * @xsl.usage internal + * @LastModified: July 2019 */ public final class ToXMLStream extends ToStream { /**
*** 198,208 **** * @throws org.xml.sax.SAXException */ public void endDocument() throws org.xml.sax.SAXException { if (m_doIndent) { ! flushCharactersBuffer(); } flushPending(); if (m_doIndent && !m_isprevtext) { try --- 199,209 ---- * @throws org.xml.sax.SAXException */ public void endDocument() throws org.xml.sax.SAXException { if (m_doIndent) { ! flushCharactersBuffer(false); } flushPending(); if (m_doIndent && !m_isprevtext) { try
*** 265,275 **** if (isInEntityRef()) return; if (m_doIndent) { m_childNodeNum++; ! flushCharactersBuffer(); } flushPending(); if (target.equals(Result.PI_DISABLE_OUTPUT_ESCAPING)) { --- 266,276 ---- if (isInEntityRef()) return; if (m_doIndent) { m_childNodeNum++; ! flushCharactersBuffer(false); } flushPending(); if (target.equals(Result.PI_DISABLE_OUTPUT_ESCAPING)) {
< prev index next >