Commit graph

296 commits

Author SHA1 Message Date
Dave Longley 7b20e349af Add relative @context URL resolution. 2012-10-09 13:17:25 -04:00
Dave Longley ef8769fe5a Fixes to comply with updates to the spec(s).
- Add @vocab support.
- Convert native types in fromRDF().
- Use new canonical form for doubles in toRDF().
- Support xsd:string special cases.
- Keep going if a JSON-LD exception occurs in test runner.
2012-09-26 16:36:51 -04:00
Dave Longley 9b557af763 Add global declarations. 2012-09-19 15:24:22 -04:00
Dave Longley 2ff57e973e Fix typo. 2012-08-15 15:39:55 -04:00
Dave Longley 5299404f62 Fix list term check. 2012-06-30 21:36:03 -04:00
Dave Longley 084c9e4db1 Remove duplicate RDF statements. 2012-06-30 21:08:28 -04:00
Dave Longley 0a1058d4c0 Change addValue to allow duplicates by default. 2012-06-30 18:27:09 -04:00
Dave Longley 599e507bcc Use available aliases for @value, @language when compacting. 2012-06-25 00:00:56 -04:00
Dave Longley 7cf02461cc Fix nquads output for graph w/bnode ID. 2012-06-15 10:24:41 -04:00
Dave Longley 2760055bd2 Update to fix value compaction when there is a default language. 2012-06-12 20:36:12 -04:00
Dave Longley f17859714b Update flatten algorithm, fix @list merge bugs. 2012-05-22 15:09:26 -04:00
Dave Longley 160c1b379a Handle @type blank node IRIs. 2012-05-21 17:41:38 -04:00
Dave Longley a1f83aaba3 Fix blank node check in _flatten. 2012-05-21 15:51:17 -04:00
Dave Longley 5149bf383c Add escaping to N-Quads. 2012-05-13 16:31:11 -04:00
Dave Longley 00c18e853e Check input for non-array in from_rdf. 2012-05-09 22:15:28 -04:00
Dave Longley aef8eb3e72 Check for existing RDF parser before removal. 2012-05-09 16:40:22 -04:00
Dave Longley a4d73b0bb7 Make nquad methods public. 2012-05-09 16:21:46 -04:00
Dave Longley f1f8c46542 Remove unused var. 2012-05-09 13:06:31 -04:00
Dave Longley 29bd617417 Add ability to register global or processor RDF parsers. 2012-05-09 12:28:26 -04:00
Dave Longley 0991a553c5 Readme fixes. 2012-05-08 23:37:23 -04:00
Dave Longley 5a883990fa Update readme. 2012-05-08 23:30:24 -04:00
Dave Longley 599e2352d1 Always use @value in expanded form. 2012-05-08 18:07:28 -04:00
Dave Longley 4c847440c7 Implement JSON-LD context URL resolution. 2012-05-07 17:12:10 -04:00
Dave Longley 52fa975894 Use RDF statements in normalization.
Remove special compaction of null-mapped IRIs.
2012-05-05 16:03:30 -04:00
Dave Longley 657edcec47 Remove unnecessary lines. 2012-05-02 16:49:42 -04:00
Dave Longley 080dec516e Fix whitespace regex. 2012-05-01 16:33:41 -04:00
Dave Longley 18e2934981 Sort RDF statement output. 2012-04-30 22:15:09 -04:00
Dave Longley 566991cb47 Remove unnecessary value assignment. 2012-04-30 21:22:05 -04:00
Dave Longley 25d86fc0db Handle strings in @graph [] case. 2012-04-30 19:55:26 -04:00
Dave Longley ad531248c6 Implement toRDF. 2012-04-30 17:43:38 -04:00
Dave Longley 273c9c88de Implement fromRDF. 2012-04-30 17:10:27 -04:00
Dave Longley 28e8502122 Use %1.15e for double strings, fix base handling. 2012-04-30 15:14:32 -04:00
Dave Longley 7941387631 Allow null @id mappings, use null mapping in compact IRI. 2012-04-27 17:28:51 -04:00
Dave Longley 2135f34a72 Update to latest spec changes. 2012-04-27 16:18:05 -04:00
Dave Longley 0e6040c9e1 Remove unnecessary var. 2012-04-27 00:48:19 -04:00
Dave Longley f1ad4a7936 Fix method signature. 2012-04-27 00:16:17 -04:00
Dave Longley 5f2b5a246c Remove unnecessary output line. 2012-04-26 23:57:14 -04:00
Dave Longley 60994879d6 Remove unused var. 2012-04-26 21:07:19 -04:00
Dave Longley 3f494ac765 Naming convention fixes. 2012-04-26 20:46:41 -04:00
Dave Longley 75526669b8 Follow naming conventions. 2012-04-26 19:53:55 -04:00
Dave Longley 6254519b40 Code clean up/renaming. 2012-04-26 16:31:55 -04:00
Dave Longley d0c73ec99d Some formatting changes. 2012-04-26 13:34:24 -04:00
Dave Longley ae46860dab Some code clean up/reorganization. 2012-04-24 20:29:40 -04:00
Dave Longley 265689c92f Remove unused function, some clean up. 2012-04-24 14:37:21 -04:00
Dave Longley 75bda64cfb Update README. 2012-04-24 13:37:43 -04:00
Dave Longley 30622b2aeb Fix remaining bugs with framing and test harness. 2012-04-23 16:06:42 -04:00
Dave Longley 084727c586 Fix remaining expansion, normalize, compact bugs. 2012-04-23 15:52:56 -04:00
Dave Longley 1b8a833bd1 Fix number checks. 2012-04-23 15:15:26 -04:00
Dave Longley b763bdde10 Fix various bugs that cropped up during port. 2012-04-23 15:00:13 -04:00
Dave Longley a1a5a4cb34 Various syntax/logic fixes. 2012-04-23 14:01:56 -04:00