-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
I'm trying to process xml documents in line mode (one line each). When trying this kind of input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><fixture start_time="1738166400000" event_id="9999" timestamp="1737369994942"/>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><fixture start_time="1738065600000" event_id="9999" timestamp="1737369994951"/>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><fixture start_time="1738164600000" event_id="9999" timestamp="1737369994960"/>cat example.xmllines | xmq --lines
-:2: parser error : XML declaration allowed only at the start of the document
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><fixture start_time="1738
^
-:2: parser error : Extra content at the end of the document
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><fixture start_time="1738
Tried also cat example.xmllines | xmq, xmq --lines example.xmllines, xmq example.xmllines but it's all the same. Ideally I'd like to be able to pipe the output of kafka-console-consumer into it.
Metadata
Metadata
Assignees
Labels
No labels