| <!-- |
| |
| Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0 which is available at |
| http://www.eclipse.org/legal/epl-2.0, |
| or the Eclipse Distribution License v. 1.0 which is available at |
| http://www.eclipse.org/org/documents/edl-v10.php. |
| |
| SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| |
| --> |
| |
| <employee> |
| <name>Jane Doe</name> |
| <xmlData><![CDATA[<root><child>A string wrapped in cdata</child></root>]]></xmlData> |
| <nestedCData><![CDATA[<![CDATA[nested]]]]><![CDATA[>]]></nestedCData> |
| <anotherCData1><![CDATA[here ]> > ]] ] is no replacement]]></anotherCData1> |
| <anotherCData2><![CDATA[here ]]]]]><![CDATA[>> is one replacement only]]></anotherCData2> |
| <anotherCData3><![CDATA[]]]]><![CDATA[>]]]]><![CDATA[>]]]]><![CDATA[>]]></anotherCData3> |
| </employee> |