[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[Summary] Big hierarchy of XML Schema documents ... which XMLSchema vali

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Sat, 31 Jul 2010 13:50:37 -0400

[Summary] Big hierarchy of XML Schema documents ... which XMLSchema vali
Hi Folks,

Thanks to Michael Glavassevich, Michael Kay, and Boris Kolpackov for your excellent inputs.

Here's what I learned (please correct any errors):

Suppose that your XML Schema imports/includes some XML Schemas, and they import/include some XML Schemas, and so on. Thus, there is a big hierarchy of XML Schema documents.

When does a validator read the XML Schema documents? Here are two ways that XML Schema validators could be implemented:

1. Just-in-time loading (a.k.a. on-demand loading): the validator reads an XML Schema document during instance validation, when a component from the relevant namespace is first encountered.

2. Eager loading: all XML Schema documents are (recursively) read prior to validating the XML instance document.

The following XML Schema validators all use eager loading:

    SAXON (Java)

    SAXON (.NET)

    XERCES (Java)

    XERCES (C++)

    XERCES (Perl)

    LIBXML (Gnome's libxml2)

    MSXML

    XSV


/Roger


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.