"Murphy, James" <[EMAIL PROTECTED]> writes:

> BinInputStream::curPos() const; looks promising since the built in
> input sources actually implement it!  So you should be able to call
> this in your SAX event handler methods if you provide your event
> handler class with the InputSource you use to parse.

Yuck!!

The InputSource creates the BinInputStream which is maintained by an
XMLReader. 

The XMLReader is maintained by a ReaderMgr.

The ReaderMgr is maintained by an XMLScanner.

All the *Parser's inherit from XMLScanner.

But...

XMLReader has no public method to access the BinInputStream, which
doesn't really matter because even though ReaderMgr *does* have a
public interface to access the current XMLReader, XMLScanner has *no*
public interface to acces the ReaderMgr.

Ok.

There has to be a legitimate way to access the BinInputStream in the
current XMLReader! Tinny are you willing to accept a patch that
provides the two public getter methods that are needed to do this?

  XMLScanner::getReaderMgr()

and 

  XMLReader::getBinInputStream()

are what I see. Or is there something I'm missing?

Thanks,
jas.

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

Reply via email to