I am an xml novice so apologies up front if my question is - well - stupid.
I am investigating a C program that uses the libxml2 xmlreader to parse a string containing an xml message.
The structure of the xml message currently contains elements and attributes arranged as follows:
<Fields>
<Field name="XXXXXXXXX_PAYER_NAME">
<Value>MR JON DOE</Value>
<Change>U</Change>
</Field>
<Field name="XXXXXXXXX_PAYEE_NAME">
<Value>ABCD</Value>
<Change>U</Change>
</Field>
</Fields>
Theres is an intention to change the arrangement of elements and attributes as follows:
<Fields>
<XXXXXXXXX_PAYER_NAME>MR RED BOX</XXXXXXXXX_PAYER_NAME>
<Change>U</Change>
<XXXXXXXXX_PAYEE_NAME>ABCD</XXXXXXXXX_PAYEE_NAME>
<Change>U</Change>
</Fields>
(No doubt there are terms that describe these different formats but I don't know what they are)
My question is: is it likely that the libxml2 xmlreader will correctly parse the new format?
Our system configuration does not allow us to set up a test scenario without a significant overhead so, at this stage, our intention is to wait until the new xml message is up and running in our development environment and then try it and see what happens.
Any help would be gratefully appreciated.
Thanks.
I am investigating a C program that uses the libxml2 xmlreader to parse a string containing an xml message.
The structure of the xml message currently contains elements and attributes arranged as follows:
<Fields>
<Field name="XXXXXXXXX_PAYER_NAME">
<Value>MR JON DOE</Value>
<Change>U</Change>
</Field>
<Field name="XXXXXXXXX_PAYEE_NAME">
<Value>ABCD</Value>
<Change>U</Change>
</Field>
</Fields>
Theres is an intention to change the arrangement of elements and attributes as follows:
<Fields>
<XXXXXXXXX_PAYER_NAME>MR RED BOX</XXXXXXXXX_PAYER_NAME>
<Change>U</Change>
<XXXXXXXXX_PAYEE_NAME>ABCD</XXXXXXXXX_PAYEE_NAME>
<Change>U</Change>
</Fields>
(No doubt there are terms that describe these different formats but I don't know what they are)
My question is: is it likely that the libxml2 xmlreader will correctly parse the new format?
Our system configuration does not allow us to set up a test scenario without a significant overhead so, at this stage, our intention is to wait until the new xml message is up and running in our development environment and then try it and see what happens.
Any help would be gratefully appreciated.
Thanks.