XML Schema Test
Analyze the following example: <xs:element name="letter"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="([a-z])*"/> </xs:restriction> </xs:simpleType> </xs...
Analyze the following example: <xs:element name="letter"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="([a-z][A-Z])+"/> </xs:restriction> </xs:simpleType>...
Analyze the following example: <xs:element name="password"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z]{4}"/> </xs:restriction> </xs:simpleType>...
Analyze the following schema declaration: <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.expertrating.com" xmlns="http://www.expertrating....
Analyze the following schema file "family.xsd": <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="persons"> <xs:compl...
Analyze the following URI of an XML schema: http://www.w3.org/XML/XMLSchema/vX.Y/Ne What does the component Ne in the above URI identify?
Analyze the following XML document having a reference to an XML schema: <?xml version="1.0"?> <note xmlns="http://www.expertrating.com" xsi:schemaLocation="http://www.expertrating.com note.xsd"> <t...
Analyze the following XML schema fragment: <xs:element name="name" type="xs:string" block="substitution"/> <xs:element name="navn" substitutionGroup="name"/> <xs:complexType name="custinfo"> <xs...
Following is an example of an element in an XML document using a time declaration in its schema definition: <start>03:05:10.5</start> Which of the following does the component 10.5 specify?
In which of the following model groups of an XML schema do the element information items match one or more of the particles?
Suppose you want to limit the content of an XML element called "car" to a set of acceptable values like BMW, Audi etc. Which of the following constraints will you use in the above situation?
The elements of an XML schema containing only text and attributes are declared using the________ element.
The maximum number of decimal digits that you can specify using the decimal data type in an XML schema is ________.
What is the default value of the <minOccurs> indicator for Order and Group indicators?
What value of <maxOccurs> indicator can you set when using the <all> indicator in an XML schema?
Which of the following are binary data types in an XML schema?
Which of the following are built-in data types of an XML schema?
Which of the following are declaration components in an XML schema?
Which of the following are primary schema components?
Which of the following are the correct ways to define an empty complex element in an XML schema?
Which of the following attributes can be specified in the <xs:complexType> element of an XML schema so as to allow several elements to refer to the same complex type?
Which of the following attributes is defined inside the <xs:extension> element of an XML schema?
Which of the following attributes is used to specify that a schema attribute is required?
Which of the following attributes must be set to true to enable character data to appear between the child-elements of an element in an XML schema?
Which of the following constraints can be used by a boolean data type?
Which of the following data types are derived from the decimal data type?
Which of the following data types are derived from the String data type?
Which of the following elements can only be included in the <annotation> element in an XML schema?
Which of the following elements is used to add multiple schemas with the same target namespace to a document?
Which of the following elements is used to allow documents to contain additional elements that are not declared in the main XML schema?
Which of the following is a helper schema component?
Which of the following is a secondary schema component?
Which of the following is the correct format for specifying the date in an XML schema?
Which of the following is the correct format for specifying the date in UTC?
Which of the following is the correct format for specifying the time interval using the XSD duration data type?
Which of the following is the correct syntax for defining restrictions on an XML element value in an XML schema?
Which of the following is used to replace spaces in a URI while using anyURI data type in an XML schema?
Which of the following restrictions can be used with the date data types?
Which of the following restrictions cannot be used with the ENTITIES String data type?
Which of the following statements is true about an XML representation of Attribute declarations in an XML schema?
Which of the following statements is true if default and use both are present in an XML representation of an Attribute declaration?
Which of the following type definitions forms the root of the Type Definition Hierarchy?
Which of the following validation rules must be true of an element information item E to be locally valid(Simple Type) with respect to an element declaration D?
Which of the following whiteSpace constraint values makes an XML processor reduce multiple spaces into a single space?