Exam 2: Validating an Xml Document

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

Which of the following is accomplished by an attribute-list declaration?

(Multiple Choice)
4.8/5
(43)

The syntax for creating a conditional section is _____.

(Multiple Choice)
4.8/5
(40)

The attributes of the attribute value type _____ contain a list of entities separated by white space.

(Multiple Choice)
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. -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
(42)

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 wants to include a declaration for an element named "note" that can contain any type of content. Which of the following is an appropriate element declaration for this element?

(Multiple Choice)
4.8/5
(41)

   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) _____ .

(Short Answer)
4.8/5
(30)

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

(Short Answer)
4.8/5
(36)

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

(Multiple Choice)
4.9/5
(46)

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

(True/False)
5.0/5
(34)

In a DTD, a _____ symbol specifies the number of occurrences of each element.

(Multiple Choice)
4.8/5
(43)

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

(True/False)
4.9/5
(41)

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

(True/False)
4.9/5
(40)

  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)

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

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
(38)

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

(Multiple Choice)
4.9/5
(35)

DTDs use more general numbering with a(n) _____  symbol, which specifies the number of occurrences of each element.

(Short Answer)
4.7/5
(37)

What are the limitations of mixed content elements? Under what circumstances should you not use them?

(Essay)
4.9/5
(44)

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)
5.0/5
(41)

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
(26)
Showing 21 - 40 of 91
close modal

Filters

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