Basic HTML version of Foils prepared May 19 99

Foil 17 XML must be "well-formed"

From An Introduction to XML Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Nancy McCracken,Ozgur Balsoy, Tom Scavo


1 For the data contained in an XML document to be parsed correctly, its markup must be well-formed, meaning that properly nested and nonabbreviated starting and ending tags are used.
  • This well-formedness provides the encapsulation mechanism allowing designated sections of the data to be accessed programmatically.
  • It is important to remember that XML is a markup language, not a programming language
2 Scenario #1: the server offers the XML document without its DTD, the parser does a syntax check, and the DTD follows if the XML document is "well-formed"
3 Scenario #2: the server checks the XML document against its DTD ("validity") before sending the document to the client

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999