|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Feature XML Certification Quizzer
XML Certification Quizzer
By: Joel Amoussou
Jul. 1, 2003 12:00 AM
In this month's "XML Certification Quizzer," we are going to review some interesting aspects of the syntax of XML and related technologies. You can learn more about the syntax of the language by running the sample code in the questions with an XML parser or an XSLT processor. The skills you'll learn here will prepare you for IBM Test 141 on XML and related technologies.
Question 1 (Information Modeling)
C.
">
Select one answer.
Choice B is not correct because in the internal subset of the document type declaration (the part delimited by [ and ]>), parameter entity references can occur only between markup declarations, not within markup declarations. Note that this well-formedness constraint is not applicable to parameter entity references in the external subset. Choice C is not correct because parameter entity references can be referenced only in the DTD, not in the XML instance. The parser will treat %ent; as just a string, not an entity reference.
Question 2 (XML Processing) Which of these SAX events will be reported by a nonvalidating parser in the order specified?
A. startDocument()
B. startDocument()
C. startDocument()
Select one answer.
Validating parsers report white space in element content using the ignorableWhiteSpace() method rather than the characters() method. Assume that the XML document has the following DTD:
Element a can only contain child elements b and c. A character inside element a (including white space characters) would make the document invalid. The white space before elements b and c would be called ignorable white space. If namespace processing is enabled by the parser, startPrefixMapping() and endPrefixMapping are used to report the start of the scope of a prefix-URI Namespace mapping and the end of the scope of a prefix-URI mapping, respectively.
Question 3 (Architecture)
A. EncryptionMethod
Select one answer.
The EncryptionMethod child element is optional and describes the encryption algorithm applied to the cipher data. The ds:KeyInfo child element is optional and contains information about the key used to encrypt the data. The CipherData child element is a mandatory element that contains the CipherValue or CipherReference. The CipherValue element contains the encrypted octet sequence as base64 encoded text. The CipherReference element provides a reference to an external location containing the encrypted octet. The EncryptionProperties child element is optional and contains additional information concerning the generation of the EncryptedData element. The following is an example of an encrypted medical record in which the content of the IllnessInfo element is encrypted:
Question 4 (Testing and Tuning)
A. import
Select one answer.
The redefined schema document must have the same targetNamespace as the redefining schema document, or no targetNamespace. If the redefined schema document has no targetNamespace, then it is converted to the redefining schema document's targetNamespace. Within the redefine element, the base types in type definitions must be the types themselves. Attribute groups and model groups are defined as supersets or subsets of their definitions in the redefined schema.
Question 5 (XML Rendering)
Using XSL formatting objects, which XSLT stylesheet would you use to transform the XML document for printed output?
A.
B.
C.
Select one answer.
Choice A is not correct because the XSL formatting object namespace is not declared. The
Choice C is not correct because element names tr and td are not defined by the XSL specification.
Conclusion Reader Feedback: Page 1 of 1
Your Feedback
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||