Free I10-002 Exam Braindumps

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 correctly describes the output results (print and/or println method output)? Although the expected processing result is choice "A", processing may not occur as expected. [DOM Processing] Process XML using the following method. printXML( doc ); The variable doc here references the Document instance of the loaded XML Document. The DOM parser is namespace aware.
Assume no execution errors.

  1. Not Visited:2004-07-01 13:00 Worker=Jeff Workman, Visit(John Smith) Not Visited:2004-07-01 16:00 Worker=Jeff Workman, Visit(Ken Miller)
  2. Not Visited:2004-07-01 13:00 Worker=John Smith, Visit(John Smith) Not Visited:2004-07-01 16:00 Worker=John Smith, Visit(Ken Miller)
  3. Not Visited:2004-07-01 13:00 Worker=Jeff Workman, Visit(John Smith) Not Visited:2004-07-01 13:00 Worker=Jeff Workman, Visit(John Smith)
  4. Not Visited:2004-07-01 13:00 Worker=John Smith, Visit(John Smith) Not Visited:2004-07-01 13:00 Worker=John Smith, Visit(John Smith)

Answer(s): B



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.}



  1. All character data of elements can be output, ignorable white spaces are not output
  2. All character data of elements can be output, and ignorable white spaces are also output
  3. A portion of character data of elements cannot be output
  4. No character data of elements can be output

Answer(s): B



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]
<xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema





</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd: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).

  1. The root element (document element) of the post-transformation XML is an empty element, and the post-transformation XML is not valid against the schema
  2. The post-transformation XML does not include the required elements defined by the schema (all elements defined once they have appeared, namespace reflected); therefore, is not valid
  3. The post-transformation XML includes all of the required elements defined by the schema (all elements defined once they have appeared, namespace refleted); however, is not valid
  4. The post-transformation XML is valid

Answer(s): C



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.

  1. The root element (document element) of the created XML is an empty element, and the created XML is not valid against the schema
  2. The created XML does not include the required elements defined by the schema (all elements defined once they have appeared, namespace reflected); therefore, is not valid
  3. 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
  4. The created XML is valid

Answer(s): C






Post your Comments and Discuss XML Master I10-002 exam with other Community members:

I10-002 Exam Discussions & Posts