Exam 12: Validating an XML Document

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

Identify the letter of the choice that best matches the phrase or definition. -Draws its content from an external file

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

C

  -A DOCTYPE declaration like the one in the accompanying figure is also known as a(n)____________________. -A DOCTYPE declaration like the one in the accompanying figure is also known as a(n)____________________.

Free
(Short Answer)
4.9/5
(32)
Correct Answer:
Verified

DTD
document type declaration
DTD (document type declaration)
document type declaration (DTD)

Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types. -Rosalind wants to define a required attribute called "semester" of an element named "course." She wants to ensure that this attribute takes on one of three values: fall, spring, or summer.Which type of attribute should she use?

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

B

When the ____ symbol is used with a choice list, the element can contain any number of occurrences of child elements or PCDATA, or it can contain no content at all.

(Multiple Choice)
4.9/5
(35)

The #FIXED attribute default is used to indicate that the use of an attribute is optional._________________________

(True/False)
4.8/5
(45)

____________________ types are character strings that follow certain rules for format and content.

(Short Answer)
4.9/5
(46)

XML parsers interpret the ____ symbol as a reference to another entity and attempt to resolve the reference.

(Multiple Choice)
4.8/5
(38)

A(n)____________________ specifies an element's name and indicates what kind of content it can contain.

(Short Answer)
4.8/5
(36)

  -Which of the following is a part into which a DTD like the one in the accompanying figure can be divided? -Which of the following is a part into which a DTD like the one in the accompanying figure can be divided?

(Multiple Choice)
5.0/5
(39)

Most standard XML vocabularies have ____ identifiers.

(Multiple Choice)
4.9/5
(34)

A(n)____________________ is added to the DOCTYPE declaration to provide information about the DTD to the XML parser.

(Short Answer)
4.9/5
(38)

One way to create a valid document is to design a document type definition, or DTD, for the document.

(True/False)
4.9/5
(40)

The ____ attribute default means that the attribute must appear with every occurrence of the element.

(Multiple Choice)
4.9/5
(35)

The locations of external subsets like that shown in the accompanying figure can be defined using ____ types of identifiers.

(Multiple Choice)
4.9/5
(32)

Identify the letter of the choice that best matches the phrase or definition. -This supplies a name for a data type and provides clues about how an application should handle the data

(Multiple Choice)
4.9/5
(31)

A DTD is entered into the document in a statement called a document ____ declaration.

(Multiple Choice)
4.8/5
(35)

A modifying symbol is placed directly before the element it modifies._________________________

(True/False)
4.8/5
(28)

The ____ content model allows an element to store any type of content.

(Multiple Choice)
4.8/5
(39)

In a valid document, at least two elements must be declared in the DTD.

(True/False)
4.8/5
(36)

It is best not to work with mixed content if you want a tightly structured document._________________________

(True/False)
5.0/5
(45)
Showing 1 - 20 of 100
close modal

Filters

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