xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Glavassevich <mrgla...@ca.ibm.com>
Subject Re: internal subset string from XNI?
Date Mon, 20 Feb 2006 15:52:21 GMT
Jacob Kjome <hoju@visi.com> wrote on 02/20/2006 10:25:55 AM:

> 
> How do I know the DTD is an internal subset?  By the fact that
> startExternalSubset doesn't get called?

Yes. startExternalSubset tells you the start boundary for the external 
subset. Any DTD events emitted before it are in the internal subset.
 
> Jake
> 
> Quoting Michael Glavassevich <mrglavas@ca.ibm.com>:
> 
> > Using XNI you have to assemble it yourself from the events emitted 
from
> > the DTD pipeline. Have a look at XMLDTDHandler [1].
> >
> > [1]
> >
> http://xerces.apache.org/xerces2-
> j/javadocs/xni/org/apache/xerces/xni/XMLDTDHandler.html
> >
> > Michael Glavassevich
> > XML Parser Development
> > IBM Toronto Lab
> > E-mail: mrglavas@ca.ibm.com
> > E-mail: mrglavas@apache.org

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message