File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313- ` @vocab ` can be relative or a Compact IRI in 1.1, resolved against either a previous ` @vocab ` ,
1414 ` @base ` or document base.
1515- Better checking of absolute IRIs.
16- - Terms that beggining with a ':' are not considered absolute or compact IRIs.
17- - Don't use terms with ` @prefix ` : false, or expanded term definitions to construct compact IRIs.
16+ - Terms that begin with a ':' are not considered absolute or compact IRIs.
17+ - Don't use terms with ` " @prefix" : false` or expanded term definitions to construct compact IRIs.
1818
1919### Removed
2020- ** BREAKING** : Remove callback API support. This includes removing support
Original file line number Diff line number Diff line change @@ -829,7 +829,7 @@ api.compactIri = ({
829829 for ( const [ term , td ] of activeCtx . mappings ) {
830830 if ( td && td . _prefix && iri . startsWith ( term + ':' ) ) {
831831 throw new JsonLdError (
832- ( `Absolute IRI "${ iri } " confused with prefix "${ term } ".` ) ,
832+ `Absolute IRI "${ iri } " confused with prefix "${ term } ".` ,
833833 'jsonld.SyntaxError' ,
834834 { code : 'IRI confused with prefix' , context : activeCtx } ) ;
835835 }
You can’t perform that action at this time.
0 commit comments