|
Well XML-INTO is not a DOM processor - a SAX-like process runs and the run
time then moves the data it finds into the appropriate variables.
But that said I don't know if XML-SAX does fully parse the whole document
before doing anything else.
On Mar 31, 2020, at 11:48 AM, John Yeung <gallium.arsenide@xxxxxxxxx>wrote:
wrote:
On Tue, Mar 31, 2020 at 10:55 AM Jon Paris <jon.paris@xxxxxxxxxxxxxx>
with an XML error that XML-SAX rejected it, which would imply at least some
Barbara will know for sure but I know at one time when I had a file
form of complete file processing prior to returning actual data.
questions.
This is tickling something in my memory. Somewhere in these lists, I
can't remember and can't find where (did some searching just now),
there was at least one discussion about the relative strengths and
weaknesses of the DOM approach vs. SAX approach to XML processing. And
while there was broad agreement that DOM strongly implies "document as
a whole" (and thus, in principle, greater memory requirements than
SAX), I think we concluded that it was a mistake to conflate the
"XML-INTO vs. XML-SAX" picture with the "DOM vs. SAX" picture.
It would not surprise me if you or someone else revealed that both of
the RPG opcodes had some common machinery underlying their
implementations, particularly since they both accept handlers.
John Y.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
link: https://amazon.midrange.com
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.