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