站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > The J2EE 1.4 Tutorial

Summary - The J2EE 1.4 Tutorial

Summary

Congratulations! You have now created a number of XML files that you can use for testing purposes. Table 2-5 describes the files you have constructed.

Table 2-5 Listing of Sample XML Files
File
Contents
slideSample01.xml
A basic file containing a few elements and attributes as well as comments.
slideSample02.xml
Includes a processing instruction.
SlideSampleBad1.xml
A file that is not well formed.
slideSample03.xml
Includes a simple entity reference (<).
slideSample04.xml
Contains a CDATA section.
slideSample05.xml
References either a simple external DTD for elements (slideshow1a.dtd) for use with a nonvalidating parser, or else a DTD that defines attributes (slideshow1b.dtd) for use with a validating parser.
slideSample06.xml
Defines two entities locally (product and products) and references slideshow1b.dtd.
slideSample07.xml
References an external entity defined locally (copyright.xml) and references slideshow1b.dtd.
slideSample08.xml
References xhtml.dtd using a parameter entity in slideshow2.dtd, producing a naming conflict because title is declared in both.
slideSample09.xml
Changes the title element to slide-title so that it can reference xhtml.dtd using a parameter entity in slideshow3.dtd without conflict.