XML I10-003 Exam - Topic 6 Question 11 Discussion
Assume that [testmixsd] (referenced in a separate window) has been 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 descnbes the new XML Schema Document?Assume that the XMLDB or XML parser correctly processes the XML Schema schema Location attribute.[XML Document] John Smith000-1111-2222
B) <xs:schema xmlns:xs='http://wvwv.w3.org/2001/XMLSchema'>
<xs:include schemaLocation='testmLxsd' />
<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) This type of definition cannot be created using XML Schema
Elenora
10 months agoJosephine
10 months agoGerald
10 months agoMattie
11 months agoMan
11 months agoDannie
11 months agoRoyal
11 months agoRolland
11 months agoEmerson
11 months agoYuonne
11 months agoNovella
11 months agoGail
11 months agoStephaine
11 months agoIzetta
11 months ago