1
1
mirror of https://github.com/wader/fq.git synced 2024-11-28 03:02:55 +03:00
fq/format/xml/testdata/trailing.fqtest
Mattias Wadman cae288e6be format,intepr: Refactor json, yaml, etc into formats also move out related functions
json, yaml, toml, xml, html, csv are now normal formats and most of them also particiate
in probing (not html and csv).

Also fixes a bunch of bugs in to/fromxml, to/fromjq etc.
2022-07-23 21:48:45 +02:00

5 lines
120 B
Plaintext

$ fq -n '"<a></a> trailing" | fromxml'
exitcode: 5
stderr:
error: error at position 0xa: root element has trailing data