From 80fb6d0ff7c093466ac70b38be5676b868516c08 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Oct 2019 23:26:41 +0200 Subject: Add support for basic literal normalisation --- doc/serdi.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/serdi.1') diff --git a/doc/serdi.1 b/doc/serdi.1 index 13ee7456..01600700 100644 --- a/doc/serdi.1 +++ b/doc/serdi.1 @@ -64,6 +64,14 @@ Build and serialise a model. 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. -- cgit v1.2.1