Commit graph

224 commits

Author SHA1 Message Date
Dave Longley 7c5f07607f Ensure cached active context is cloned. 2013-09-19 16:34:53 -04:00
Dave Longley d59ffc65bf Implement http link header processing w/default document loader.
- Use default document loader when testing remote documents.
2013-09-15 15:54:54 -04:00
Dave Longley b1920c1ae6 Use JsonLdExceptions, include JsonLdError codes. 2013-09-15 00:24:09 -04:00
Dave Longley 7142d8a3e1 Fix typos. 2013-09-14 22:02:37 -04:00
Dave Longley 0cf39870f5 Only shallow copy options. 2013-09-14 21:43:35 -04:00
Dave Longley ded32019d7 Fix parenthesis. 2013-09-14 21:33:34 -04:00
Dave Longley 7099ce5d80 Fix typo. 2013-09-14 21:29:23 -04:00
Dave Longley 4ddb4e8c2c Validate URLs; check for file/json read errors. 2013-09-14 21:27:55 -04:00
Dave Longley 77dc82bdb5 Fix typo. 2013-09-14 21:08:01 -04:00
Dave Longley 5566889660 Fix link header parsing bugs. 2013-09-14 14:45:41 -04:00
Dave Longley d27ad5f210 Use remote doc documentUrl as base. 2013-09-14 14:19:27 -04:00
Dave Longley 5eeb29a9d2 Fix typos. 2013-09-14 14:14:26 -04:00
Dave Longley 4685958cbf Fix remote document loading bugs. 2013-09-14 14:12:19 -04:00
Dave Longley 42041d08c7 Fix parenthesis. 2013-09-14 14:00:32 -04:00
Dave Longley c884d39621 Add more error codes, fix error params. 2013-09-14 13:58:40 -04:00
Dave Longley 2a2cf85be9 Add missing semicolon. 2013-09-14 13:43:50 -04:00
Dave Longley c5f9d1963a Add term definition error codes, etc. 2013-09-14 13:42:15 -04:00
Dave Longley 60c335a6e9 Support more error conditions in expand. 2013-09-13 16:42:10 -04:00
Dave Longley 12a9ccc9e8 Handle scalars before objects. 2013-09-13 13:17:40 -04:00
Dave Longley d1501c7c08 Do not output relative IRIs in RDF datasets. 2013-09-13 13:16:10 -04:00
Dave Longley 944e9ee886 Add link header parse method. 2013-09-13 13:07:18 -04:00
Dave Longley 9ca43c5a40 Remove closure for php 5.3 compatibility. 2013-08-09 14:19:41 -04:00
Dave Longley 7b937b3fdc Fix closure bug. 2013-08-09 14:11:52 -04:00
Dave Longley fdd5ef987f Use call_user_func. 2013-08-09 14:08:31 -04:00
Dave Longley 01f0f1440d Use array() syntax. 2013-08-09 13:55:54 -04:00
Dave Longley ec6b4d7383 Fix type, check for datatype. 2013-08-09 13:42:31 -04:00
Dave Longley 7a67ebd0f8 Do not include (data)types in node map. 2013-08-09 13:33:14 -04:00
Dave Longley 281d8ee797 Add support for partial lists. 2013-08-09 13:32:26 -04:00
Dave Longley ff79a799ba Add $options param. 2013-08-06 14:07:21 -04:00
Dave Longley 83d974a06f Do not produce generalized RDF when normalizing. 2013-08-06 14:06:30 -04:00
Dave Longley 443df61b11 Exclude blank node predicates unless producing generalized RDF. 2013-08-06 14:02:08 -04:00
Dave Longley c0280e53e4 Add default base option. 2013-08-06 13:54:59 -04:00
Dave Longley 63d61f1c4d Bump version, fix docs, add produceGeneralizedRdf option. 2013-08-06 13:52:15 -04:00
Dave Longley 96e20e4afe Do not add subject-references at top-level. 2013-08-06 13:46:56 -04:00
Dave Longley 090183dccc Ensure expanded frame is properly traversed for @list. 2013-08-06 13:28:25 -04:00
Dave Longley 7c7b9ae3be Rename 'loadDocument' option to 'documentLoader'. 2013-07-24 16:05:22 -04:00
Dave Longley c922963403 Fix docs (nquads not the default). 2013-07-18 12:07:32 -04:00
Dave Longley 44aae8c1a1 Ensure expand context URL option is processed. 2013-07-16 15:24:11 -04:00
Dave Longley 8c0319895c Do not include '@' for empty language tag. 2013-07-15 14:10:29 -04:00
Dave Longley 8a0eb2150e Support new document loader API. 2013-07-15 12:30:28 -04:00
Dave Longley cf815ece8a Allow @set w/@reverse. 2013-06-18 13:26:27 -04:00
Dave Longley 15414cfe80 Remove extra bnode naming, fix active context caching bugs. 2013-06-07 12:06:39 -04:00
Dave Longley f775f8ceda Sort subjects and properties in toRDF. 2013-06-06 22:12:49 -04:00
Dave Longley 5be8e20433 Some fixes for bnodes for properties and xsd:double. 2013-06-06 22:00:52 -04:00
Dave Longley 4d4334ea43 Update fromRDF to comply with recent changes to the spec. 2013-05-17 16:59:32 -04:00
Dave Longley 66bddc2ab9 Do not prepend '../' extra when removing base if base begins with '/'. 2013-05-03 11:14:51 -04:00
Dave Longley b0f8533fee Do not expand context IRI mappings using base. 2013-05-03 10:41:27 -04:00
Dave Longley 5ed2f4ea35 Mark term as defined once IRI mapping is set. 2013-04-16 11:11:09 -04:00
Dave Longley 7df527661d Bump version. 2013-04-15 11:09:29 -04:00
Dave Longley d14adbdf22 Check invalid keyword aliasing via @id. 2013-04-15 11:09:06 -04:00