-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Description
See tomkralidis/csw4js#1.
Currently element references require an object like this:
{
"namespaceURI": "http://www.opengis.net/cat/csw/2.0.2",
"localPart": "GetRecords",
"prefix": "csw"
}This is too verbose. If the csw prefix is already defined, then it should be enough to write
'csw:GetRecords'
instead. Or '{http://www.opengis.net/cat/csw/2.0.2}GetRecords' or '{http://www.opengis.net/cat/csw/2.0.2}csw:GetRecords'.
Good question what to do on unmarshalling. Return string? Or object like now? Or have an option to switch it? Which namespace prefix to use?