Skip to Content
XQuery from the Experts: A Guide to the W3C XML Query Language
book

XQuery from the Experts: A Guide to the W3C XML Query Language

by Howard Katz - Editor, Don Chamberlin, Denise Draper, Mary Fernández, Michael Kay, Jonathan Robie, Michael Rys, Jérôme Siméon, Jim Tivy, Philip Wadler
August 2003
Intermediate to advanced
512 pages
11h 23m
English
Addison-Wesley Professional
Content preview from XQuery from the Experts: A Guide to the W3C XML Query Language

Validation Mode

XML is known as a semi-structured data format because it accommodates both valid and well-formed data. Valid data corresponds to a given schema (or DTD). Well-formed data is syntactically correct (all open tags have matching end tags), but is otherwise unconstrained.

XML Schema provides three modes of validation, to allow mixing of valid and well-formed data.

  1. strict requires that a declaration be available for the element, and the element must validate with respect to that declaration. The element is labeled with the declared type, as are all elements and attributes within the element.

  2. skip has no constraints; the element must simply be well formed. The element and all elements within it are labeled with type xs: anyType, and all ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Querying XML

Querying XML

Jim Melton, Stephen Buxton
XQuery Kick Start

XQuery Kick Start

James McGovern, Per Bothner, Kurt Cagle, James Linn, Vaidyanathan Nagarajan

Publisher Resources

ISBN: 0321180607Purchase book