exploring a literal value with an xsd datatype results in 'malformed value' error when xsd namespace is not declared in store

Description

When a Sesame store contains typed literals with an XML schema type, but it does not contain the namespace declaration linking the prefix 'xsd' to the XML schema namespace, an error occurs in the explorer when clicking a typed literal.

The problem seems to be that the workbench introduces the xsd namespace prefix itself into the rendered view, but when the value is clicked, the method ValueDecoder.decodeValue() tries to retrieve the actual namespace declaration from the store, and fails.

Either the workbench should not introduce this prefix itself (so that if the store does not contain the namespace declaration, the workbench simply uses the full URI), or the ValueDecoder needs to make a special case out of the 'xsd' namespace.

Environment

None

Status

Assignee

Dale W. Visser

Reporter

Jeen Broekstra

Labels

None

Components

Fix versions

Affects versions

2.7.1

Priority

Major
Configure