Ignore:
Timestamp:
2009-04-06T13:18:45+12:00 (15 years ago)
Author:
kjdon
Message:

added is_valid_element to metaformat, which checks elementSet for the element name. metaformat subclass constructors must set up elementSet. Currently they do this in the code. would be good if it could read in from a file eventually, maybe?? When metaformat is outputting the m,etadata, it checks whether the element is valid before outputting. otherwise it will invalidate the response as it won't conform to the schema. also, changed where we lowercased the entire name to lowercasing only the first letter - some qdc fields have an internal upper case letter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/oaiservr/rfc1807.h

    r8182 r18895  
    66  virtual void output_metadata_footer(ostream &output);
    77 public:
    8   rfc1807() : metaformat(){}; // call parent constructor
     8  rfc1807();
    99  virtual const text_t formatName();
    1010  virtual const text_t formatPrefix();
Note: See TracChangeset for help on using the changeset viewer.