Free I10-002 Exam Braindumps (page: 5)

Page 4 of 21

Push the Exhibit Button to load the referenced "XML Document". Choose the XML Schema Document that correctly defines the structure of "XML Document".

  1. <xs:schema xmlns:xs= " http://www.w3.org/2001/XMLSchema "
    targetNamespace= " urn:xmlmaster:testml "
    xmlns:tns= " urn:xmlmaster:testml " >
    <xs:element name= " TestML " type= " tns:testmlType " /> <xs:complexType name= " testmlType " >
    <xs:sequence>
    <xs:element ref= " tns:record " maxOccurs= " unbounded " /> </xs:sequence>
    </xs:complexType>
    <xs:element name= " record " type= " tns:recordType " /> <xs:complexType name= " recordType " >
    < xs:attribute name="level" type= " xs:int " />
    < xs:attribute name="data" type= " xs:int " />
    </xs:complexType>
    </xs:schema>
  2. <xs:schema xmlns:xs= " http://www.w3.org/2001/XMLSchema "
    targetNamespace= " urn:xmlmaster:testml "
    xmlns:tns= " urn:xmlmaster:testml " >
    <xs:element name= " TestML " type= " tns:testmlType " /> <xs:complexType name= " tns:testmlType " >
    <xs:sequence>
    <xs:element ref= " tns:record " maxOccurs= " unbounded " /> </xs:sequence>
    </xs:complexType>
    <xs:element name= " record " type= " tns:recordType " /> <xs:complexType name= " tns:recordType " >
    < xs:attribute ref="tns:level" />
    < xs:attribute ref="tns:data" />
    </xs:complexType>
    < xs:attribute name="tns:level" type= " xs:int " />
    < xs:attribute name="tns:data" type= " xs:int " />
    </xs:schema>
  3. <xs:schema xmlns:xs= " http://www.w3.org/2001/XMLSchema "
    targetNamespace= " urn:xmlmaster:testml "

    xmlns:tns= " urn:xmlmaster:testml " >
    <xs:element name= " TestML " type= " tns:testmlType " /> <xs:complexType name= " testmlType " >
    <xs:sequence>
    <xs:element ref= " tns:record " maxOccurs= " unbounded " /> </xs:sequence>
    </xs:complexType>
    <xs:element name= " record " type= " tns:recordType " /> <xs:complexType name= " recordType " >
    < xs:attribute ref="tns:level" />
    < xs:attribute ref="tns:data" />
    </xs:complexType>
    < xs:attribute name="level" type= " xs:int " />
    < xs:attribute name="data" type= " xs:int " />
    </xs:schema>
  4. <xs:schema xmlns:xs= " http://www.w3.org/2001/XMLSchema "
    targetNamespace= " urn:xmlmaster:testml "
    xmlns:tns= " urn:xmlmaster:testml " >
    <xs:element name= " TestML " >
    <xs:complexType>
    <xs:sequence>
    <xs:element name= " record " maxOccurs= " unbounded " > <xs:complexType>
    <xs:attribute name= " tns:level " type= " xs:int " /> <xs:attribute name= " tns:data " type= " xs:int " /> </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>

Answer(s): C



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 no Name space Schema Location attribute and the schema Location attribute.

  1. Valid
  2. The coding for the XML Schema Document is not appropriate; therefore, an error is thrown (initial error) when processing the "testml.xsd" import element
  3. The coding for the XML Schema Document is not appropriate; therefore, an error is thrown (initial error) when processing the "testml.xsd" "<xs:element ref="rec:record" maxOccurs="unbounded" />"
  4. No processing error, but is not valid.

Answer(s): A



Select which of the following DOM (Level 2) nodes does not hold a value (returns "null"). (Multiple answers possible. Select two.)

  1. Attr
  2. Comment
  3. Element
  4. Document

Answer(s): C,D



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.

  1. Valid
  2. The coding for the XML Schema Document is not appropriate; therefore, an error is thrown (initial error) when processing the "testml.xsd" include element
  3. The coding for the XML Schema Document is not appropriate; therefore, an error is thrown (initial error) when processing the "testml.xsd" "<xs:element ref="tns:record" maxOccurs="unbounded" />"
  4. No processing error, but is not valid.

Answer(s): A






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

I10-002 Exam Discussions & Posts