Echo05 ../../../xml/samples/slideSampleBad1.xml
LOCATOR
 SYS ID: file:/java/pubs/dev/j2eetutorial/examples/jaxp/sax/work/../../../xml/samples/slideSampleBad1.xml

START DOCUMENT
<?xml version='1.0' encoding='UTF-8'?>
    ELEMENT: <slideshow
       ATTR: title	"Sample Slide Show"
       ATTR: date	"Date of publication"
       ATTR: author	"Yours Truly"
    >
    CHARS:   
        ELEMENT: <slide
           ATTR: type	"all"
        >
        CHARS:   
            ELEMENT: <title>
            CHARS:   Wake up to WonderWidgets!
            END_ELM: </title>
        CHARS:   
        END_ELM: </slide>
    CHARS:   
        ELEMENT: <slide
           ATTR: type	"all"
        >
        CHARS:   
            ELEMENT: <title>
            CHARS:   Overview
            END_ELM: </title>
        CHARS:   
            ELEMENT: <item>
            CHARS:   Why 
                ELEMENT: <em>
                CHARS:   WonderWidgets
                END_ELM: </em>
            CHARS:    are great
            END_ELM: </item>
        CHARS:   
            ELEMENT: <item>
            CHARS:   
                ELEMENT: <item>
                CHARS:   Who 
                    ELEMENT: <em>
                    CHARS:   buys
                    END_ELM: </em>
                CHARS:    WonderWidgets
                END_ELM: </item>org.xml.sax.SAXParseException: The element type "item" must be terminated by the matching end-tag "</item>".
	at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1139)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:281)
	at Echo05.main(Echo05.java:50)