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.SAX ParseException: Illegal character at end of document, <.
at org.apache.crim son.parser.Pars er2.fatal(Unkno wn Source)
at org.apache.crim son.parser.Pars er2.fatal(Unkno wn Source)
at org.apache.crim son.parser.Pars er2.parseIntern al(Unknown Source)
at org.apache.crim son.parser.Pars er2.parse(Unkno wn Source)
at org.apache.crim son.parser.XMLR eaderImpl.parse (Unknown Source)
at javax.xml.parse rs.SAXParser.pa rse(Unknown Source)
at javax.xml.parse rs.SAXParser.pa rse(Unknown Source)
It should be possible, right?