diff --git a/test/RdfXmlParser-test.ts b/test/RdfXmlParser-test.ts index b923f81..14290dc 100644 --- a/test/RdfXmlParser-test.ts +++ b/test/RdfXmlParser-test.ts @@ -982,6 +982,19 @@ abc`)).rejects.toBeTruthy(); ]); }); + + it('declaration of the namespace on a typed resource element', async () => { + return expect(await parse(parser, ` + + + +`)) + .toBeRdfIsomorphic([ + quad('http://example.com', + 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://purl.org/dc/terms/Standard'), + ]); + }); + it('cdata support', async () => { return expect(await parse(parser, `