Schema Central > NewsML 1.2 > NewsML_1.2.xsd > PublicIdentifier
Advanced search
Need Schema Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

PublicIdentifier

 
													A public identifier (in the sense defined by the XML 1,0 Specification) for a NewsItem. This is the NewsML URN, and must be constructed as follows: 
													urn:newsml:{ProviderId}:{DateId}:{NewsItemId}:{RevisionId}{RevisionId@Update}
													where {x} means "the content of the x subelement of the NewsIdentifier" and {x@y} means "the value of the y attribute of the x subelement of the NewsIdentifier", with the exception that if the Update attribute of the RevisionId element has its default value of N, it is omitted from the URN.
													Note that the set of characters that can be directly included within a URN is limited.  The allowed characters are specified by the Internet Engineering Task Force (IETF) in its Request For Comments (RFC) number 2141.  This document is available at http://www.ietf.org/rfc/rfc2141.txt.  Any character that is not within the permitted URN character set must be converted to a sequence of legal characters as described in RFC 2141.
													Note that the existence of this URN enables the NewsItem to be referenced unambiguously by pointers from other XML elements or resources. Within such pointers, if the RevisionId, its preceding : character and its following Update qualifier are omitted, then the pointer designates the most recent revision at the time it is resolved. Version 1.1.2 Pattern corrected for Date component
												

Element information

Type: Anonymous

Properties: Local, Qualified

Content

  • Type based on xsd:string
    • Minimum length: 27
    • Pattern: urn:newsml:\D+:(19[0-9][0-9]|20[0-9][0-9]|21[0-9][0-9])(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1]):.+:\d+\D?
  • Used in

    Sample instance

    <PublicIdentifier>string</PublicIdentifier>

    Site developed and hosted by Datypic, Inc.

    Please report errors or comments about this site to contrib@functx.com