Exam 12: Validating an XML Document

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

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

(Short Answer)
4.9/5
(38)

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. -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.7/5
(36)

  -The DOCTYPE declaration has to be added to a document <u>epilog</u> as shown in the accompanying figure._________________________ -The DOCTYPE declaration has to be added to a document epilog as shown in the accompanying figure._________________________

(True/False)
4.8/5
(37)

The attributes of the attribute value type ____ contain an accepted XML name.

(Multiple Choice)
4.8/5
(32)

You can divide a DTD into ____ parts.

(Multiple Choice)
4.9/5
(37)

Once an ID value has been declared in a document, other attribute values can refer to it using the ____ token.

(Multiple Choice)
4.8/5
(40)

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. -Casey next wants to write a declaration for an element named "advanced" that he will use to record the fact that a student is advanced.This element will not contain any content.Which of the following is an appropriate element declaration for this element?

(Multiple Choice)
4.8/5
(35)

One way to create a valid document is to design a(n)____ for the document.

(Multiple Choice)
4.8/5
(39)

  -The DOCTYPE declaration has to be added to the document ____, after the XML declaration and before the document's root element, as shown in the accompanying figure. -The DOCTYPE declaration has to be added to the document ____, after the XML declaration and before the document's root element, as shown in the accompanying figure.

(Multiple Choice)
4.8/5
(31)

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

(Multiple Choice)
4.9/5
(37)

An entity that references content that cannot be interpreted by the XML parser is a(n)____ entity.

(Multiple Choice)
4.9/5
(47)

An XML element is not limited to either parsed character data or child elements.

(True/False)
4.8/5
(44)

Attribute values do not allow you to control the format of the character data.

(True/False)
4.8/5
(37)

Identify the letter of the choice that best matches the phrase or definition. -Includes its content in the DTD

(Multiple Choice)
4.9/5
(45)

Identify the letter of the choice that best matches the phrase or definition. -Used when you want to insert content into a DTD itself

(Multiple Choice)
4.9/5
(40)

Rosalind wants to add attribute declarations to her DTD, and she turns to you for information about the possible attribute types. -External DTDs work the same way as ____ style sheets.

(Multiple Choice)
4.9/5
(38)

A(n) notation must supply a name for the data type and provide clues about how applications should handle the data._________________________

(True/False)
4.8/5
(36)

In a(n)____________________ subset, the declarations are placed in an external file that is accessed from the XML document.

(Short Answer)
5.0/5
(39)

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

(Short Answer)
4.7/5
(41)

Element names can contain which of the following?

(Multiple Choice)
4.8/5
(35)
Showing 81 - 100 of 100
close modal

Filters

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