DOM LS: DOMParserFilter vs. DOMParser.parseWithContext's action argument

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

well, I still have this problem, and no one replied to the very earlier post 
that included this issue, so I'll ask in a single post again :)

DOMParserFilter.startElement() and DOMParserFilter.acceptNode() are to be 
invoked by the DOMParser while parsing the input. 
DOMParser.parseWithContext() gets an addition action parameter that decides 
how to handle the parsed context.

So, there are some things not very clear for me:
if FILTER_ACCEPT is returned, the action parameter is to be handled
if FILTER_REJECT is returned, the action parameter is ignored(?)
if FILTER_SKIP is returned, how to handle the action parameter?
if FILTER_INTERRUPT is returned, how to handle the action parameter?

Furthermore, what exactly is a "context"? Will parseWithContext only parse a 
single Element node (including all child nodes)? Or can is parse more? If so, 
what? And, how many?

Many thanks,
Christian Parpart.

- -- 
 02:46:18 up 78 days, 17:49,  2 users,  load average: 0.12, 0.05, 0.05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/MaTIPpa2GmDVhK0RArxIAJ9tRkb+Of9UTF+cijpj7K5yNrj0+ACcCCjV
NdQU3SkUiwY6Tktsl3ZjtsM=
=aN5S
-----END PGP SIGNATURE-----

Received on Wednesday, 6 August 2003 20:55:52 UTC