Cover Pages Logo SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic

XML: Sample XML documents

Note: The following announcement from January 1997 contains URLs for collections that subsequently have been updated. See http://www.ibiblio.org/bosak/ for references to the "XML examples" and other materials prepared by Jon Bosak.


Subject: Sample XML documents
Date: 4 Jan 1997 02:17:56 GMT
From: bosak@boethius.eng.sun.com (Jon Bosak)
Newsgroup: comp.text.sgml
----------------------------------------------------- For the benefit of anyone developing XML tools, I have uploaded two large document collections to the FTP site at sunsite.unc.edu: ftp://sunsite.unc.edu/pub/sun-info/standards/xml/eg/religion.1.01.xml.zip ftp://sunsite.unc.edu/pub/sun-info/standards/xml/eg/shakespeare.1.01.xml.zip These collections can also be downloaded using HTTP. The documents have relatively simple structures but are of a size that can give XML tools a good workout. The 1.01 release corrects some errors in 1.00 and also includes DTDs for validating the documents and for comparison with DTDs generated by XML structure analysers. Jon ---------------------------------------------------------------------- Jon Bosak, Online Information Technology Architect, Sun Microsystems ---------------------------------------------------------------------- 2550 Garcia Ave., MPK17-101, | Best is he that inuents, Mountain View, California 94043 | the next he that followes Davenport Group::SGML Open::ANSI X3V1 | forth and eekes out a good ::ISO/IEC JTC1/SC18/WG8::W3C SGML ERB | inuention. ---------------------------------------------------------------------- Subject: Re: Sample XML documents
Date: 8 Jan 1997 04:53:01 GMT
From: bosak@eng.sun.com (Jon Bosak)
Newsgroup: comp.text.sgml
--------------------------------------------- In a previous message I said: >For the benefit of anyone developing XML tools, I have uploaded two >large document collections to the FTP site at sunsite.unc.edu: > ftp://sunsite.unc.edu/pub/sun-info/standards/xml/eg/religion.1.01.xml.zip > ftp://sunsite.unc.edu/pub/sun-info/standards/xml/eg/shakespeare.1.01.xml.zip >These collections can also be downloaded using HTTP. Tim Bray has brought to my attention the fact that these files are not legal XML as they stand because they use PUBLIC identifiers to point to the DTD, and the current XML draft does not allow PUBLIC identifiers. My apologies for any confusion this may have caused. Since I am confidant that XML will allow PUBLIC identifiers before it achieves official status, I am going to be lazy and leave the files just as they are for the moment. Tim says that he has changed his Lark parser to handle the PUBLIC DTD identifiers, and my recommendation to other XML tools developers is that they do the same thing. If you wish to test against documents that are strictly compliant with the current XML draft, however, then you should change the first two lines of each file in the Religion collection to read as follows: <?XML version="1.0"?> <!DOCTYPE tstmt SYSTEM "tstmt.dtd"> And you should change the first two lines of each file in the Shakespeare collection to read as follows: <?XML version="1.0"?> <!DOCTYPE play SYSTEM "shaksper.dtd"> Jon

Prepared by Robin Cover for [what would later be named] The XML Cover Pages archive.


Globe Image

Document URL: http://xml.coverpages.org/xmlSamplesBosak.html