diff options
author | David Robillard <d@drobilla.net> | 2021-08-12 13:42:25 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 8346ac7f529f5aeb8d8b0e48837e680ea14e8893 (patch) | |
tree | 0e1aa8f67135af24cbbfe5a5911b1a74e5699df6 /include/serd/reader.h | |
parent | 3ea3143632e3577ac5794faed1141e460a11a9fb (diff) | |
download | serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.gz serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.bz2 serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.zip |
Make blank node prefixing automatic
Though potentially useful, I don't think the complexity cost of the old
interface (both to the implementation and to the user) is worth it. A special
tool to transform blank node labels (for example with regular expressions)
would be a better approach to this if it's ever needed in the future.
Diffstat (limited to 'include/serd/reader.h')
-rw-r--r-- | include/serd/reader.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/serd/reader.h b/include/serd/reader.h index 34af6d04..a2bde202 100644 --- a/include/serd/reader.h +++ b/include/serd/reader.h @@ -105,19 +105,6 @@ serd_reader_new(SerdWorld* ZIX_NONNULL world, const SerdSink* ZIX_NONNULL sink); /** - Set a prefix to be added to all blank node identifiers. - - This is useful when multiple files are to be parsed into the same output (a - model or a file). Since Serd preserves blank node IDs, this could cause - conflicts where two non-equivalent blank nodes are merged, resulting in - corrupt data. By setting a unique blank node prefix for each parsed file, - this can be avoided, while preserving blank node names. -*/ -SERD_API void -serd_reader_add_blank_prefix(SerdReader* ZIX_NONNULL reader, - const char* ZIX_NULLABLE prefix); - -/** Prepare to read some input. This sets up the reader to read from the given input, but will not read any |