* Original stream version. Uses a per-stream dictionary for strings. QNames are serialized as three strings.
*/
static final short LITHIUM_VERSION = 1;
-
- // Tokens supported in LITHIUM_VERSION
- static final byte IS_CODE_VALUE = 1;
- static final byte IS_STRING_VALUE = 2;
- static final byte IS_NULL_VALUE = 3;
+ /**
+ * Revised stream version. Unlike {@link #LITHIUM_VERSION}, QNames and QNameModules are using a per-stream
+ * dictionary, too.
+ */
+ static final short NEON_SR2_VERSION = 2;
+ /**
+ * From-scratch designed version shipping in Sodium SR1.
+ */
+ static final short SODIUM_SR1_VERSION = 3;
+ /**
+ * Magnesium version. Structurally matches {@link #SODIUM_SR1_VERSION}, but does not allow BigIntegers to be
+ * present.
+ */
+ static final short MAGNESIUM_VERSION = 4;
}