StructTreeRoot::parse doesn't parse the ParentTree value correctly in general. A "number tree" consists of three types of nodes (root, intermediate, leaf) but the current parser expects the entire number tree to exist in a single node. The PDF32000_2008.pdf file contains a parent tree with intermediate nodes, for example.
The first patch in bug 103912 fixes this.
Closing as duplicate as it'll be fixed once we commit all the stuff from that bug. *** This bug has been marked as a duplicate of bug 103912 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.