- From: Dan Connolly <connolly@w3.org>
- Date: Thu, 12 Apr 2001 09:36:25 -0500
- To: www-xml-query-comments@w3.org
> Here is the proposed modified > text: This mostly addresses the issue, but... > We assume that an instance of the data model is derived from an > instance of the XML Information Set after XML Schema validation. > Such an instance is called a ``PSV Infoset'', for post > schema-validated Infoset. > > Schema information may be associated with a document in two ways. A > document may refer directly to a DTD, and a document may be paired > with an XML Schema, which may be derived from one or more XML Schema > documents. It is also possible for an XML document to have no DTD or > associated schema, i.e., it is ``schemaless''. For a document, > schema pair, the PSV Infoset provides the schema. For a document > that refers directly to a DTD, we assume a mapping from the DTD to > an equivalent schema is provided, What does "an equivalent schema" mean? I suggest you leave DTDs out of the discussion altogether; they're not relevant. The infoset and xpath specs make it clear that DTD info is intrinsic to a document and it's consumed in determining the document's infoset. > and the PSV Infoset provides this > equivalent schema. For a schemaless document, a default schema is > provided by the data model, and we specify in this document that > default schema. In all three cases, a schema can be provided for > the input document and the corresponding data-model instance. Also, there is still text in the spec that suggests that schemas are intrinsic to documents; e.g.: 6 Example We use the following XML document [...] The XML schema for this document is: *the* XML Schema, as if there's exactly one. Please change to: This document is schema-valid w.r.t. the following schema: Oops... there's more: For this example, we chose an XML document that includes an XML Schema ... change to: For this example, we chose and XML document and an XML Schema ... -- Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Thursday, 12 April 2001 10:36:27 UTC