Repository navigation
v0.15.0
Pre-release
Pre-release
A minor bump under the beta rule: the XML writer now rejects an input it
used to accept (see "Behaviour changes"). vendor/omnist-spec moves from
v0.32.0-beta to v0.33.0-beta (64cbb68). Conformance: Track 1 19/19;
Track 2 333 passed, 0 failed, 34 skipped of 367 (28 OSD-OML, 6 limits E-20,
unchanged); from the bump alone 4 vectors failed (the formats-xml/nulls
write vectors; the fifth, the read-side neighbour, already passed).
- C-10: an XML null leaf fails the write.
write_xml,check_xml,
Doc.to_xmlandomnist convert --to xmlraiseWriteError
(write.unsupported-value), unconditionally and regardless ofstrict, at
the Document path of the null leaf, with the E-10 index when its label
repeats ($.root.item[1]). XML has no null token and<a/>reads back as
the empty string, so the old output was indistinguishable from the different
Document holding"". Thenull.omittedadjustment for XML, its docs and
its tests are gone. Closes the Python row of ledgerDIV-21. - E-10 on the XML reader's drop paths (omnist#357).
format.attribute-droppedandformat.namespace-droppednow carry the index
on every occurrence of a repeated element (<r><a x="1"/><a x="2"/></r>
reports$.r.a[0]and$.r.a[1], not$.r.atwice); built with the shared
edge_pathshelper. A lone element is unchanged. - Docs:
docs/formats/toml.mdstill described a TOML null as dropped with
null.omitted; it has failed unconditionally since #324. Corrected.
Behaviour changes
- Writing a Document with a null leaf to XML used to succeed with a
null.omittedwarning (an empty element) and now fails. Callers that relied
on it must remove or replace the null before writing.