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>...
ab12 0%
abcd4 0%
xyZ4 0%
abc 0%
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....
xmlns:xs="http://www.w3.org/2001/XMLSchema" 0%
targetNamespace="http://www.expertrating.com" 0%
xmlns="http://www.expertrating.com" 0%
elementFormDefault="qualified" 0%
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...
Each person element must contain a full_name element. 0%
Each persons element must contain a full_name element. 0%
Each person element can contain a maximum of 5 child_name elements. 0%
The persons root element can contain an unlimited number of persons element. 0%
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?
It identifies the XML Schema Definition Language in general. 0%
It identifies the language described in the N-th version of the XSD specification. 0%
It identifies the language described in the N-th edition of the XSD specification. 0%
None of the above 0%
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...
The value assigned to the schemaLocation attribute is in the wrong format. 0%
The XML Schema Instance Namespace is not specified. 0%
A <head> tag must be present. 0%
There is no problem with this XML document. 0%
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...
<customer> <name>John Smith</name> </customer> 0%
<navn> <kunde>John Smith</kunde> </navn> 0%
<customer> <navn>John Smith</navn> </customer> 0%
<kunde> <name>John Smith</name> </kunde> 0%
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?
Hours 0%
Minutes 0%
Seconds 0%
In which of the following model groups of an XML schema do the element information items match one or more of the particles?
Sequence 0%
Disjunction 0%
Conjunction 0%
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?
enumeration 0%
pattern 0%
length 0%
fractionDigits 0%
The elements of an XML schema containing only text and attributes are declared using the________ element.
<xs:contentType> 0%
<xs:simpleContent> 0%
<xs:complexContent> 0%
<xs:type> 0%
The maximum number of decimal digits that you can specify using the decimal data type in an XML schema is ________.
10 0%
15 0%
16 0%
18 0%
20 0%
What is the default value of the <minOccurs> indicator for Order and Group indicators?
No default value 0%
0 0%
1 0%
unbound 0%
What value of <maxOccurs> indicator can you set when using the <all> indicator in an XML schema?
0 0%
1 0%
unbound 0%
No limit 0%
Which of the following are binary data types in an XML schema?
binary 0%
hexBinary 0%
base32Binary 0%
base64Binary 0%
Which of the following are built-in data types of an XML schema?
xs:string 0%
xs:number 0%
xs:boolean 0%
xs:float 0%
xs:date 0%
Which of the following are declaration components in an XML schema?
Element 0%
Datatype 0%
Model 0%
Notation 0%
Which of the following are primary schema components?
Attribute declarations 0%
Assertions 0%
Particles 0%
Complex type definitions 0%
Which of the following are the correct ways to define an empty complex element in an XML schema?
<xs:element name="product"> <xs:complexType> <xs:complexContent> <xs:restriction base="xs:integer"> <xs:attribute name="prodid" type="xs:positiveInteger"/> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:element> 0%
<xs:element name="product"> <xs:complexType> <xs:attribute name="prodid" type="xs:positiveInteger"/> </xs:complexType> </xs:element> 0%
<xs:element name="product"/> <xs:complexType> <xs:attribute name="prodid" type="xs:positiveInteger"/> </xs:complexType> 0%
<xs:element name="product"/> <xs:complexType> <xs:sequence> <xs:element name="prodname" type="xs:string"/> </xs:sequence> </xs:complexType> 0%
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?
type 0%
value 0%
name 0%
base 0%
Which of the following attributes is defined inside the <xs:extension> element of an XML schema?
value 0%
type 0%
name 0%
base 0%
Which of the following attributes is used to specify that a schema attribute is required?
variable 0%
fixed 0%
use 0%
default 0%
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?
mixed 0%
type 0%
base 0%
value 0%
Which of the following constraints can be used by a boolean data type?
enumeration 0%
pattern 0%
minInclusive 0%
length 0%
Which of the following data types are derived from the decimal data type?
float 0%
int 0%
int32 0%
double 0%
Which of the following data types are derived from the String data type?
boolean 0%
ID 0%
NCname 0%
anyURI 0%
Qname 0%
Which of the following elements can only be included in the <annotation> element in an XML schema?
<appInfo> 0%
<notation> 0%
<documentation> 0%
<choice> 0%
Which of the following elements is used to add multiple schemas with the same target namespace to a document?
<annotation> 0%
<import> 0%
<extension> 0%
<include> 0%
Which of the following elements is used to allow documents to contain additional elements that are not declared in the main XML schema?
<any> 0%
<all> 0%
<choice> 0%
<sequence> 0%
Which of the following is a helper schema component?
Notation declarations 0%
Simple type definitions 0%
Type alternatives 0%
Wildcards 0%
Which of the following is a secondary schema component?
Attribute declarations 0%
Assertions 0%
Annotations 0%
Particles 0%
Which of the following is the correct format for specifying the date in an XML schema?
YYYY-MM-DD 0%
DD-MM-YYYY 0%
DD-MM-YY 0%
MM-DD-YYYY 0%
Which of the following is the correct format for specifying the date in UTC?
<start>09-24-2009Z</start> 0%
<start>2002-09-24Z</start> 0%
<start>2002-09-24</start> 0%
<start>09-24-2009</start> 0%
Which of the following is the correct format for specifying the time interval using the XSD duration data type?
PYnMnDnTHnMnSn 0%
PMnDnYnTHnMnSn 0%
PnMnDnYTnHnMnS 0%
PnYnMnDTnHnMnS 0%
Which of the following is the correct syntax for defining restrictions on an XML element value in an XML schema?
<xs:restriction type="xs:integer"> 0%
<xs:restriction value="xs:integer"> 0%
<xs:restriction base="xs:integer"> 0%
<xs:restriction data="xs:integer"> 0%
Which of the following is used to replace spaces in a URI while using anyURI data type in an XML schema?
"%20%" 0%
%20% 0%
%20 0%
20% 0%
Which of the following restrictions can be used with the date data types?
enumeration 0%
fractionDigits 0%
totalDigits 0%
pattern 0%
Which of the following restrictions cannot be used with the ENTITIES String data type?
length 0%
enumeration 0%
pattern 0%
whiteSpace 0%
Which of the following statements is true about an XML representation of Attribute declarations in an XML schema?
If the targetNamespace attribute is present, the name attribute should be present. 0%
If the targetNamespace attribute is present, the form attribute should be present. 0%
If an item's parent is not <schema>, both ref and name must be present. 0%
If both fixed and use are present, use must have the optional value as prohibited. 0%
Which of the following statements is true if default and use both are present in an XML representation of an Attribute declaration?
The actual value of use must be prohibited. 0%
The actual value of use must be optional. 0%
The actual value of use must be required. 0%
The actual value of use must be default. 0%
Which of the following type definitions forms the root of the Type Definition Hierarchy?
xs:error 0%
xs:anyType 0%
xs:nil 0%
xs:location 0%
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?
D{abstract}=false 0%
D{nillable}=true 0%
If E has an xsi:nil=true. 0%
D is not absent and E and D have the same expanded name. 0%
Which of the following whiteSpace constraint values makes an XML processor reduce multiple spaces into a single space?
preserve 0%
replace 0%
collapse 0%
remove 0%