Paul Sandoz wrote:
> Hi,
>
> I would like to use the StAXSource to process XML from an
> XMLStreamReader as SAX events. This is so i can test round tripping
> using the StAX implementations of XML stream buffer.
>
> The way StAXSource is defined results in comments being ignored. Do you
> mind if i modify it support comments?
>
> The quickest way i could do this is to modify
> StAXReaderToContentHandler.bridge method to take the parameters the
> constructors the implementations take in addition to a lexical handler.
>
I have managed to do this a different way by extending XMLFilterImpl to
support LexicalHandler. That way i do not have to change the
StAXReaderToContentHandler interface.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109