- From: Don Chamberlin <chamberl@almaden.ibm.com>
- Date: Fri, 6 Feb 2004 13:33:39 -0800
- To: public-qt-comments@w3.org
- Cc: Fatma Ozcan <fozcan@almaden.ibm.com>
- Message-ID: <OF38F0D4A4.7E0CCAF4-ON88256E32.0075AA49-88256E32.00767264@us.ibm.com>
After further discussion, it appears that it is not sufficient to use the in-scope-schema-definitions (ISSD) during round-tripping (serialization and re-parsing) of a data model instance. Round-tripping is used in validation, which in turn is used in every element constructor. It is necessary for round-tripping to preserve the type annotation of an element node, which may not be known in the ISSD. I think the schema used during round-tripping needs to be the union of the ISSD and the schema(s) from which the type annotations of the nodes were originally derived (called the "data model schema" in Section 2.2.5, Consistency Constraints). --Don Chamberlin XML Query/Almaden/IBM@IBMUS Sent by: public-qt-comments-request@w3.org 02/02/2004 04:15 PM To public-qt-comments@w3.org cc Subject [Serialization] IBM-SE-006: Schema used in round-tripping Serialization Section 4, "XML Output Method": The paragraph before the bullet list says that "if a new tree were constructed by parsing the [serialized] XML document and converting it into a data model as described in [Data Model], then the new data model would be the same as the starting data model." But this conversion process involves validation, which is schema-dependent. We need to specify that the schema used in this round-trip process is an effective schema consisting of the in-scope schema definitions in the static context. --Don Chamberlin
Received on Friday, 6 February 2004 16:33:55 UTC