Exam 3: Working With Basic Schemas

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

  The item indicated with the arrow in the accompanying figure is the XML Schema namespace _____ . The item indicated with the arrow in the accompanying figure is the XML Schema namespace _____ .

Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
Verified

C

The _____ value of the use attribute means that the attribute cannot be used with the element.

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

C

A(n) _____  data type, or base type, is one of the fundamental data types that are not defined in terms of other types.

Free
(Short Answer)
4.8/5
(33)
Correct Answer:
Verified

primitive

   The accompanying figure shows the xs:ID data type applied to the stuID attribute. The accompanying figure shows the xs:ID data type applied to the stuID attribute.

(True/False)
4.7/5
(35)

   Given the accompanying figure, because the ID data type is built into the XML Schema, all elements and attributes from the XML Schema vocabulary must be identified using the xs namespace prefix. Given the accompanying figure, because the ID data type is built into the XML Schema, all elements and attributes from the XML Schema vocabulary must be identified using the xs namespace prefix.

(True/False)
4.8/5
(37)

  As shown in the accompanying figure, examples of a(n) _____ type of content are the value of an attribute or the textual content of an element. As shown in the accompanying figure, examples of a(n) _____ type of content are the value of an attribute or the textual content of an element.

(Multiple Choice)
4.9/5
(41)

The _____ data type is a text string similar to the NMTOKEN data type, except that names must begin with a letter or the character " : " or " - ".

(Multiple Choice)
4.9/5
(35)

The _____ facet has three values: preserve , replace , and collapse .

(Multiple Choice)
4.8/5
(32)

A(n) _____  data type is created by a schema author for specific data values in an instance document.

(Short Answer)
4.9/5
(30)

  According to the data types defined in the accompanying figure, what is the form that the unique IDs must take? According to the data types defined in the accompanying figure, what is the form that the unique IDs must take?

(Multiple Choice)
4.8/5
(41)
Identify the letter of the choice that best matches the phrase or definition.
String data type for a text string containing valid XML names with no white space
xs:NMTOKEN
String data type for a value matching an unparsed entity defined in a DTD
facet
String data type for a text string in which blank spaces are replaced with a single blank space and opening and closing spaces are removed
xs:token
Correct Answer:
Verified
Premises:
Responses:
String data type for a text string containing valid XML names with no white space
xs:NMTOKEN
String data type for a value matching an unparsed entity defined in a DTD
facet
String data type for a text string in which blank spaces are replaced with a single blank space and opening and closing spaces are removed
xs:token
Data type, another name for which is the "base type"
complex type
Properties that distinguish one data type from another
compositor
Examples in XML Schema include sequence , choice , and all
schema
Content that contains two or more values placed within a defined structure
xs:NCName
An XML document that contains validation rules for an XML vocabulary
xs:ENTITY
An XML document to be validated by a schema
primitive
String data type derived from the Name data type, but restricting the use of colons anywhere in the name
instance document
(Matching)
4.8/5
(41)

A(n) _____  type contains a single value in XML Schema.

(Short Answer)
4.8/5
(38)

A schema is an XML document that contains validation rules for an XML vocabulary.

(True/False)
4.9/5
(41)

A(n) _____ complex type has no name attribute used in the opening <complexType> tag.

(Multiple Choice)
4.9/5
(29)

   The namespace prefix in the accompanying figure is xs . The namespace prefix in the accompanying figure is xs .

(True/False)
4.9/5
(41)

The _____ data type allows an element to contain any text string.

(Multiple Choice)
4.7/5
(32)

The _____  value of the use attribute means that the attribute must always appear with the element.

(Short Answer)
4.8/5
(36)

A _____ expression is a text string that defines a character pattern.

(Multiple Choice)
4.7/5
(32)

The _____ character type is a word character.

(Multiple Choice)
4.8/5
(37)

Case 3-1 Judy wants to be able to validate the XML documents that she uses for recipes. These documents include numeric elements that specify ingredient amounts and cooking times, so you recommend that she use a schema instead of a DTD, and you teach her some of the key facts about schemas. -You tell Judy that there are multiple vocabularies available for schema. Which of them is the most widely adopted?

(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 91
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)