Project

General

Profile

Actions

Bug #22

closed

content negotiation for doctypes needed

Added by Matt Jones almost 24 years ago. Updated almost 22 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
06/13/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
22

Description

Need to mechanism to express the types of documents that should be returned from
a metadata query. For example, a client should be able to specify that they
only want to see documents of type eml-dataset returned as the result of a
query. The doctype should be specified as a Public Identifier. This should be
incorporated into the pathquery.dtd as an indication of the type of content that
the user wants returned. This feature will require backtracking from the
documents found to related documents using the relations element, which is being
re-worked as a distinct module for packaging metadata.

Actions #1

Updated by Matt Jones almost 24 years ago

Will work this into DBSimpleQuery and into the query language -- mbj

Actions #2

Updated by Matt Jones almost 24 years ago

added content negotiation to DBSimpleQuery. Web forms updated to demonstrate
feature by selecting only eml-dataset datasets. Feature works. backtracing
fromone document type to another is not implemented yet because it depends on
the final form that metadata packaging takes. need to add it to the
pathquery.dtd query syntax so that more complex queries can indicate a return
type that is acceptable. -- mbj

Actions #3

Updated by Matt Jones over 23 years ago

Both DBSimpleQuery and, more relevant, DBQuery support specification of the
document type that should be returned as a result set. The DBQuery mechanism
involves listing the document types that are to be returned in "returndoctype"
elelemnts in the XML query representation. Backtracing hits to other document
types still not supported because it requires the package linking features.
Will enter a new bug for that feature request.

Actions #4

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 22

Actions

Also available in: Atom PDF