Skip to content

7.2-t26-fail-a.pdf: NonStruct can have anything, including a TOC #169

Description

@faceless2
  • 7.2-t26-fail-a.pdf

This one has a TOC inside a NonStruct. I think that's fine - ISO32K on NonStruct:

"A grouping element having no inherent structural significance; it serves solely for grouping purposes. This type of element differs from a division (structure type Div) in that it shall not be interpreted or exported to other document formats; however, its descendants shall be processed normally."

OK, so we process it's descendants normally but otherwise there are no restrictions. What about TOC?

"(Table of contents item) An individual member of a table of contents. This entry’s children may be any of the following structure types:"

It goes on to list restrictions on its children, but says nothing about its parent. So by the letter of the spec, TOCI in a NonStruct is valid.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions