XML I10-002 Exam - Topic 8 Question 93 Discussion
Push the Exhibit Button to load the referenced "XML Document".[XML Document]Choose the XML Schema Document that does not correctly define the structure of the "XML Document".
C) <xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='urn:xmlmaster:testml' >
<xs:element name='TestML' type=' testmlType ' />
<xs:complexType name='testmlType'>
<xs:sequence>
<xs:element ref=' record ' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
<xs:element name='record' type=' recordType ' />
<xs:complexType name='recordType'>
<xs:attribute name='level' type='xs:int' />
<xs:attribute name='data' type='xs:int' />
</xs:complexType>
</xs:schema>
A) <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>
B) <xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='urn:xmlmaster:testml'
xmlns='urn:xmlmaster:testml' >
<xs:element name='TestML' type=' testmlType ' />
<xs:complexType name='testmlType'>
<xs:sequence>
<xs:element ref=' record ' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
<xs:element name='record' type=' recordType ' />
<xs:complexType name='recordType'>
<xs:attribute name='level' type='xs:int' />
<xs:attribute name='data' type='xs:int' />
</xs:complexType>
</xs:schema>
D) <schema
xmlns='http://www.w3.org/2001/XMLSchema'
targetNamespace='urn:xmlmaster:testml'
xmlns:tns='urn:xmlmaster:testml'>
<element name='TestML' type='tns:testmlType' />
<complexType name='testmlType'>
<sequence>
<element ref='tns:record' maxOccurs='unbounded' />
</sequence>
</complexType>
<element name='record' type='tns:recordType' />
<complexType name='recordType'>
</complexType>
</schema>
Edmond
5 months agoJade
6 months agoCelestina
6 months agoNana
6 months agoDerrick
6 months agoLenita
6 months agoLacey
7 months agoShawna
7 months agoNiesha
7 months agoAlica
7 months agoEzekiel
8 months agoMartina
8 months agoDesiree
8 months agoJarod
8 months agoAshley
10 months agoRosita
9 months agoElina
10 months agoDeonna
10 months agoDomingo
10 months agoDesmond
11 months agoMitsue
11 months agoCorrinne
11 months agoEarleen
10 months agoQuiana
10 months agoDeane
10 months agoCathrine
10 months agoDacia
11 months ago