aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/serd/reader.h13
-rw-r--r--include/serd/writer.h10
2 files changed, 0 insertions, 23 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
diff --git a/include/serd/writer.h b/include/serd/writer.h
index 812b1851..91baa7e8 100644
--- a/include/serd/writer.h
+++ b/include/serd/writer.h
@@ -103,16 +103,6 @@ SERD_CONST_API const SerdSink* ZIX_NONNULL
serd_writer_sink(SerdWriter* ZIX_NONNULL writer);
/**
- Set a prefix to be removed from matching blank node identifiers.
-
- This is the counterpart to serd_reader_add_blank_prefix() which can be used
- to "undo" added prefixes.
-*/
-SERD_API void
-serd_writer_chop_blank_prefix(SerdWriter* ZIX_NONNULL writer,
- const char* ZIX_NULLABLE prefix);
-
-/**
Set the current root URI.
The root URI should be a prefix of the base URI. The path of the root URI