Project

General

Profile

Actions

Bug #2769

closed

XPath Returnfields

Added by David Sledge over 17 years ago. Updated about 17 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
02/12/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2769

Description

Metacat can't handle angle brackets in XPath parameters, if go to the following URL (which leads to the Kepler Repository):

http://library.kepler-project.org/kepler/metacat?action=query&operator=INTERSECT&anyfield=%25&qformat=&enableediting=false&returndoctype=entity&returndoctype=kepler://kepler-project.org/kepler-moml-1.0.0&returnfield=entity/@name

It works fine. (The response of this URL is XML, but you need to "View Page Source" to see it.) But if I try to retrieve the karID by appending:

&returnfield=entity/property[@name=karID]/@value

to the end of the URL, this return field gets ignored.

Actions

Also available in: Atom PDF