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
10 months agoGerald
10 months agoMarcelle
10 months agoFranklyn
11 months agoMaricela
11 months agoDean
11 months agoElin
11 months agoHailey
11 months agoIlene
11 months agoRaul
11 months agoKerry
11 months agoGlory
11 months ago