Home | Business News | Browse by Publication | X | XML Journal

XML Certification Quizzer: some interesting aspects of XML syntax. (Certification).

Publication: XML Journal
Publication Date: 01-JUL-03
Format: Online - approximately 1400 words
Delivery: Immediate Online Access

Article Excerpt
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 I (Information Modeling)

Which of the following XML documents is well-formed?

A. "> %ent; ]> B. ]> C. "> ]> %ent;

Select one answer.

Explanation: Choice A is the correct answer. The parameter entity reference %ent; is replaced with the element declaration for element b.

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

View this article FREE - Now for a Limited Time, try Goliath Business News
Free for 3 Days!



Looking for additional articles?
Search our database of over 3 million articles.

Looking for more in-depth information on this industry?
Search our complete database of Industry & Market reports by text, subject, publication name or publication date.

About Goliath
Whether you're looking for sales prospects, competitive information, company analysis or best practices in managing your organization, Goliath can help you meet your business needs.

Our extensive business information databases empower business professionals with both the breadth and depth of credible, authoritative information they need to support their business goals. Whether it be strategic planning, sales prospecting, company research or defining management best practices - Goliath is your leading source for accurate information.