XPS 0.95 Clarification & Recommendation for ZIP Parsing

The following clarifying note and recommendation have been added to section 10.1 of the XPS specification in regard different methods of parsing the ZIP-based package that is the foundation of the XPS Document.

Note: Consumers can choose to parse an XPS Document in a head-first or tail-first manner. Tail-first parsing reveals certain package errors earlier, such as inconsistencies between the ZIP central directory and local file headers. Head-first XPS Document consumers SHOULD attempt to detect inconsistent packages as soon as possible and SHOULD generate an error message, even if they have already processed the pages that resulted in the error [S10.18]. Head-first consumers that discard parts would need to retain the name and length of any discarded part to comply with this recommendation.

Comments (7)

  1. Richard says:

    The use of the terms ‘Head-First’ and ‘Tail-First’ is ambiguous here. I guess you are referring to streaming consumption, and central-directory based consumption, respectively?

  2. ... says:

    mmm.. nice design, I must say..

  3. ... says:

    Du musst ein Fachmann sein – wirklich guter Aufstellungsort, den du hast!

  4. ... says:

    luogo grande:) nessun osservazioni!

  5. ... says:

    Ich erklare meinen Freunden uber diese Seite. Interessieren!

  6. ... says:

    Stupore! Amo questo luogo!:)))))))

  7. ... says:

    E grande io ha trovato il vostro luogo! Le info importanti ottenute! ))