Re: Can instance document schema location hints aid or override those defined in a top-level schema with import declarations?

>> will document processors use any 
>> newer hints that the instance document 
>> might provide as to the location of the 
>> imported schemas?

Not sure it's common, but in principle they might, it's completely at the 
discretion of the processor, according to the needs of the invoking 
application.  The one rule that must always be observed as that validation 
is done as if all the final definitions were there from the start.  You 
can't have element A be used in validation as an integer for awhile and 
then turn into a date.  Definitions and definitions can be built up 
asynchronously until the point at which each is first needed (before which 
time you can't tell if it's missing.)  Once used, each defn or decl must 
be stable.

------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------







Jeff Lowery <jlowery@scenicsoft.com>
Sent by: xmlschema-dev-request@w3.org
09/04/01 01:21 PM

 
        To:     xmlschema-dev@w3.org
        cc:     (bcc: Noah Mendelsohn/CAM/Lotus)
        Subject:        Can instance document schema location hints aid or override those defined 
in a top-level schema with import declarations?


If validating an instance document against an XML Schema which imports 
other
schemas, and the top-level schema location hints are invalid, will 
document
processors use any newer hints that the instance document might provide as
to the location of the imported schemas?

Received on Tuesday, 4 September 2001 14:59:52 UTC