Re: TreeWalker.whatToShow

I've been reminded that we've been forgetting an important point: Specific
handling for Entity References is designed into the Traversal tools. Both
NodeIterator and TreeWalker support the entityReferenceExpansion flag,
which when set false will cause children of EntityReference nodes to be

I believe our intent is that when this flag is set false its rejection
takes precedence over both whatToShow and the user-provided filter (if
any), just as the skip generated when whatToShow's relevant bit is false
takes precedence over the filter.

But that's not documented clearly enough in the current draft. Will fix.

Joe Kesselman  / IBM Research

Received on Monday, 28 February 2000 17:24:21 UTC