- public void write(final NormalizedNodeStreamWriter writer) throws IOException {
- writer.leafSetEntryNode(getValue());
+ public void write(final SchemaAwareNormalizedNodeStreamWriter writer) throws IOException {
+ writer.nextDataSchemaNode(getSchema());
+ writer.leafSetEntryNode(getSchema().getQName(), getValue());