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
7 months agoJade
7 months agoCelestina
7 months agoNana
8 months agoDerrick
8 months agoLenita
8 months agoLacey
8 months agoShawna
8 months agoNiesha
9 months agoAlica
9 months agoEzekiel
9 months agoMartina
9 months agoDesiree
9 months agoJarod
10 months agoAshley
11 months agoRosita
10 months agoElina
11 months agoDeonna
12 months agoDomingo
12 months agoDesmond
1 year agoMitsue
1 year agoCorrinne
1 year agoEarleen
12 months agoQuiana
12 months agoDeane
12 months agoCathrine
12 months agoDacia
1 year ago