1、 Reference numberISO/IEC 23001-1:2006/Amd.1:2007(E)ISO/IEC 2007INTERNATIONAL STANDARD ISO/IEC23001-1First edition2006-04-01AMENDMENT 12007-12-01Information technology MPEG systems technologies Part 1: Binary MPEG format for XML AMENDMENT 1: Conformance and reference software Technologies de linforma
2、tion Technologies des systmes MPEG Partie 1: Format binaire de MPEG pour XML AMENDEMENT 1: Conformit et logiciel de rfrence International Organization for Standardization (ISO), 2007. All rights reserved. International Electrotechnical Commission (IEC), 2007. All rights reserved. NOT FOR RESALE. Ame
3、ndment 1:2008 toNational Standard of CanadaCAN/CSA-ISO/IEC 23001-1:08Amendment 1:2007 to International Standard ISO/IEC 23001-1:2006 has been adopted without modification(IDT) as Amendment 1:2008 to CSA Standard CAN/CSA-ISO/IEC 23001-1:08. This Amendment wasreviewed by the CSA Technical Committee on
4、 Information Technology (TCIT) under the jurisdiction of theStrategic Steering Committee on Information Technology and deemed acceptable for use in Canada.September 2008ISO/IEC 23001-1:2006/Amd.1:2007(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing
5、 policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Cen
6、tral Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been ta
7、ken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2007 All rights reserved. Unless otherwise specified, no part of
8、this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-
9、1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org ii ISO/IEC 2007 All rights reservedAmendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC 23001-1:2006/Amd.1:2007(E) ISO/IEC 2007 All rights reserved iiiForeword ISO (the International Organization for
10、Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective orga
11、nization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technol
12、ogy, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards
13、adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subjec
14、t of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. Amendment 1 to ISO/IEC 23001-1:2006 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 29, Coding of audio, picture, multimedia and hypermedia in
15、formation. Amendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC 23001-1:2006/Amd.1:2007(E) ISO/IEC 2007 All rights reserved 1Information technology MPEG systems technologies Part 1: Binary MPEG format for XML AMENDMENT 1: Conformance and reference software Page 124 Add the following clauses after Cl
16、ause 8: 9 Conformance 9.1 Encoder The BiM Encoder consumes a textual XML document and produces a document in binary access unit form. Conformance testing of the BiM Encoder is not provided. 9.2 Bitstream in Access Unit Form The binary bitstream in access unit form (together with its associated binar
17、y DecoderInit) is fed to the reference systems decoders. The decoded information is used to reconstruct a document after each access unit. Each resulting document is tested for validity against the schema declared in the associated DecoderInit. The following conditions must be fulfilled as a necessa
18、ry condition for each binary bitstream in access unit form: 1) The syntax of each binary access unit as well as the syntax of the binary DecoderInit must be correct wrt. the BiM syntax as defined in Clauses 6, 7 and 9 of ISO/IEC 23001-1. 2) Decoding the document fragment conveyed in the InitialDocum
19、ent together with the document fragment conveyed in the first access unit must result in a document that is valid against the schema declared in the DecoderInit. 3) After each access unit the decoded document must be valid against the schema declared in the DecoderInit. 4) In any FUU, when the FU co
20、mmand is “add” then the FU context must not point to an instantiated node in the current document tree. 5) In any FUU, when the FU command is “update” or “delete” then the FU context must point to an instantiated node in the current document tree. Amendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC
21、 23001-1:2006/Amd.1:2007(E) 2 ISO/IEC 2007 All rights reservedReference BiM Decoder Binary document stream Decoded document Binary decoder init Validation Schema Figure 44 Conformance testing of Bitstream in Access Unit Form 9.3 Decoder 9.3.1 Overview The BiM Decoder consumes a document in binary ac
22、cess unit form and produces a textual XML document. Conformance testing of the Decoder involves checking whether the output of the Decoder is equivalent to that produced by a reference Decoder, as shown in Figure 45. The Test Decoder is said to be compliant if it produces a textual XML document outp
23、ut that is equivalent to that produced by a Reference Decoder. Reference BiM Decoder Document stream (access units in binary form) Decoded Document Test BiM Decoder Decoded Document Compare Figure 45 Conformance testing of BiM Decoder 9.3.2 Definition of Reference Binary Access Unit Form Documents T
24、he reference access unit documents are designed to test the following features: DecoderInit: Single and multiple SchemaReferences with and without locationHint DecoderInit with and without InitialDocument Access Units with single and multiple FUUs Amendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC
25、 23001-1:2006/Amd.1:2007(E) ISO/IEC 2007 All rights reserved 3 FU commands: addContent, updateContent, deleteContent, reset FU context: relative and absolute context path in combination with the FU commands above FU context: multiple payload mode FU context: addressing elements and attributes FU con
26、text: using “User Data Extension Code” FU context: use schemas including a variety of type definitions including SEQ, CHOICE, ALL content models (also in hierarchical definitions of SEQ and CHOICE) as well as simple content in a complex type FU context: using type codes as well as substitution codes
27、 FU context: using MPCs, no PC, SPCs as well as implicit asignment of MPCs and SPCs FU payload: with and without use of “unit size” (declared in DecoderInit) FU payload: with and without deferred nodes FU payload: use the different length coding modes FU payload: with and without specific type codec
28、s FU payload: using type codes as well as substitution codes FU payload: use schemas including a variety of type definitions including SEQ, CHOICE, ALL content models (also in hierarchical definitions of SEQ and CHOICE) as well as simple content in a complex type 10 Reference software 10.1 Reference
29、 software components The reference software related to ISO/IEC 23001-1 is known as experimentation software (XM). Table 13 shows the reference software components. Table 13 Reference software components Name of the Tool in this specification Name of the Tool in the XM software Bit Stream Encoder/Dec
30、oder SystemTools/BiM 10.2 Introduction The BiM reference software is the set of sources, libraries, examples and documentation related to the encoding, decoding and handling of the binary XML format defined by ISO/IEC 23001-1. The package contains different tools, and an intuitive GUI application to
31、 control the binarization process of a generic XML source. Amendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC 23001-1:2006/Amd.1:2007(E) 4 ISO/IEC 2007 All rights reserved10.2.1 Package content The BiM reference software contains: The implementation sources for the encoding / decoding algorithms T
32、he set of the external libraries for building and running the programs: xerces.jar, xerces-c_1_X.so/.dll (version 1.6 is known to compile successfully), and gnu-regexp-1.1.3.jar A set of command line tools and GUI applications to apply the binarization on different sources A set of example files: MP
33、EG-7 XML Schemas and a set of MPEG-7 files MPEG-21 XML Schemas and a set of MPEG-21 files A set of other XML files and associated XML Schemas for the binarization of generic files A.so/.dll and its sources (SIEMENS) containing the functions necessary to encode a textual path in a binary path and to
34、decode a binary path from the bit stream into a textual path A short documentation 10.2.2 Installation and execution Prerequisites: the Java Sun JDK (version 1.4) is needed to use the BiM reference software. The software can be unzipped anywhere in the target machine. Some libraries (xerces-c_1_4.dl
35、l, navigation_path.dll, included) need to be installed on the machine in order to complete the installation. Refer to the readme.txt file for the detailed instruction for your platform. The execution of the encoding, decoding and GUI tools is controlled by scripts included in the distribution. 10.3
36、Software overview The reference software functionality can be grouped as follows: XML-Schema parsing and validation The BiM compression algorithm is based on the knowledge of the schema underlying the XML stream. A central part of the reference software is then dedicated to the parsing and validatio
37、n of XML Schema, and to the building of the objects and automatas used during the encoding / decoding. The com.expway.schema hierarchy contains the main classes for the validation and internal structure building. Among them, com.expway.schema.GeneralSchemaHandler contains the main entry points for t
38、he schema handling. Encoding The encoding process uses the information built during the schema parsing to scan the input file and to encode the structure of the document and its leaves. The main class for the encoding process is “com.expway.binarisation.GeneralBinaryHandler”: it behaves like a SAX C
39、ontentHandler, and all the binarization is driven by the input XML. In the encoding process, simple XML-Schema types (xsd:string, xsd:enumeration) have built-in encoding rules, but dedicated encoders can also be associated to particular XML-Schema types to get a fine-grain control over the compressi
40、on performances of a known XML-Schema. The structure of the document is encoded as in the current specification. Amendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC 23001-1:2006/Amd.1:2007(E) ISO/IEC 2007 All rights reserved 5The “com.expway.gui” package contains an entry point to a GUI interface:
41、BiMGUI, and the “com.expway. binarisation.GeneralBinaryHandler” package contains an entry point to a command line encoder. Decoding The decoding process is somewhat simpler because it does not need to parse the XML-Schema that had been used for the encoding. The decoding uses the decoderConfig infor
42、mation produced in the schema parsing phase. The decoders entry points are in “com.expway.binarisation.GeneralDecompression”. 10.3.1 Main packages As explained before, the com.expway.schema contains the main algorithms for the schema static analysis and structure building. The encoding phase is hand
43、led by the automata-based algorithm implemented mainly in the com.expway.automata and com.expway.binarisation packages. The com.expway.expression package contains the encoding infrastructure for XML-Schema related types. As stated before, the com.expway.gui, com.expway.binarisation.GeneralBinaryHand
44、ler, and com.expway.binarisation.GeneralDecompression packages contain the entry points for the GUI and command line tools. Page 132 Add the following new annex after Annex C: Amendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC 23001-1:2006/Amd.1:2007(E) 6 ISO/IEC 2007 All rights reservedAnnex D (n
45、ormative) Reference Bitstreams Description Table D.1 Conformance Stream description ConformanceStreamDecoderInit Fragment UpdatesContextPath Commands PayloadDescr Multiple FragmentsSchemaReferences Fragment UpdatesTypeAddress Add Delete Replace ResetDeferred Nodes singleAU/ 9 Single Absolute root 9m
46、ultipleAUs/000 9 Multiple Absolute elements 9 9 multipleAUs/019 9 9 Single Absolute elements 9 multipleAUs/036 9 Single Absolute elements 9 9 multipleAUs/094 9 Multiple Absolute elements 9multipleAUs/094-2 9 Multiple Absolute elements 99 multipleAUs/102 9 Multiple Absolute elements 9multipleAUs/102-
47、2 9 Multiple Absolute elements 99 multipleAUs/153 9 Single Absolute elements 9 9 Amendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC 23001-1:2006/Amd.1:2007(E) ISO/IEC 2007 All rights reserved 7ConformanceStreamDecoderInit Fragment UpdatesContextPath Commands PayloadDescr Multiple FragmentsSchemaRe
48、ferences Fragment UpdatesTypeAddress Add Delete Replace ResetDeferred Nodes AbsoluteContextPath_MixedContent/ Single Absolute mixed text 9 RelativeContextPath_MixedContent/ Single relative mixed text 9 MDS_Zlib/ Single Absolute root 9 MDS_DeferredFragmentReference/ Single Absolute fragment reference
49、 9 MDS_NonDeferredFragmentReference/ Single Absolute fragment reference 9 Amendment 1:2008 toCAN/CSA-ISO/IEC 23001-1:08ISO/IEC 23001-1:2006/Amd.1:2007(E) ICS 35.040 ISO/IEC 2007 All rights reserved Copyright NoticeThis Amendment to the International Standard contains information copyright protected by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). Exce