hi,

i would like to extend to allow application to access and control through
XNI behavior of input buffer handling and to be able to retrieve
information about position of events (such as where is start end and end
position of start tag <...> in input buffer).

i do not think it is possible now and i am not even sure if it can be
added?

the place where this information seems to be kept is

    org.apache.xerces.impl.XMLEntityManager.EntityScanner

but i do not see how i could access  protected ScannedEntity
fCurrentEntity and how to replace default
protected XMLEntityScanner fEntityScanner to plugin an extended version
that will

i would like to expose to application fCurrentEntity.position and allow to
control peekChar() and load() behavior (load is now private final function
...).

finally i would like to be able ot pinpoint input buffer so it is always
growing but never shrunk with System.arraycopy() - it is very useful if i
want to keep in memory representation of unparsed XML in memory that can
be used similarly to DOM as persistent representation of XML doc  ( to
reconstruct DOM *when* it is needed...).

any pointers appreciated :-)

thanks,

alek



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

Reply via email to