XML I10-002 Exam - Topic 4 Question 16 Discussion
Push the Exhibit Button to load the referenced "testml.xsd". Assume that "testml.xsd" is defined. Without rewriting this XML Schema Document ("testml.xsd"), create a new, separate XML Schema Document to partially change the schema definition replacing the phone element with a cellPhone element. As a result, the following "XML Document" will be valid against the new schema. Which of the following correctly describes the new XML Schema Document?Assume that the XML parser correctly processes the XML Schema schemaLocation attribute.
B) <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:include schemaLocation='testml.xsd' />
<xs:element name='cellPhone' substitutionGroup='phone' type='xs:string' />
</xs:schema>
A) <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:import schemaLocation='testml.xsd' />
<xs:element name='cellPhone' type='xs:string' />
</xs:schema>
C) <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:redefine schemaLocation='testml.xsd'>
<xs:element name='cellPhone' base='phone' type='xs:string' />
</xs:redefine>
</xs:schema>
D) It is not possible to implement a function of the type proposed.
Annmarie
7 months agoGerald
7 months agoMarcelle
7 months agoFranklyn
8 months agoMaricela
8 months agoDean
8 months agoElin
8 months agoHailey
8 months agoIlene
8 months agoRaul
8 months agoKerry
8 months agoGlory
8 months ago