aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-14 23:26:41 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:59 +0100
commit80fb6d0ff7c093466ac70b38be5676b868516c08 (patch)
tree9589dad1cae377a3c7e11aa7983106ac9d24afd0 /doc
parent7f1d50b40814db24573b9eb425566ce1d44d2e85 (diff)
downloadserd-80fb6d0ff7c093466ac70b38be5676b868516c08.tar.gz
serd-80fb6d0ff7c093466ac70b38be5676b868516c08.tar.bz2
serd-80fb6d0ff7c093466ac70b38be5676b868516c08.zip
Add support for basic literal normalisation
Diffstat (limited to 'doc')
-rw-r--r--doc/serdi.18
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/serdi.1 b/doc/serdi.1
index 13ee7456..01600700 100644
--- a/doc/serdi.1
+++ b/doc/serdi.1
@@ -65,6 +65,14 @@ This loads the complete input data into memory before writing the output.
This will normalize statement order, at the cost of performance and memory consumption.
.TP
+\fB\-n\fR
+Normalise literals.
+This normalises supported XSD literals to their canonical form.
+Normalisation is conservative in that malformed literals are passed through unmodified.
+Supported types: \fIdecimal\fR and all its subtypes, \fIboolean\fR, \fIfloat\fR, and \fIdouble\fR.
+Note that this is not a validator, and it will not, for example, guarantee that a \fInonNegativeInteger\fR is actually non-negative.
+
+.TP
.BR \-o " " \fISYNTAX\fR
Write output as \fISYNTAX\fR.
Valid values (case-insensitive): \*(lqturtle\*(rq, \*(lqntriples\*(rq, \*(lqtrig\*(rq, \*(lqnquads\*(rq, \*(lqempty\*(rq.