Gregor J. Rothfuss schrieb:
J. Wolfgang Kaltz wrote:

Do we really need the NodeType concept? What is it used for?
Is it even possible to obtain the node type of a document through
the API?


The blog entries use LEAF_NODE at creation; the default pub entries use BRANCH_NODE. I don't know if this has any implications.


that is a very old distinction that no longer makes sense. all reasonable implementations are branch nodes (leaf nodes can not have child nodes)

A quick test creating Blog entries as BRANCH_NODE shows no problems. Since getChildType() is actually never called, I will try to remove the node distinction entirely from the code.



-- Wolfgang



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



Reply via email to