Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free XML Master Professional Application Developer I10-002 Exam Questions

Page: 1 / 8 Total 80 questions

Want more questions? Get Premium Access.

Question 1

Use DOM programming to create XML according to the schema defined by TravelXML (portions modified for this question). Create XML according to the method shown by "DOM Processing". Select which of the following correctly describes the results of performing a validation check on the created XML against the schema ("XML Schema" referenced when the Exhibit Button is pushed).

[DOM Processing]

Create XML using the following method.

Document doc = createXML( impl );

The variable impl here references the DOMImplementation instance.

The DOM parser is namespace aware.

Assume no execution errors.

Correct Answer: C. The created XML includes all of the required elements defined by the schema (all elements defined once they have appeared, namespace refleted); however, is not valid

Question 2

Which of the following correctly describes a WSDL (WSDL 1.1) definition defining a certain service specification?

Correct Answer: C. HTTP protocol is used to send the SOAP message to the service side

Question 3

Push the Exhibit Button to load the referenced "XML Document". When processing the "XML Document" according to the method shown by "DOM Processing," which of the following is the most appropriate expression of the results under XML 1.0? Line feeds and/or indents are not reflected in the results.

[XML Document]

2004-07-01 13:00

WAITING

2004-07-01 16:00

WAITING

Assume that the processed XML Document has no indents (ignorable white space such as line feeds, tabs, etc.).

[DOM Procesing]

Create XML using the following method.

Document output = createXML( doc, impl );

The variable doc here references the Document instance of the loaded XML Document.

The variable impl here references the DOMImplementation instance.

The DOM parser is namespace aware.

Assume no execution errors.

Correct Answer: C. <List xmlns='urn:xmlmaster:LIST'> <Worker xmlns='urn:xmlmaster:WORKER' Name='Jim Worker'/> <Activity xmlns='urn:xmlmaster:VISIT' Code='0003'> <DateTime>2004-07-01 16:00</DateTime> <Job Procedure='Clean air conditioner' Time='2'/> <Status>WAITING</Status> </Activity> </List>

Question 4

Which of the following is incorrect with respect to XML?

Correct Answer: C. XML is designed with the ideal structure for storage in an RDB (relational database)

Question 5

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

Correct Answer: B. East&West

Question 6

Push the Exhibit Button to load the referenced "XSLT Style Sheet". Select which of the following correctly describes the output results of an XSLT transformation of the "XML Document" using the "XSLT Style Sheet".

[XSLT Style Sheet]

Note that the XSLT processor can output transformation results as a document. Line feeds and indents are not reflected.

[XML Document]

89

70

Correct Answer: B. <record xmlns='urn:xmlmaster:B'> <data value='89'/> <data value='70'/> </record>

Question 7

Use DOM programming to create XML according to the schema defined by NewsML (portions modified for this question). Push the Exhibit Button to load the referenced "XML Document".

[XML Document]

Load the "XML Document" and update the XML according to the method shown by "DOM Processing". Select which of the following correctly describes the results of performing a validation check on the created XML against the schema ("DTD" and "article.dtd"). Assume that "article.dtd" can be parsed normally during validation. The existence of a document type declaration during validation is not reflected.

[DOM Processing]

Create XML using the following method.

Document output = createXML( doc );

The variable doc here references the Document instance of the loaded XML Document.

Assume no execution errors.

Correct Answer: A. The created XML does not include required attributes; therefore, is not valid against the schema

Question 8

Which of the following is a correct SOAP (SOAP 1.1) message according to the WSDL (WSDL 1.1) definition?

Correct Answer: C. <soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'> <soap:Body> <Document xmlns='http://xmlmaster.org/example/xsd'> <Title xmlns=''>Daily report</Title> <Content xmlns=''>Today's news</Content> </Document> </soap:Body> </soap:Envelope>

Question 9

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: A. The media type identification appends <?xml version='1.0' encoding='us-ascii'?>, at which point the XML processor throws an error when processing the XML document

Question 10

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.

Correct Answer: C. Error