Exam 12: Validating an XML Document

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

The ____ symbol is used for inserting parameter entities.

(Multiple Choice)
4.9/5
(34)

An element declaration can specify which of the following?

(Multiple Choice)
4.9/5
(39)

A(n)____________________ content model is a list of child elements that follow a defined order.

(Short Answer)
4.8/5
(39)

The NMTOKEN data types cannot contain ____.

(Multiple Choice)
5.0/5
(33)

  -An element declaration employing the #PCDATA content model shown in the accompanying figure does not allow for <u>child</u> elements._________________________ -An element declaration employing the #PCDATA content model shown in the accompanying figure does not allow for child elements._________________________

(True/False)
4.7/5
(37)

Identify the letter of the choice that best matches the phrase or definition. -References content that is either nontextual or that cannot be interpreted by an XML parser

(Multiple Choice)
4.9/5
(38)

  -As shown in the accompanying figure, the external subset would define some basic rules for all of the documents, and the internal subset would define rules that are specific to each document. -As shown in the accompanying figure, the external subset would define some basic rules for all of the documents, and the internal subset would define rules that are specific to each document.

(True/False)
4.9/5
(36)

Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types. -Rosalind wants to declare a "coursenum" attribute, the values of which will be unique within the document.Which attribute type should she use?

(Multiple Choice)
4.8/5
(35)

Because a DTD is not written in the XML language, XML ____________________ must support the syntax and language requirements needed to interpret DTD code.

(Short Answer)
4.7/5
(39)

Identify the letter of the choice that best matches the phrase or definition. -Enables you to divide a DTD into two parts: one interpreted by parsers, and one containing declarations that parsers ignore

(Multiple Choice)
4.8/5
(34)

The ____ value for the content model in an element declaration means an element cannot store any content.

(Multiple Choice)
4.8/5
(39)

Generally, elements contain parsed character data or child elements.

(True/False)
4.9/5
(33)

For a DTD to validate either binary data, such as images or video clips, or character data that is not well formed, you need to work with parsed entities.

(True/False)
4.8/5
(37)

Which of the following is a type of identifier for the location of an external subset like the one in the accompanying figure?

(Multiple Choice)
4.8/5
(30)

Entities can reference content found either in an external file or within the DTD itself.

(True/False)
4.8/5
(30)

Case 12-1 Casey is using XML to store information about the students in the science classes that he teaches. He wants to design a DTD that he can use to validate the XML documents that he uses for this purpose, and he comes to you for help. -You tell Casey that he must declare the DTD using a DOCTYPE statement.Where should the DOCTYPE go?

(Multiple Choice)
4.8/5
(33)

An entity whose content is found within the DTD is known as a(n) external entity _________________________

(True/False)
4.9/5
(30)

An element ____ declaration specifies an element's name and indicates what kind of content the element can contain.

(Multiple Choice)
4.8/5
(35)

Content referenced by an entity can be either ____.

(Multiple Choice)
4.8/5
(26)

Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types. -You tell Rosalind about the CDATA attribute type.Which of the following attribute values would NOT be allowed for an attribute of this type?

(Multiple Choice)
4.9/5
(43)
Showing 61 - 80 of 100
close modal

Filters

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