From 06bc73c6fdf986eb5d13943b497992a947661bb1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Jul 2021 21:36:52 -0400 Subject: Replace SERD_WRITE_STRICT flag with SERD_WRITE_LAX The unset value for flags should represent the best default, which in this case is strict parsing. Lax parsing is the riskier opt-in option. --- include/serd/writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/serd/writer.h b/include/serd/writer.h index 36880d2a..c5f50b0c 100644 --- a/include/serd/writer.h +++ b/include/serd/writer.h @@ -38,7 +38,7 @@ typedef enum { SERD_WRITE_UNQUALIFIED = 1U << 1U, ///< Do not shorten URIs into CURIEs SERD_WRITE_UNRESOLVED = 1U << 2U, ///< Do not make URIs relative SERD_WRITE_BULK = 1U << 3U, ///< Write output in pages - SERD_WRITE_STRICT = 1U << 4U, ///< Abort with error on lossy output + SERD_WRITE_LAX = 1U << 4U, ///< Tolerate lossy output SERD_WRITE_TERSE = 1U << 5U, ///< Write terser output without newlines } SerdWriterFlag; -- cgit v1.2.1