On 2012-04-20, at 1:00 PM, rpg400-l-request@xxxxxxxxxxxx wrote:

I am using the following xml-into opcode to parse some xml the new
countprefix option.
However, when I do not have any elements for my specific count instead
of the count being zero, it is being set to 16448. I have defined all my
count fields as 5i 0.
I am also using allowmissing=yes if this is effecting the results.

Only thing I can think of is that you have defined the fields in question at the wrong level and because you have set allowmissing=yes (which you shouldn't really need when using countprefix) the compiler cannot diagnose that the extra field is in error. The count needs to be at the same level in the DS as the element that it relates to.

Jon Paris


This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].