Exam 12: Validating an XML Document

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

Any attribute that has been declared by the data type ID is a candidate for an ID ____.

(Multiple Choice)
4.8/5
(31)

A(n)____ is a collection of rules that define the content and structure of an XML document.

(Multiple Choice)
4.7/5
(49)

To create a parsed entity that references content from an external file using a system ____, you use the declaration <!ENTITY entity SYSTEM ? "uri? ">.

(Multiple Choice)
4.8/5
(37)

Used in conjunction with an XML parser that supports data validation, a DTD can be used to accomplish what?

(Essay)
4.9/5
(43)

An attribute declared using the NAME token must have a value equal to the value of an ID attribute located somewhere in the same document._________________________

(True/False)
4.9/5
(34)

Attribute-list declarations can be located anywhere within the document type declaration.

(True/False)
4.8/5
(39)

If a processor encounters more than one declaration for the same attribute, it ignores the first statement._________________________

(True/False)
4.9/5
(37)

Identify the letter of the choice that best matches the phrase or definition. -Most standard vocabularies make these available online for inspection

(Multiple Choice)
4.8/5
(36)

The content-model value can be one of ____ specific keywords or one of two content descriptions.

(Multiple Choice)
4.9/5
(38)

What are the five possible values for "content-model" in the element declaration?

(Essay)
4.9/5
(36)

Identify the letter of the choice that best matches the phrase or definition. -Interpreted by XML parsers as a reference to another entity

(Multiple Choice)
4.7/5
(42)

____________________ is ignored within a comment, so you can spread comment text over several lines without affecting DTD code.

(Short Answer)
4.8/5
(37)

____________________ content allows an element to contain both parsed character data and child elements.

(Short Answer)
4.8/5
(35)

The ____ value for the content model in an element declaration means the element can contain only parsed character data.

(Multiple Choice)
4.8/5
(34)

Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types. -Finally, you help Rosalind write the declaration of an attribute named "credits" of an element named "course." This optional attribute should contain character data, and a value of 4 should be used if an attribute value is not specified.Which of the following is an appropriate declaration of this attribute?

(Multiple Choice)
4.8/5
(36)

While very flexible, elements with ____ content do not add much defined structure to a document.

(Multiple Choice)
4.8/5
(36)

A DTD can be used to enforce a specific data structure on document content._________________________

(True/False)
4.8/5
(38)

Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types. -You help Rosalind write the declaration of the "semester" attribute described in the previous problem.Which of the following is an appropriate declaration for this attribute?

(Multiple Choice)
4.8/5
(34)

To test for validity, an XML parser must be able to compare the XML document with the rules established in the DTD.

(True/False)
4.8/5
(33)

  -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)
4.9/5
(35)
Showing 41 - 60 of 100
close modal

Filters

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