When receiving an XML document following the DTD defined by NewsML (portions modified for this question), the document is processed via SAX programming. Push the Exhibit Button to load the referenced "DTD". When processing the following "XML Document" according to the method shown by "SAX Processing," which of the following correctly describes the output results (print method output)?
[DTD]
Note that the attribute value is not output for this question.
[XML Document]
The root element name (document element name) is "NewsML".
The XML document follows the "DTD" definition.
The XML Document has no document type declaration.
The XML Document is comprised of elements, attributes and character data; comments and CDATA secions, etc. are not included.
The XML Document is indented, and includes ignorable white spaces such as line feeds and tabs before the start-tags.
[SAX Processing]
Use the following "ContentHandlerImpl" class, and parse the XML Document using SAX.
Assume no execution errors.
Currently there are no comments in this discussion, be the first to comment!