ISO 16684-2:2014
(Main)Graphic technology — Extensible metadata platform (XMP) — Part 2: Description of XMP schemas using RELAX NG
Graphic technology — Extensible metadata platform (XMP) — Part 2: Description of XMP schemas using RELAX NG
ISO 16684-2:2014 specifies the use of RELAX NG to describe serialized XMP metadata. This applies to how conforming schemas can use the features of RELAX NG.
Technologie graphique — Plate-forme de métadonnées extensibles (XMP) — Partie 2: Description des schémas XMP utilisant RELAX NG
Grafična tehnologija - Razširljiva metapodatkovna platforma (XMP) - 2. del: Opis shem XMP z uporabo RELAX NG
General Information
Standards Content (Sample)
SLOVENSKI STANDARD
01-april-2020
Grafična tehnologija - Razširljiva metapodatkovna platforma (XMP) - 2. del: Opis
shem XMP z uporabo RELAX NG
Graphic technology - Extensible metadata platform (XMP) - Part 2: Description of XMP
schemas using RELAX NG
Technologie graphique - Plate-forme de métadonnées extensibles (XMP) - Partie 2:
Description des schémas XMP utilisant RELAX NG
Ta slovenski standard je istoveten z: ISO 16684-2:2014
ICS:
35.240.30 Uporabniške rešitve IT v IT applications in information,
informatiki, dokumentiranju in documentation and
založništvu publishing
37.100.99 Drugi standardi v zvezi z Other standards related to
grafično tehnologijo graphic technology
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
INTERNATIONAL ISO
STANDARD 16684-2
First edition
2014-12-01
Graphic technology — Extensible
metadata platform (XMP) —
Part 2:
Description of XMP schemas using
RELAX NG
Technologie graphique — Plate-forme de métadonnées extensibles
(XMP) —
Partie 2: Description des schémas XMP utilisant RELAX NG
Reference number
©
ISO 2014
© ISO 2014
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form
or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior
written permission. Permission can be requested from either ISO at the address below or ISO’s member body in the country of
the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO 2014 – All rights reserved
Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Conformance . 2
5 Canonical serialization of XMP . 2
5.1 General . 2
5.2 XMP packet serialization . 2
5.3 Property serialization . 2
5.4 Structure value serialization . 3
5.5 Array value serialization . 3
5.6 Qualifier serialization . 3
6 RELAX NG idioms for XMP. 3
6.1 General . 3
6.2 Modularization . 4
6.3 Use of data types. 4
6.4 RELAX NG for properties . 6
6.5 RELAX NG for XMP packets . 7
6.6 RELAX NG for qualifiers . 8
6.7 Extensions . 9
6.8 Extension for providing UI information . 9
7 RELAX NG schemas .10
Annex A (informative) RELAX NG schema for standard data types .11
Annex B (informative) RELAX NG schema for the Dublin Core namespace .25
Annex C (informative) RELAX NG schema for the XMP namespace .31
Annex D (informative) RELAX NG schema for the XMP Media Management namespace .34
Annex E (informative) RELAX NG schema for the XMP Rights Management namespace.36
Annex F (informative) RELAX NG schema for a complete XMP packet .38
Bibliography .39
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out
through ISO technical committees. Each member body interested in a subject for which a technical
committee has been established has the right to be represented on that committee. International
organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for the
different types of ISO documents should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of
any patent rights identified during the development of the document will be in the Introduction and/or
on the ISO list of patent declarations received (see www.iso.org/patents).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation on the meaning of ISO specific terms and expressions related to conformity
assessment, as well as information about ISO’s adherence to the WTO principles in the Technical Barriers
to Trade (TBT) see the following URL: Foreword - Supplementary information
The committee responsible for this document is ISO/130 Graphic technology.
ISO 16684 consists of the following parts, under the general title Graphic technology — Extensible
metadata platform (XMP):
— Part 1: Data model, serialization, and core properties
— Part 2: Description of XMP schemas using RELAX NG
iv © ISO 2014 – All rights reserved
Introduction
ISO 16684 (all parts) defines aspects of the Extensible Metadata Platform (XMP) that are generic, neutral
to the domain of usage. Refer to the Introduction in ISO 16684-1 for general information. This part of
ISO 16684 is about description of XMP schemas for formal or mechanical validation of XMP. RELAX NG
has been chosen as the schema language. It is an ISO standard, ISO/IEC 19757-2, and is both powerful
and easy to use.
There are two major components of formal validation, schemas and validation engines. A schema, or
schema file, is a formal description of constraints regarding the structure and contents of properties in
an XMP packet, on top of the requirements for conforming XMP packets as mandated by ISO 16684-1.
A validation engine is a software tool that compares an input XMP packet to one or more schemas, and
produces a report on whether the XMP packet conforms to the schemas.
This part of ISO 16684 defines policies for validation engines to follow so that schemas can be shared,
so that the schemas do not require customization for each validation engine. It also defines policies for
schemas to follow in order to operate with a conforming validation engine, and to make the schemas
robust and modular.
This part of ISO 16684 does not address how a validation engine reports success or failure. Reporting
success is easy, reporting failure can be complicated by a number of factors.
— It can be difficult to relate a specific RDF usage error to a human-understood XMP data model.
— Recovery from one error can be difficult, masking other errors after the first.
— As an open model, creation of new data items in XMP is expected. Allowing for this in schemas
and/or clear reporting of unexpected input when validating can be difficult.
INTERNATIONAL STANDARD ISO 16684-2:2014(E)
Graphic technology — Extensible metadata platform
(XMP) —
Part 2:
Description of XMP schemas using RELAX NG
1 Scope
This part of ISO 16684 specifies the use of RELAX NG to describe serialized XMP metadata. This applies
to how conforming schemas can use the features of RELAX NG.
2 Normative references
The following documents, in whole or in part, are normatively referenced in this document and are
indispensable for its application. For dated references, only the edition cited applies. For undated
references, the latest edition of the referenced document (including any amendments) applies.
ISO 16684-1:2012, Graphic technology — Extensible metadata platform (XMP) specification — Part 1: Data
model, serialization and core properties
ISO/IEC 19757-2, Information technology — Document Schema Definition Language (DSDL) — Part 2:
Regular-grammar-based validation — RELAX NG
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
3.1
canonical serialization
serialization providing a one-to-one mapping between the XMP data model and the serialized XML
3.2
general qualifier
XMP qualifier other than xml:lang
3.3
schema
schema file
formal description of serialized XMP
3.4
validation
process of verifying whether serialized XMP follows one or more schemas
3.5
validation engine
software tool that performs validation
3.6
XMP
extensible metadata platform, as defined by ISO 16684-1
3.7
XMP entity
XMP property, array item, structure field, or qualifier
4 Conformance
This part of ISO 16684 describes methodology to create interoperable software and schema files in order
to validate XMP metadata using regular-grammar-based validation schemas defined in ISO/IEC 19757-2
and referred to in this part of ISO 16684 as RELAX NG. Conformance on the part of a software validation
engine enables the creation of schema files with lower complexity. Conforming validation engines shall
adhere to all requirements of ISO 16684-1 and this part of ISO 16684. Conforming validation engines
can provide additional features that are not explicitly forbidden by this part of ISO 16684. Conformance
on the part of schema files enables their interchange among conforming validation engines. Conforming
schema files shall adhere to all requirements of this part of ISO 16684. Conforming schema files can
provide additional features that are not explicitly forbidden by this part of ISO 16684.
5 Canonical seriali
...
INTERNATIONAL ISO
STANDARD 16684-2
First edition
2014-12-01
Graphic technology — Extensible
metadata platform (XMP) —
Part 2:
Description of XMP schemas using
RELAX NG
Technologie graphique — Plate-forme de métadonnées extensibles
(XMP) —
Partie 2: Description des schémas XMP utilisant RELAX NG
Reference number
©
ISO 2014
This CD-ROM contains:
1) the publication ISO 16684-2:2014 in portable document format (PDF), which can be viewed
using Adobe® Acrobat® Reader.
2) electronic attachments.
Adobe and Acrobat are trademarks of Adobe Systems Incorporated.
© ISO 2014
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any
means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission.
Permission can be requested from either ISO at the address below or ISO’s member body in the country of the requester.
ISO copyright office
Case postale 56 CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO 2014 – All rights reserved
Installation
If this publication has been packaged as a zipped file, do NOT open the file from the CD-ROM, but copy it to
the desired location in your lo
...
INTERNATIONAL ISO
STANDARD 16684-2
First edition
2014-12-01
Graphic technology — Extensible
metadata platform (XMP) —
Part 2:
Description of XMP schemas using
RELAX NG
Technologie graphique — Plate-forme de métadonnées extensibles
(XMP) —
Partie 2: Description des schémas XMP utilisant RELAX NG
Reference number
©
ISO 2014
© ISO 2014
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form
or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior
written permission. Permission can be requested from either ISO at the address below or ISO’s member body in the country of
the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO 2014 – All rights reserved
Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Conformance . 2
5 Canonical serialization of XMP . 2
5.1 General . 2
5.2 XMP packet serialization . 2
5.3 Property serialization . 2
5.4 Structure value serialization . 3
5.5 Array value serialization . 3
5.6 Qualifier serialization . 3
6 RELAX NG idioms for XMP. 3
6.1 General . 3
6.2 Modularization . 4
6.3 Use of data types. 4
6.4 RELAX NG for properties . 6
6.5 RELAX NG for XMP packets . 7
6.6 RELAX NG for qualifiers . 8
6.7 Extensions . 9
6.8 Extension for providing UI information . 9
7 RELAX NG schemas .10
Annex A (informative) RELAX NG schema for standard data types .11
Annex B (informative) RELAX NG schema for the Dublin Core namespace .25
Annex C (informative) RELAX NG schema for the XMP namespace .31
Annex D (informative) RELAX NG schema for the XMP Media Management namespace .34
Annex E (informative) RELAX NG schema for the XMP Rights Management namespace.36
Annex F (informative) RELAX NG schema for a complete XMP packet .38
Bibliography .39
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out
through ISO technical committees. Each member body interested in a subject for which a technical
committee has been established has the right to be represented on that committee. International
organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for the
different types of ISO documents should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of
any patent rights identified during the development of the document will be in the Introduction and/or
on the ISO list of patent declarations received (see www.iso.org/patents).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation on the meaning of ISO specific terms and expressions related to conformity
assessment, as well as information about ISO’s adherence to the WTO principles in the Technical Barriers
to Trade (TBT) see the following URL: Foreword - Supplementary information
The committee responsible for this document is ISO/130 Graphic technology.
ISO 16684 consists of the following parts, under the general title Graphic technology — Extensible
metadata platform (XMP):
— Part 1: Data model, serialization, and core properties
— Part 2: Description of XMP schemas using RELAX NG
iv © ISO 2014 – All rights reserved
Introduction
ISO 16684 (all parts) defines aspects of the Extensible Metadata Platform (XMP) that are generic, neutral
to the domain of usage. Refer to the Introduction in ISO 16684-1 for general information. This part of
ISO 16684 is about description of XMP schemas for formal or mechanical validation of XMP. RELAX NG
has been chosen as the schema language. It is an ISO standard, ISO/IEC 19757-2, and is both powerful
and easy to use.
There are two major components of formal validation, schemas and validation engines. A schema, or
schema file, is a formal description of constraints regarding the structure and contents of properties in
an XMP packet, on top of the requirements for conforming XMP packets as mandated by ISO 16684-1.
A validation engine is a software tool that compares an input XMP packet to one or more schemas, and
produces a report on whether the XMP packet conforms to the schemas.
This part of ISO 16684 defines policies for validation engines to follow so that schemas can be shared,
so that the schemas do not require customization for each validation engine. It also defines policies for
schemas to follow in order to operate with a conforming validation engine, and to make the schemas
robust and modular.
This part of ISO 16684 does not address how a validation engine reports success or failure. Reporting
success is easy, reporting failure can be complicated by a number of factors.
— It can be difficult to relate a specific RDF usage error to a human-understood XMP data model.
— Recovery from one error can be difficult, masking other errors after the first.
— As an open model, creation of new data items in XMP is expected. Allowing for this in schemas
and/or clear reporting of unexpected input when validating can be difficult.
INTERNATIONAL STANDARD ISO 16684-2:2014(E)
Graphic technology — Extensible metadata platform
(XMP) —
Part 2:
Description of XMP schemas using RELAX NG
1 Scope
This part of ISO 16684 specifies the use of RELAX NG to describe serialized XMP metadata. This applies
to how conforming schemas can use the features of RELAX NG.
2 Normative references
The following documents, in whole or in part, are normatively referenced in this document and are
indispensable for its application. For dated references, only the edition cited applies. For undated
references, the latest edition of the referenced document (including any amendments) applies.
ISO 16684-1:2012, Graphic technology — Extensible metadata platform (XMP) specification — Part 1: Data
model, serialization and core properties
ISO/IEC 19757-2, Information technology — Document Schema Definition Language (DSDL) — Part 2:
Regular-grammar-based validation — RELAX NG
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
3.1
canonical serialization
serialization providing a one-to-one mapping between the XMP data model and the serialized XML
3.2
general qualifier
XMP qualifier other than xml:lang
3.3
schema
schema file
formal description of serialized XMP
3.4
validation
process of verifying whether serialized XMP follows one or more schemas
3.5
validation engine
software tool that performs validation
3.6
XMP
extensible metadata platform, as defined by ISO 16684-1
3.7
XMP entity
XMP property, array item, structure field, or qualifier
4 Conformance
This part of ISO 16684 describes methodology to create interoperable software and schema files in order
to validate XMP metadata using regular-grammar-based validation schemas defined in ISO/IEC 19757-2
and referred to in this part of ISO 16684 as RELAX NG. Conformance on the part of a software validation
engine enables the creation of schema files with lower complexity. Conforming validation engines shall
adhere to all requirements of ISO 16684-1 and this part of ISO 16684. Conforming validation engines
can provide additional features that are not explicitly forbidden by this part of ISO 16684. Conformance
on the part of schema files enables their interchange among conforming validation engines. Conforming
schema files shall adhere to all requirements of this part of ISO 16684. Conforming schema files can
provide additional features that are not explicitly forbidden by this part of ISO 16684.
5 Canonical serialization of XMP
5.1 General
A major difficulty in validating XMP is that the RDF metadata format used by XMP allows multiple XML
representations for the same metadata content. For reference, see ISO 16684-1:2012, 7.9. The RELAX NG
schema language is used to validate serialized XML, not the RDF or XMP data models. Writing a RELAX
NG schema to cover all possible XML forms for XMP is unacceptably complex. A canonical serialization
of XMP is defined to limit this complexity. The canonical serialization requires specific forms of the XMP
serialization defined in ISO 16684-1:2012, Clause 7, banning other forms. This provides a one-to-one
mapping between the XMP data model and the canonical XML.
An XMP validation engine shall produce a canonical serialization of the XMP as part of the validation
process. The validation engine shall accept any XMP as input that is allowed under ISO 16684-1. This
XMP shall be parsed then serialized using the canonical forms described in this Clause. Next, the RELAX
NG schema or schemas shall be applied to that canonical serialization. The XMP validation engine shall
not modify original files containing the input XMP as part of the validation process.
5.2 XMP packe
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.