I think that this is a good approach.

Ted

On Tue, 2001-11-20 at 12:22, Elena Litani wrote:
> We are about to make XNI changes to support Infoset augmentations in the
> document pipeline. 
> As you know, the problem of exposing infoset augmentations in XNI was
> raised because XML Schema allows to augment the infoset and requires
> parsers to expose PSVI. 
> 
> AndyC came up with a general solution what will allow different
> components to augment the infoset in different way and pass it along the
> document pipeline.
> 
> The proposal is to add an InfosetAugmentations parameter to every method
> in XMLDocumentHandler that passes infoset info, for example:
> public void startElement(QName element, XMLAttributes attributes,
> InfosetAugmentations augmentations);
> 
> We will also add an InfosetAugmentations to each attribute in the
> XMLAttributes interface.
> 
> 
> The InfosetAugmentations interface will allow users to add/update/remove
> augmentations using the following methods:
> public Object getItem(String key);
> public Object putItem (String key, Object item);
> public boolean isRecognizedItem (String key);
> public void removeItem (String key);
> 
> We also plan to add to XNI some PSVI related interfaces: those would
> live in the xni.psvi package and will be treated as an extension to the
> core XNI interfaces.
> 
> Any comments?
> 
> -- 
> Elena Litani / IBM Toronto
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to