Looks like it works for me:

$ daffodil --version
Apache Daffodil (incubating) 2.4.0

$ daffodil parse -s test.xsd test.txt
<?xml version="1.0" encoding="UTF-8" ?>
<ex:repeating-label-message xmlns:ex="http://example.com";>
  <row>
    <label>Dear Sir</label>
    <message> Thank you for your response.</message>
  </row>
  <row>
    <label>Hello, world</label>
    <message> How are you?</message>
  </row>
</ex:repeating-label-message>
[warning] Left over data. Consumed 528 bit(s) with at least 384 bit(s)
remaining.
Data (UTF-8) starting at byte 67 is: (␍␊␣␍␊Sen...)
Data (Hex) starting at byte 67 is: (0x0d0a200d0a53656e...)

So it is parsing only half the data and then displaying the left over
warning.

How are you running Daffodil?


On 8/21/19 9:49 AM, Costello, Roger L. wrote:
> Dear Sir: Thank you for your response.
> 
> Hello, world: How are you?
> 
>  
> 
> Sender: John Doe
> 
> Date: November 23, 2018
> 

Reply via email to