Hello,

What are the semantic differences beween the FILTER_REJECT
and FILTER_SKIP return codes from acceptNode?  I'm using a
DOM_NodeIterator.

Are there differnces with how a TreeWalker and NodeIterator
inperpret these two values?

Also, why doesn't DOM_NodeFilter::acceptNode return a
DOM_NodeFilter::FilterAction instead of a short?

The same question with regards to DOM_Node::getNodeType()?
I have a function which takes DOM_Node::NodeType args and
I'm forced to cast like this:

func((DOM_Node::NodeType)node.getNodeType());

Declaring func to take an int is lame; it defeats the
purpose of NodeType being decalred enum.

Travis
-- 
Travis Shirk <travis at pobox dot com>
Mathematics is God and Knuth is our prophet.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to