XML I10-003 Exam - Topic 1 Question 74 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
Enola
29 days agoBerry
1 month agoFlorencia
2 months agoFernanda
2 months agoIrma
2 months agoLaticia
2 months ago