XML I10-002 XML Master Professional Application Developer Exam Practice Test

Page: 1 / 14
Total 80 questions
Question 1

Under the SAX specification, which of the following is a method for determining whether to validate a document with the SAX parser?



Answer : A


Question 2

Push the Exhibit Button to load the referenced "XML Document." Assume that the "XML Document" is changed to the "Results XML Document." Select which XSLT style sheet correctly performs the transformation.

[XML Document]

ABC

Note that the XSLT processor can output transformation results as a document. (Multiple answers possible. Select two.)

[Results XML Document]

AC



Answer : B, D


Question 3

Push the Exhibit Button to load the referenced "XML Document," and process XML using "DOM Processing."



Answer : A


Question 4

Process the following "XML Document" according to the method shown by "DOM Processing," and output "article" (by print method). Select which of the following correctly describes what should be in (1) for " DOM Processing "



Answer : D


Question 5

When processing the following "XML Document" ("sample.xml") according to the method shown by "SAX processing," which of the following correctly describes the output results (print method output)?

Assume no compile errors. The SAX parser is a validating parser.



Answer : C


Question 6

Use XSLT transformation to create XML according to the schema (portions modified for this question) defined by TravelXML.

Perform XSLT transformation on the "XML Document" using the following "XSLT Style Sheet".

[XML Schema]

Select which of the following correctly describes the results of performing a validation check on the post-transformation XML against the schema ("XML Schema" referenced when the Exhibit Button is pushed).



Answer : C


Question 7

When receiving an XML document following the schema defined by TravelXML (portions modified for this question), the document is processed via SAX programming. Push the Exhibit Button to load the referenced "XML Schema".

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

[XML Document]

The root element name (document element name) is "BookingNotification".

The XML document follows the "XML Schema" definition.

There is no DTD for the XML Document.

The XML Document is comprised of elements and character data; comments and CDATA sections, 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.

The SAX parser is namespace aware.

Assume no execution errors.}



Answer : B


Page:    1 / 14   
Total 80 questions