Which two elements use the long type that is defined in the http://www.w3.org/2001/XMLSchema namespace?

A developer is creating an XML schema that is Basic Profile compliant, and has elements that require long integer values.
Given the code:
<Schema targetNamespace="http://sun.cert/types"
xmlns:ns0="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://sun.cert/xsdTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<complexType name="Foo">
<sequence>
<!– insert code here –>
</sequence>
</complexType>
</schema>
Assuming that no other namespace declarations exist, which two elements use the long type that is defined in the http://www.w3.org/2001/XMLSchema namespace? (Choose two.)
A. <element name="length" type="long"/>
B. <element name="length type="xsi:long"/>
C. <element name="length" type="xsd:long"/>
D. <element name="length" type="ns0:long"/>
E. <element name="length" type="integer"/>
F. <element name="length" type="xsd:integer"/>

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.