Commit graph

36 commits

Author SHA1 Message Date
Marcel Otto
20a69964c7 Change RDF.Description.new/2 to take initial data via the :init option 2020-09-25 16:07:37 +02:00
Marcel Otto
0e81f4c02c Apply mix formatter 2020-06-29 10:37:42 +02:00
Marcel Otto
f6146c51b0 Revision of the literal system with extracted XSD datatypes 2020-04-10 23:56:35 +02:00
rustra
8115554847 Minor changes in specs 2020-03-10 22:44:54 +01:00
rustra
91dc078763 Improve specs for serialization 2020-03-10 01:37:53 +01:00
rustra
8345e101d3 Add function signatures 2020-03-02 18:23:34 +01:00
Marcel Otto
092a9c60d1 Change write_file functions to no longer use :utf8 file mode option 2019-11-21 22:06:09 +01:00
Marcel Otto
5f855de58c Use RDF.default_base_iri in Turtle encoder and decoder 2019-08-04 00:13:13 +02:00
Marcel Otto
22ec671da7 Improve error messages of Turtle, N-Triples and N-Quads decoder 2019-07-06 02:32:31 +02:00
Marcel Otto
a1e4049cba Fix missing unescaping of language literals during Turtle parsing 2019-04-28 00:35:23 +02:00
Marcel Otto
77f9ad491a Fix typos 2018-11-17 02:51:14 +01:00
Marcel Otto
9c6beeac13 Add @impl annotations 2018-09-17 02:08:16 +02:00
Marcel Otto
93b932620c Add RDF.Literal.Guards 2018-09-07 21:42:38 +02:00
Marcel Otto
be390adaea Add missing defoverridable for Reader.encode!/1 2018-08-31 01:14:11 +02:00
Marcel Otto
81cfcff5d7 Add default_base_iri configuration and use it for serialization readers 2018-08-17 01:31:08 +02:00
Marcel Otto
b4c3dc8d98 Use function body rescue where possible 2018-05-16 01:59:46 +02:00
Marcel Otto
24aabc389b Add general RDF.Serialization.read_* and write_* functions 2018-03-09 21:15:43 +01:00
Marcel Otto
54d9eff014 Move RDF.Reader and RDF.Writer into RDF.Serialization module 2018-03-08 17:33:20 +01:00
Marcel Otto
eb6ede55b9 Rename RDF.Serialization.Format.content_type/0 to media_type/0 2018-03-08 02:14:49 +01:00
Marcel Otto
4f5b06c830 Add RDF.Serialization with functions to access available formats 2018-03-08 01:57:38 +01:00
Marcel Otto
7314f2d643 Rename RDF.Serialization behaviour to RDF.Serialization.Format 2018-03-07 10:33:09 +01:00
Marcel Otto
bb0f8e12aa Fix typos and RDF.Serialization.Decoder callback spec 2018-03-01 13:31:06 +01:00
Adam Keys
e9cd2bf711 Fix unescape_map in parse_helper for elixir 1.6 2018-01-19 10:24:20 -06:00
Marcel Otto
5c7efe4cbd Add RDF.IRI, use it instead of URI and use the term IRI consistently
Closes #1
2017-08-20 22:35:14 +02:00
Marcel Otto
eeffceb16d Fix some warnings 2017-08-11 18:33:12 +02:00
Marcel Otto
bb138f7e90 Another fix of URI.parse not preserving empty fragments 2017-08-01 01:38:54 +02:00
Marcel Otto
d1ef0d1fb3 Proper implementation of N-Triples, N-Quads and Turtle escaping rules 2017-07-09 22:22:35 +02:00
Marcel Otto
7f5012dc0e Various fixes of the Turtle decoder 2017-07-09 19:27:21 +02:00
Marcel Otto
cbc2b0f122 Add base URI handling to Turtle decoder 2017-07-07 18:00:09 +02:00
Marcel Otto
06dbddaf3f Add Turtle decoder 2017-07-05 23:27:55 +02:00
Marcel Otto
1fdb64c646 Add documentation to RDF.Serialization, RDF.Reader, RDF.Decoder and RDF.Encoder 2017-06-16 18:13:53 +02:00
Marcel Otto
de0e656458 Rename RDF.Serialization.Reader to RDF.Reader 2017-06-16 14:21:12 +02:00
Marcel Otto
cd7e91ec9d core: RDF.Serialization.Encoder behaviour 2017-05-19 18:10:32 +02:00
Marcel Otto
1978749c18 core: URIs don't require a path 2017-05-16 01:47:12 +02:00
Marcel Otto
a5fc5aa607 core: fix read_file! to propagate parsing errors properly 2017-05-15 22:48:55 +02:00
Marcel Otto
f586acb8b5 core: a different approach for the serialization API 2017-04-11 00:12:29 +02:00