37 |
|
|
38 |
package gnu.xml.pipeline; |
package gnu.xml.pipeline; |
39 |
|
|
40 |
import java.io.*; |
import java.io.IOException; |
41 |
|
import java.io.StringReader; |
42 |
|
import java.io.StringWriter; |
43 |
import java.util.EmptyStackException; |
import java.util.EmptyStackException; |
44 |
import java.util.Enumeration; |
import java.util.Enumeration; |
45 |
import java.util.Hashtable; |
import java.util.Hashtable; |
47 |
import java.util.StringTokenizer; |
import java.util.StringTokenizer; |
48 |
import java.util.Vector; |
import java.util.Vector; |
49 |
|
|
50 |
import org.xml.sax.*; |
import org.xml.sax.Attributes; |
51 |
import org.xml.sax.ext.*; |
import org.xml.sax.EntityResolver; |
52 |
|
import org.xml.sax.ErrorHandler; |
53 |
|
import org.xml.sax.InputSource; |
54 |
|
import org.xml.sax.Locator; |
55 |
|
import org.xml.sax.SAXException; |
56 |
|
import org.xml.sax.SAXParseException; |
57 |
|
import org.xml.sax.XMLReader; |
58 |
import org.xml.sax.helpers.XMLReaderFactory; |
import org.xml.sax.helpers.XMLReaderFactory; |
59 |
|
|
|
|
|
60 |
/** |
/** |
61 |
* This class checks SAX2 events to report validity errors; it works as |
* This class checks SAX2 events to report validity errors; it works as |
62 |
* both a filter and a terminus on an event pipeline. It relies on the |
* both a filter and a terminus on an event pipeline. It relies on the |