Section 1

Preview this deck

What is the main deficiency of HTML?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (36)

Section 1

(36 cards)

What is the main deficiency of HTML?

Front

An HTML user is restricted to use that set of tags and attributes.

Back

What is the syntactic form of an internal DTD? [Note, an internal DTD can be used just to define entities when there is no external DTD.]

Front

<!DOCTYPE root_name [ DTD for ... ] >

Back

What are the meanings of the modifiers (+, *, and ?) that can be used in element declarations?

Front

+ One or more occurrences * Zero or more occurrences ? Zero or one occurrences

Back

What is the difference between the sequence and all schema elements?

Front

sequence -an ordered group of elements all -elements are an unordered group.

Back

What is the purpose of an NDATA entity declaration?

Front

specifies that the entity value is not to be parsed.

Back

What is the goal of XML?

Front

To provide a framework for defining specialized markup languages

Back

What is SOAP?

Front

SOAP is an XML tag set that defines the forms of messages and Remote Procedure Call (RPC).

Back

What are the four possible parts of an attribute declaration in a DTD?

Front

Name of element to which the attribute belongs Attribute's name Type Default option

Back

What does the select attribute of the value-of element do?

Front

Specifies the element of the XML doc whose contents are to be copied to the XSL doc.

Back

What are the two primary advantages of XML schemas over DTDs?

Front

The XML Schema standard,... ...more control over data types...

Back

What are the two ways to define entities when using an XML schema?

Front

collection of tags or a vocabulary

Back

Explain the three types that can be used to describe data in the element declaration.

Front

PCDATA - parsable character data EMPTY - element has no content - I.e. HTML img element ANY - may contain literally any content

Back

Describe the meanings of the default attribute values #REQUIRED and #IMPLIED.

Front

#REQUIRED: No default value is given; every instance of the element must specify a value #IMPLIED: No default value is given (the browser chooses the default value; the value may or may not be specified in an element.)

Back

How does an XML parser handle binary entities?

Front

Binary entities can only be referenced in the document entities (XML is all text!)

Back

What is the goal of HTML?

Front

Provide some guidance as to how the layout should be displayed.

Back

What is the markup vocabulary of a markup language?

Front

Collection of all of the element types and attribute names of a markup language

Back

What is the purpose of a character data section?

Front

The content of a character data section is not parsed by the XML parser, so any tags it may include are not recognized as tags. This makes it possible to include special markup delimiter characters directly in the section without using their entity references. <! [CDATA [ content ] ] >

Back

Explain the ultimate goal of Web services?

Front

To provide the technologies to allow software in different places, written in different languages and resident on different platforms, to connect and interoperate.

Back

Why do some special characters have predefined entity references?

Front

To allow characters that are normally used as markup delimiters to appear as themselves in a doc...XML includes the entities that are predefined for HTML."

Back

What is a template element of an XSLT style sheet?

Front

specifies what is to be placed in the output doc - rules for the output

Back

How does the XML parser distinguish between a general entity and a parameter entity?

Front

When the optional percent sign (%) is present in an entity declaration, it specifies that the entity is a parameter entity rather than a general entity.

Back

Define local and global declarations in an XML schema.

Front

local- appears inside an element that is a child of the schema element global- appears as a child of the schema element

Back

What is an XML namespace?

Front

a collection of elements and attribute names used in XML docs

Back

Why should a document be broken into multiple entities?

Front

It makes the data more manageable.

Back

What is the difference between general and parameter entities?

Front

General entities - entities can be defined so that they can be referenced anywhere in the content of the XML doc. Parameter entities - entities can be defined so that they can be referenced only in DTDs

Back

What is a binary entity?

Front

information that cannot be represented as text, such as images

Back

What is a document entity?

Front

logically related collections of information

Back

Under what circumstances are attributes better than nested tags?

Front

To identify numbers or names of elements- just like the id and name attributes are used in HTML

Back

What is the purpose of a DTD?

Front

Specify what elements and attributes can appear in a doc and where they may appear.

Back

What are the four possible keywords in a DTD declaration?

Front

ELEMENT ATTLIST ENTITY NOTATION

Back

Under what circumstances are nested tags better than attributes.

Front

A nested element should be used if the data is subdata of the parent element's content rather than information about the data of the parent element

Back

Why is it better to find an error in the document type definition (DTD) before DTD is used?

Front

all docs that use the DTD must be tested against it.

Back

What are the two primary tasks of validating XML?

Front

Help insure the code is well formed. To ensure the documents conform to the structure specified in the DTD's

Back

What is produced by a DOM parser?

Front

A hierarchical syntactic structure of the doc.

Back

What does the key word SYSTEM specify in an entity declaration?

Front

the definition of the entity is in a different file

Back

Is XML more closely related to SGML or HTML?

Front

Standard General Markup Language (SGML).

Back