When parts are used, they will be h1 in separate content documents, with the chapters starting at h2 in the chapter content document. The cross-reference check was fixed by @kalaspuffar to properly accomodate this in #486.
However, it seems the RelaxNG rules are still not correct, so we have for instance the issue with subsections in a content doc starting with h2, where the subsection should have h3, but it is not allowed.
When parts are used, they will be h1 in separate content documents, with the chapters starting at h2 in the chapter content document. The cross-reference check was fixed by @kalaspuffar to properly accomodate this in #486.
However, it seems the RelaxNG rules are still not correct, so we have for instance the issue with subsections in a content doc starting with h2, where the subsection should have h3, but it is not allowed.
gives
V000101-023-chapter.xhtml (line: 15, column: 16) element "h3" not allowed here; expected element "address", "article", "aside", "blockquote", "div", "dl", "figure", "h2", "hr", "img", "ns:math", "ol", "p", "pre", "section", "span", "table" or "ul" (with xmlns:ns="http://www.w3.org/1998/Math/MathML")
, i.e. it expects h2.Ping @kalaspuffar when back from vacation :-)