Re: internal subset string from XNI?
Michael Glavassevich <[email protected]>
| Newsgroups | gmane.text.xml.general |
|---|---|
| Message-ID | <OFB104E00A.6CDE7D32-ON8525711B.005689A4-8525711B.00572FFA@ca.ibm.com> |
Jacob Kjome <[email protected]> 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 <[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] Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected]