fix(serialize): correct oversight in peek
This commit is contained in:
parent
7335bb63c8
commit
840f154110
@ -196,7 +196,7 @@ public class NativeXmlReader implements Closeable {
|
|||||||
}
|
}
|
||||||
return switch (p) {
|
return switch (p) {
|
||||||
case PEEKED_BEGIN_TAG -> XmlToken.BEGIN_TAG;
|
case PEEKED_BEGIN_TAG -> XmlToken.BEGIN_TAG;
|
||||||
case PEEKED_END_TAG -> XmlToken.END_TAG;
|
case PEEKED_END_TAG, PEEKED_END_TAG_CONCISE -> XmlToken.END_TAG;
|
||||||
case PEEKED_TEXT -> XmlToken.TEXT;
|
case PEEKED_TEXT -> XmlToken.TEXT;
|
||||||
case PEEKED_CDATA -> XmlToken.CDATA;
|
case PEEKED_CDATA -> XmlToken.CDATA;
|
||||||
case PEEKED_ATTRIBUTE_NAME -> XmlToken.ATTRIBUTE_NAME;
|
case PEEKED_ATTRIBUTE_NAME -> XmlToken.ATTRIBUTE_NAME;
|
||||||
|
Loading…
Reference in New Issue
Block a user