Skip to content

Commit ac3cd50

Browse files
authored
Merge branch 'main' into feat/named-graph-selector
2 parents 1d06cdc + 00d6ea2 commit ac3cd50

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/mapping/LiteralAs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export namespace LiteralAs {
168168
ensurePresent(term)
169169
ensureIs(term, TermWrapper)
170170
ensureTermType(term, "Literal")
171-
ensureDatatype(term, XSD.anyUri)
171+
ensureDatatype(term, XSD.anyURI)
172172

173173
return new URL(term.value)
174174
}

src/mapping/LiteralFrom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { ILangString } from "../type/ILangString.js"
1111
*/
1212
export namespace LiteralFrom {
1313
export function anyUriString(value: string, factory: DataFactory): Term {
14-
return factory.literal(value, factory.namedNode(XSD.anyUri))
14+
return factory.literal(value, factory.namedNode(XSD.anyURI))
1515
}
1616

1717
export function anyUriUrl(value: URL, factory: DataFactory): Term {

src/vocabulary/XSD.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const XSD = {
2-
anyUri: "http://www.w3.org/2001/XMLSchema#anyUri",
2+
anyURI: "http://www.w3.org/2001/XMLSchema#anyURI",
33
base64Binary: "http://www.w3.org/2001/XMLSchema#base64Binary",
44
boolean: "http://www.w3.org/2001/XMLSchema#boolean",
55
byte: "http://www.w3.org/2001/XMLSchema#byte",

0 commit comments

Comments
 (0)