Showing:

Annotations
Diagrams
Instances
Model
Properties
Source
Used by
Element pubs:SearchableDateTime
Namespace urn:us:gov:ic:pubs
Annotations

A date defined by a start and end that can be used by search engines without the ambiguity of the ISO 8601 date type. ISO 8601 allows for June 2010 which is left up to search engines to decide if it should match searches for June 15 2010 or not. Different engines/developers have implemented this differently. Some map this to June 1 2010 some believe this is a special case that does not match ANY date in June since it is the entire month. This type clearly defines that the date is between EarliestStartDate and LatestEndDate. For the June 2010 example assuming the intent was to have search engines match on any date in June encoding this with the SearchAbleDate EarliestStartDate="2010-06-01" and LatestEndDate="2010-06-30" will result in search engines returning this record for any date in June of 2010.

Diagram
Diagram PUBS-XML_xsd_Element_pubs_EarliestStartDate.tmp#EarliestStartDate PUBS-XML_xsd_Element_pubs_LatestEndDate.tmp#LatestEndDate PUBS-XML_xsd_Complex_Type_pubs_SearchableDateTimeType.tmp#SearchableDateTimeType
Type pubs:SearchableDateTimeType
Properties
content complex
Used by
Model
Children pubs:EarliestStartDate , pubs:LatestEndDate
Instance
<pubs:SearchableDateTime xmlns:pubs="urn:us:gov:ic:pubs">
  <pubs:EarliestStartDate id="" IDReference="" qualifier="" styleType="">{1,1}</pubs:EarliestStartDate>
  <pubs:LatestEndDate id="" IDReference="" qualifier="" styleType="">{1,1}</pubs:LatestEndDate>
</pubs:SearchableDateTime>
Source
<xsd:element name="SearchableDateTime" type="pubs:SearchableDateTimeType">
  <xsd:annotation>
    <xsd:documentation>
      <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">A date defined by a start and end that can be used by search engines without the ambiguity of the ISO 8601 date type. ISO 8601 allows for June 2010 which is left up to search engines to decide if it should match searches for June 15 2010 or not. Different engines/developers have implemented this differently. Some map this to June 1 2010 some believe this is a special case that does not match ANY date in June since it is the entire month. This type clearly defines that the date is between EarliestStartDate and LatestEndDate. For the June 2010 example assuming the intent was to have search engines match on any date in June encoding this with the SearchAbleDate EarliestStartDate="2010-06-01" and LatestEndDate="2010-06-30" will result in search engines returning this record for any date in June of 2010.</p>
    </xsd:documentation>
  </xsd:annotation>
</xsd:element>
Schema location PUBS-XML.xsd Copy and paste this link to your file browser, clicking the link MAY open in the browser. Opening in an XML aware editor is best.

This document has been approved for Public Release by the Office of the Director of National Intelligence. See Distribution Notice for details. Click Here