- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
if (scannedLiteralType.compareTo("<!") == 0) {
if (textPosition + 5 < text.length) {
if (scannedByte == (byte)'[') {
if (text[textPosition] == (byte)'C') {
if (text[textPosition + 1] == (byte)'D') {
if (text[textPosition + 2] == (byte)'A') {
if (text[textPosition + 3] == (byte)'T') {
if (text[textPosition + 4] == (byte)'A') {
if (text[textPosition + 5] == (byte)'[') {
scanByte();
scanByte();
scanByte();
scanByte();
scanByte();
scanByte();
scanByte();
Element childNode = createNode("");
node.addChild(childNode);
scanBytes("]]>".getBytes(), false);
byte[] bytes = new byte[literalPosition - 1];
System.arraycopy(literal, 0, bytes, 0, literalPosition - 1);
try {
String string = new String(bytes, encoding);
childNode.setValue(string);
childNode.setIdentifier("<![SDATA[]]");
} catch (Exception exception) {
childNode.setValue(bytes);
childNode.setIdentifier("<![CDATA[]]");
}
scanByte();
scanByte();
scanByte();
scanToken();
continue;
}
}
}
}
}
}
}
}