File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import type { ILangString } from "../type/ILangString.js"
1111 */
1212export 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 {
Original file line number Diff line number Diff line change 11export 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" ,
You can’t perform that action at this time.
0 commit comments