v0.9.7
Fixed
-
A stray run of text is now reported where it actually is, instead of on the
element containing it (#68). Every loose run in a file used to collapse onto
its parent's single line, column and element path: sixteen findings in one
real book all saidline 8, col 1and/h:html[1]/h:body[1]. They now carry
their own positions and…/text()[n]paths — identical to what the dedicated
EPUB 2 rule reported before the grammar absorbed it in 0.7.x.No finding was added or removed, so the verdict, the corpus and the shelf are
all byte-identical; what changed is that a consumer can act on the finding.
An editor can jump to the text, and a repair tool can wrap that run rather
than guessing which of sixteen candidates was meant. The defect only surfaced
from downstream use, since every instrument here compares verdicts and counts.Internally the blame is a
Blame::Textvariant carrying the run, rather than
a fourthElementFaultcarrying its parent — the two disagree about which
node is at fault, and the type now says which one it is.
Full notes: CHANGELOG.md. Also on crates.io.