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

Otherwise, the XML parser would have to start by running through every
level of the document and setting the appropriate variables. That's a
lot of overhead, and I think I'm okay that it doesn't do that by
default. As noted, you can clear the variables yourself or initialize
them using INZ.

Not something that had occurred to me - but it makes perfect sense Joe.

I've been suggesting since this support came out folks they should use a count for any optional element. This is important because you can't always rely in initialization. For example INZ is not an option when %Handler is in use and while the V6 increases in variable sizes reduce the number of times when you have to use %Handler there are still times when you need it. If you get into the practice of coding counts for optional elements you've always got something to fall back on.

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].