Basic HTML version of Foils prepared August 1 99

Foil 25 Valid and Well-Formed XML Documents

From Advanced XML and its applications CPS714 Computational Science Information Track -- July 7 99. by Lukasz Beca


Well-formed document:
  • contains one or more elements
  • there is precisely one element (the root) for which neither the start nor the end tag is inside any other element
  • all other tags nest within each other correctly
Valid document: document complies with DTD
  • content model validity: order and nesting
  • data type validity: correct type and other constraints satisfaction e.g. value range



© 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 Sun Aug 1 1999