Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] FAQ versus Tutorial on validating against a schema

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Jon Steelman <jon.steelman AT gmail.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] FAQ versus Tutorial on validating against a schema
  • Date: Thu, 07 Apr 2005 14:36:59 -0400

Jon Steelman wrote:
Item #10 in the FAQ ( http://www.xom.nu/faq.xhtml ) shows how to
validate against a schema, but the approach is different than that in
the XOM Tutorial ( http://www.cafeconleche.org/XOM/tutorial.xhtml ).
Why are they different? Why does the FAQ state that "XOM does not have
built-in support for schema validation" but the Tutorial uses the
Builder(boolean validate) constructor which seems to indicate built-in
support for validation.?



In an XML context the unqualified word "validation" refers to validation against a DTD, not validation against a W3C XML schema language schema. Normally XOM can validate against DTDs just fine.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page