Exam 2: Validating an Xml Document

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

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

Free
(True/False)
4.8/5
(37)
Correct Answer:
Verified

False

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

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

A

The declaration _____ would permit this element in an XML document: <name>Lea Ziegler</name> .

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

D

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

(Short Answer)
4.8/5
(38)

Case 2-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.9/5
(43)

The _____ symbol is used for inserting parameter entities.

(Multiple Choice)
4.7/5
(36)

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

(Multiple Choice)
4.9/5
(34)

Attributes that are limited to a set of possible values are known as _____  types.

(Short Answer)
4.9/5
(35)

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

(Essay)
4.8/5
(50)

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

(Multiple Choice)
4.8/5
(39)

A(n) _____  associates the value of an attribute with a <!NOTATION> declaration that is inserted elsewhere in the DTD.

(Short Answer)
4.9/5
(26)

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

(Multiple Choice)
4.8/5
(31)

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

(Multiple Choice)
4.9/5
(29)

Case 2-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. -Casey needs to declare an "address" element that can be used to store a student's address. If he intends to store the address as parsed character data, which of the following is an appropriate declaration for this element?

(Multiple Choice)
5.0/5
(39)

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

(Short Answer)
4.7/5
(29)

Case 2-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. -After you teach Casey about declarations for elements with child elements, he constructs the element declaration <!ELEMENT class ((seminar | lesson | workshop) , time?) > . Given this declaration, which of the following is NOT a valid "class" element?

(Multiple Choice)
4.8/5
(38)

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

(Short Answer)
4.9/5
(35)

Element names can contain which of the following?

(Multiple Choice)
4.8/5
(40)

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

(True/False)
4.8/5
(43)

Most standard XML vocabularies have _____ identifiers.

(Multiple Choice)
4.7/5
(40)
Showing 1 - 20 of 91
close modal

Filters

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