Hi,
I'm looking at the examples on http://java.sun.com/xml/jaxp/dist/1....x/2a_echo.html
I want to parse an XML file that has just events, like this:
==>start of file
<event type="1"/>
<event type="2"/>
<method type="warning"/>
<===end of file
so there are no <start> and </start> -tags.
Using the examples on that java site I get the following fatal error:
org.xml.sax.SAXParseException: Illegal character at end of document, <.
at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
at org.apache.crimson.parser.Parser2.parseInternal(Un known Source)
at org.apache.crimson.parser.Parser2.parse(Unknown Source)
at org.apache.crimson.parser.XMLReaderImpl.parse(Unkn own Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
It should be possible, right?