CEN/TS 14014:2006
(Main)Postal services - Hybrid Mail - XML definition of encapsulation of letters for automated postal handling
Postal services - Hybrid Mail - XML definition of encapsulation of letters for automated postal handling
The purpose of this Technical Specification is to define the syntax rules for a data stream for the submission of printing data to a Hybrid Mail operator or between Hybrid Mail operators. The Technical Specification defines a XML Schema Definition (XSD) describing the data stream.
The description is based upon the XML (eXtended Mark-up Language) definition of rules and semantics for defining an XSD. The purpose of this is to offer a generalised syntax description that can provide seamless integration with a number of existing applications generating data that is liable to be forwarded to or from a Hybrid Mail operator.
The use of an XSD will ensure that the documents confirm to the standard defined and that the output has the correct syntax. Software manufacturers can use an XSD to program applications that will produce "correct" outputs.
This Technical Specification defines the syntax for creating a data stream that will eventually be converted into a deliverable. The overall object (a batch) can be divided into one or more objects that again can be divided into objects. The hierarchy includes bundles that contains a common part and letters. Each object has a number of characteristics attached to it.
This diagram shows the structure of a HML (Hybrid Mail Language) document: each letter is self-contained (contains all the necessary information to be delivered on a certain destination).
Postalische Dienstleistungen - Hybrid mail - XML Definition für die Verkapselung von Briefen zur automatischen Postbearbeitung
Services postaux - Courrier hybride - Définition XML de l'encapsulation des lettres pour le traitement automatisé du courrier
Poštne storitve - Hibridna pošta - Definicija oblike dokumenta XML za stranke/uporabnike pri ponudniku: skupno uporabni seznam označb
General Information
Relations
Standards Content (Sample)
SLOVENSKI STANDARD
01-januar-2007
3RãWQHVWRULWYH+LEULGQDSRãWD'HILQLFLMDREOLNHGRNXPHQWD;0/]D
VWUDQNHXSRUDEQLNHSULSRQXGQLNXVNXSQRXSRUDEQLVH]QDPR]QDþE
Postal services - Hybrid Mail - XML definition of encapsulation of letters for automated
postal handling
Postalische Dienstleistungen - Hybrid mail - Document Typ Definition (DTD) für Kunden
zum Dienstanbieter: Eine allgemein verwendbare Auflistung von vordefinierten Regeln
Services postaux - Courrier hybride - Définition XML de l'encapsulation des lettres pour
le traitement automatisé du courrier
Ta slovenski standard je istoveten z: CEN/TS 14014:2006
ICS:
03.240 Poštne storitve Postal services
35.240.99 8SRUDEQLãNHUHãLWYH,7QD IT applications in other fields
GUXJLKSRGURþMLK
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
TECHNICAL SPECIFICATION
CEN/TS 14014
SPÉCIFICATION TECHNIQUE
TECHNISCHE SPEZIFIKATION
May 2006
ICS 03.240; 35.240.99 Supersedes ENV 14014:2001
English Version
Postal services - Hybrid Mail - XML definition of encapsulation of
letters for automated postal handling
Services postaux - Courrier hybride - Définition XML de Postalische Dienstleistungen - Hybrid mail - Document Typ
l'encapsulation des lettres pour le traitement automatisé du Definition (DTD) für Kunden zum Dienstanbieter: Eine
courrier allgemein verwendbare Auflistung von vordefinierten
Regeln
This Technical Specification (CEN/TS) was approved by CEN on 4 March 2006 for provisional application.
The period of validity of this CEN/TS is limited initially to three years. After two years the members of CEN will be requested to submit their
comments, particularly on the question whether the CEN/TS can be converted into a European Standard.
CEN members are required to announce the existence of this CEN/TS in the same way as for an EN and to make the CEN/TS available
promptly at national level in an appropriate form. It is permissible to keep conflicting national standards in force (in parallel to the CEN/TS)
until the final decision about the possible conversion of the CEN/TS into an EN is reached.
CEN members are the national standards bodies of Austria, Belgium, Cyprus, Czech Republic, Denmark, Estonia, Finland, France,
Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania,
Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom.
EUROPEAN COMMITTEE FOR STANDARDIZATION
COMITÉ EUROPÉEN DE NORMALISATION
EUROPÄISCHES KOMITEE FÜR NORMUNG
Management Centre: rue de Stassart, 36 B-1050 Brussels
© 2006 CEN All rights of exploitation in any form and by any means reserved Ref. No. CEN/TS 14014:2006: E
worldwide for CEN national Members.
Contents Page
Foreword.3
Introduction .4
1 Scope .5
2 Normative references .7
3 Terms and definitions .7
4 Symbols and abbreviated terms .7
5 Meta-syntax .8
6 Definition .10
Annex A (normative) List of elements .14
Annex B (informative) HML description .16
Annex C (informative) Differences between this Technical Specification and ENV 14014.38
Annex D (informative) HML definition, copy of the HML XSD.39
Bibliography .49
Foreword
This Technical Specification (CEN/TS 14014:2006) has been prepared by Technical Committee CEN/TC 331
“Postal services”, the secretariat of which is held by NEN.
This Technical Specification supersedes ENV 14014:2001. An explanation of the differences between this
Technical Specification and ENV 14014 is given in Annex C.
According to the CEN/CENELEC Internal Regulations, the national standards organizations of the following
countries are bound to announce this CEN Technical Specification: Austria, Belgium, Cyprus, Czech Republic,
Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania,
Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden,
Switzerland and United Kingdom.
Introduction
Hybrid Mail is the technology whereby input in one communication medium is converted for delivery on
another communication medium according to the sender’s instructions and/or the recipient’s capabilities. The
typical application of Hybrid Mail is to provide a Hybrid Mail operator with printing data as well as processing
and delivery instructions, and request the operator to secure the print, enveloping and delivery of the physical
letters. Hybrid Mail operators may also exchange data.
The transfer of data to a Hybrid Mail operator or between Hybrid Mail operators requires that the printing data
be linked to a number of data items related to the management, production, finishing etc. of the data to be
printed. Such data items secure that all relevant information is accompanying the printing data. Also it will
enable the Hybrid Mail operator to automate his processes with customers and other Hybrid Mail operators.
There is a need for a standardised yet flexible way to present the data to the Hybrid Mail operator or to
exchange data between Hybrid Mail operators. This will enable customers and Hybrid Mail operators to have
a seamless exchange of information. It will allow makers of applications for document creation (letters,
marketing mailing etc.) and output management from other applications (accounting systems, production
management etc.), to add here to the same data presentment and to offer the seamless data interchange.
1 Scope
The purpose of this Technical Specification is to define the syntax rules for a data stream for the submission
of printing data to a Hybrid Mail operator or between Hybrid Mail operators. The Technical Specification
defines a XML Schema Definition (XSD) describing the data stream.
The description is based upon the XML (eXtended Mark-up Language) definition of rules and semantics for
defining an XSD. The purpose of this is to offer a generalised syntax description that can provide seamless
integration with a number of existing applications generating data that is liable to be forwarded to or from a
Hybrid Mail operator.
The use of an XSD will ensure that the documents confirm to the standard defined and that the output has the
correct syntax. Software manufacturers can use an XSD to program applications that will produce “correct”
outputs.
This Technical Specification defines the syntax for creating a data stream that will eventually be converted into
a deliverable. The overall object (a batch) can be divided into one or more objects that again can be divided
into objects. The hierarchy includes bundles that contains a common part and letters. Each object has a
number of characteristics attached to it.
This diagram shows the structure of a HML (Hybrid Mail Language) document: each letter is self-contained
(contains all the necessary information to be delivered on a certain destination).
Figure 1 — Structure of a HML (Hybrid Mail Language)
Each letter can have one contact. Each contact can have multiple alternatives for delivery.
This Technical Specification does not define the specific services offered by local operators (Hybrid Mail
operators).
This Technical Specification does not define the communication method used. It does only define the format
of Hybrid Mail as such.
2 Normative references
The following referenced documents are indispensable for the application of this Technical Specification. For
dated references, only the edition cited applies. For undated references, the latest edition of the referenced
document (including any amendments) applies.
ISO/IEC 10646, Information technology — Universal Multiple-Octet Coded Character Set (UCS)
3 Terms and definitions
For the purposes of this Technical Specification, the following terms and definitions apply.
3.1
mailbag
data structure that contains bundles as well as administrative and other data common to all bundles
NOTE One HML document will contain one mailbag. A mailbag may contain one or several bundles.
3.2
bundle
data structure that contains letters that are processed as a group as well as administrative and other data
common to these letters. A bundle is equivalent with a batch. Usually a sender is sending a mailbag with only
one batch
NOTE A bundle may contain one or more letters.
3.3
letter
data structure that contains the data to be rendered as one integral piece of information which is to be
delivered to one recipient in physical or electronic format
3.4
contact
data structure that contains delivery information for letters
NOTE The contact may be relevant to only one letter or may be shared between several letters.
3.5
target language
language to be defined in this Technical Specification and to be later used for writing documents, and the
result of a possible translation of existing data structure(s). In this Technical Specification the target language
is HML.
NOTE Clause 4 gives further description of the syntax of the target language.
4 Symbols and abbreviated terms
For the purposes of this Technical Specification, the following symbols and abbreviated terms apply.
AFP Advance Function Presentation – PDL defined by IBM
HML Hybrid Mail Language
IEC International Electrotechnical Commission http://www.iec.ch
ISO International Organization for Standardization
PCL Print Control Language – PDL defined by HP
PDF Portable Document Format – PDL defined by Adobe
PDL Print Description Language
PI Processing Instruction – part of the XML standard
SGML Standard Generalized Mark-up Language
UCS Universal Coded Character set
URL Universal Resource Locator
W3C World Wide Web Consortium – see http://www.w3.org/
XML eXtensible Mark-up Language
XSD XML Schema Definition
XSL eXtensible Stylesheet Language
5 Meta-syntax
This clause introduces a syntactic notation, later used in this Technical Specification. The notation is adopted
to define the syntactic rules of the target language: in this sense, the notation is a meta-syntax for the syntax
of the target language.
HML is based on XML version 1.0 as described in [XML-2004]. This is a subset of Standard Generalized Mark
up Language (SGML) as defined in ISO 8879.
For the sake of generality, in the following the term target language will be used for specifying the language
to be defined and to be later used for writing documents.
In this Technical Specification the target language is HML.
Syntactic rules of the target language are defined by means of syntactic clauses, classified as either element
declarations, attribute list declarations or comments. In the following, the first two of these syntactic clauses
will be described in detail. Here, only their abstract characteristics are introduced.
Element declarations define elements, which are logical parts of the documents.
Elements may contain other elements, to be considered as sub-parts of the first ones. To describe this
relationship among elements, element declarations can define elements in terms of other elements.
The whole document itself is considered as an element, and is described by an element declaration: this
element is the unique root, which all the other elements start from.
On the other side, elements not further subdivided in parts are simply streams of characters allowed in the
documents. They are defined as well by element declarations.
In this way, element declarations express the inner structure of documents: this structure can be easily
reconstructed by going through the chain of element declarations, starting from the one that declares the root
element.
An element declaration is defined by the following syntactical construction:
where element_name is the name of the element defined and contentspec is the list of elements which
constitute the set of elements which defines the named element.
Attribute list declarations define characteristics of elements.
In describing the notation, some rules will be followed.
In the syntactic clauses:
• syntactic items independent of the particular target language (i.e. keywords, symbols and so on) are
written in regular font (that is, without using bold or italic forms);
• identifiers used as placeholders for other things to be later made actual in the syntax of the target language
(as for example syntactic items dependent of the particular target language) are written in italic font.
In the examples:
• syntactic items independent of the particular target language (i.e. keywords, symbols and so on) are
wr
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.