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

Re: [Summary] Eager and Just-in-Time loading of XML Schema doc

  • From: Mukul Gandhi <gandhi.mukul@gmail.com>
  • To: xml-dev@lists.xml.org
  • Date: Sun, 8 Aug 2010 18:14:25 +0530

Re:  [Summary] Eager and Just-in-Time loading of XML Schema doc
Hi Michael,
   I can understand what you mean. Here's what you wrote in the thread
you pointed:

<quote>
If the schema documents aren't directly connected::

<xs:complexType name="BooksType">
    <xs:sequence>
        <xs:any namespace="http://www.book.org"/>
    </xs:sequence>
</xs:complexType>

then Book.xsd won't be loaded until Xerces-J's validator hits <Book>
</quote>

Here are few of the points I have with regards to your above
statements, and few questions please:

Here we are not importing Book.xsd. But xs:any wild-card would require
a type definition in the context (because processContents="strict"
here for the wild-card).

Speaking from the schema author's perspective, what is the static
structure of the overall schema definition in this case? I believe, in
this case either we need to provide Book.xsd into Library.xsd via an
xs:import (in which case, would Book.xsd be loaded always?). Or the
schema types needed to satisfy xs:any wild-card, need to be provided
alongside the types in Library.xsd (in which case, there is no
Book.xsd at all).

On Sun, Aug 8, 2010 at 9:30 AM, Michael Glavassevich
<mrglavas@ca.ibm.com> wrote:
> Re-read my response to Roger [1] and then imagine an instance document
> without <Book>. Book.xsd won't be loaded unless it's reachable from
> Library.xsd through imports / includes.



-- 
Regards,
Mukul Gandhi


[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.