Free I10-003 Exam Braindumps (page: 4)

Page 3 of 11

An [XQuery] was executed to join [eventList.xml] and [sessionUst.xml] (referenced in a separate window) and obtain the following [Expected Execution Result].
However, executing this [XQuery] resulted in an error.

  1. XPST0008: An expression refers to a variable name that is not defined in the static context.
  2. XPTY0018: The result of the last step in a path expression contains both nodes and atomic values.
  3. XGTY0024: The content sequence in an element constructor contains an attribute node following a node that is not an attribute node.
  4. XGST0054: A variable depends on itself.

Answer(s): C



Assume the use of XML Data like [XML Data] referenced in a separate window.
When a data element is present in XML Data, there are three possibilities for b element as shown in [XML Data b Element] (separate window). No other possibilities are available.
Consider inserting any XML data into an XMLDB using the methods shown in [Operation 1] or [Operation 2].





[Operation 2]
After validating against the following [DTD], insert XML data (having no validation errors) into the XMLDB (do not consider the existence of a document type declaration in the XML data).
When the b element value is "null", the value of the b element is null.
When the b element value is a character string other than "null", the b element value is 1 in [XML Data b Element].
When the b element is an empty element, the b element value is 2 in [XML Data b Element].
[DTD]
<!ELEMENT example (data+)>
<!ELEMENT data (a?, b?, c?)>
<!ELEMENT a (#PCDATA)>
<!ELEMENT b (#PCDATA)>
<!ELEMENT c (#PCDATA)>

  1. Under the method described in [Operation 1], the three possibilities may not be clearly identified in some circumstances
  2. Under the method described in [Operation 2], the three possibilities may not be clearly identified in some circumstances
  3. The methods in [Operation 1] and [Operation 2] can clearly identify the three possibilities
  4. The methods in [Operation 1] and [Operation 2] cannot clearly identify the three possibilities

Answer(s): B



Select from choices A through C the answer that is included in the result element as the result of executing the [XQuery] on [example.xml] referenced in a separate window. (multiple answers possible) For example, select only "B" if the child element of the result element is "B" only.


  1. <person name="John Smith">
    <favorite item="color">blue</favorite>
    <favorite item="color">red</favorite>
    <favorite item-'pet">dog</favorite>
    </person>
  2. <person name="Harold Jones">
    <favorite item="color">yellow</favorite>
    <favorite item="color">red</favorite>

    <favorite item="fruit''>orange</favorite>
    </person>
  3. <person name="Nancy Williams">
    <favorite item="color">yellow</favorite>
    <favorite item="color">pink</favorite>
    <favorite item="color">light blue</favorite>
    </person>
  4. The result element is an empty element

Answer(s): B



Select the correct result of executing the following [XQuery] on [example xml] referenced in a separate window.
[XQuery]
<result>{
for $record in fn:doc("example.xml")/example/record return
<record>{ fn:data($record/data) }</record>
}</result>

  1. <result>
    <record>50</record>
    <record>60</record>
    </result>
  2. <result>
    <record>5080250</record>
    <record>6090150</record>
    </result>
  3. <result>

    <record>50 80 250</record>
    <record>60 90 150</record>
    </result>
  4. An error occurs

Answer(s): C






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

I10-003 Exam Discussions & Posts