Re: internal subset string from XNI?

Jacob Kjome <[email protected]>
Newsgroups gmane.text.xml.general
Message-ID <[email protected]>
How do I know the DTD is an internal subset?  By the fact that
startExternalSubset doesn't get called?

Jake

Quoting Michael Glavassevich <[email protected]>:

> 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: [email protected]
> E-mail: [email protected]
>
> Jacob Kjome <[email protected]> wrote on 02/20/2006 02:44:00 AM:
>
> >
> > I've implemented an XNI parser.  I used to use Xerces1 which provided me
>
> > with the internal subset string in the method...
> >
> > org.apache.xerces.framework.XMLDocumentHandler.
> > DTDHandler#internalSubset(String)
> >
> >
> > How do I go about getting similar functionality from XNI in Xerces2?
> It's
> > the one thing that remains unclear to me.
> >
> > thanks,
> >
> > Jake
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.