XML Master: Professional V2 - I10-002 Exam Practice Test
Question 1
Select which of the following correctly describes the message reception processing circumstances when a well-formed XML document has been sent/ received. [Transmission] Character encoding for the transmitted XML document is "UTF-16", and no XML declaration has been specified. The media type for transmission is set as "text/xml" without charset parameter. [Receipt] Implementation follows RFC3023 and XML 1.0. The receiving system first identifies the media type, and then processes the XML document. At the point that character encoding has been determined, an XML declaration (including encoding declaration) is appended automatically to the head of the received XML document.
Correct Answer: C
Question 2
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.
Assume no compile errors. The SAX parser is a validating parser.
Correct Answer: C
Question 3
Select which of the following correctly describes the results of performing a validation check on "XML Document". Assume that the XML parser correctly processes the XML schema schema Location attribute.


Correct Answer: A
Question 4
What must you write in XSLT style sheet (1) to process the following "XML Document" and obtain the following "transform results"? Select the correct answer below. Note that "#" indicates a line feed, and "=*" indicates a tab. Assume that the XSLT processor can output transformation results as a document.


Correct Answer: B
Question 5
Which of the following correctly describes the output results when performing an XSLT tranformation on the following "XML Document" using the "XSLT Style Sheet" below? Note that the XSLT processor can output transformation results as a document.


Correct Answer: C
Question 6
Which of the following fault codes is defined in SOAP specification 1.1? (Multiple answers possible.
Select two.)
Select two.)
Correct Answer: C,D
Question 7
Push the Exhibit Button to load the referenced "XML Document". When processing the "XML Document" according to the method shown by "SAX Processing," which of the following correctly describes the output results (println method output)?
Assume that the processed XML Document has no indents (ignorable white space such as line feeds, tabs, etc.). [SAX Processing] Use the following "ContentHandlerImpl" class, and parse the XML Document using SAX. The SAX parser is namespace aware. Assume no execution errors.
Assume that the processed XML Document has no indents (ignorable white space such as line feeds, tabs, etc.). [SAX Processing] Use the following "ContentHandlerImpl" class, and parse the XML Document using SAX. The SAX parser is namespace aware. Assume no execution errors.
Correct Answer: C
Question 8
Push the Exhibit Button to load the referenced "XML Document 1" and "XML Document 2," and process XML using "DOM Processing."


Correct Answer: C

