Cyber Monday 2023! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: CM25OFF
Welcome to Pass4Success

- Free Preparation Discussions

XML Exam I10-002 Topic 1 Question 49 Discussion

Actual exam question for XML's I10-002 exam
Question #: 49
Topic #: 1
[All I10-002 Questions]

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)?


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.

Show Suggested Answer Hide Answer
Suggested Answer: B


Currently there are no comments in this discussion, be the first to comment!

Save Cancel