Andy Clark wrote:
> Thoughts?

Yes, I have one but I must attribute it to Glenn because he
made the comment to me last week or so. It's taken me this
long to remember it long enough to post it to the mailing
list! Oh well.

To recap: my proposal was to add an infoset parameter to
the most useful methods in the document handler. These
being: startElement, characters, ignorableWhitespace, and
endElement.

Glenn asked: what about infoset additions associated to
attributes? Very good question.

At first I was thinking that they could just be part of
the keyed information in the infoset passed in the 
startElement method. But then Glenn countered by saying
that it would be difficult to keep these in sync as 
subsequent stages in the pipeline alter the document's
infoset and infoset augmentations.

So I would suggest adding an infoset to each attribute
in the XMLAttributes interface. Then the infoset passed
as a parameter to the startElement would pertain to the
element itself and the infoset pertaining to an
attribute would be directly associated to that attribute
in the XMLAttributes interface. Make sense? 

Does this sound like a reasonable solution to this
problem? Does anyone have any more thoughts regarding
the addition of infoset augmentations to the document
handler interface?

-- 
Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]

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

Reply via email to