W3C home > Mailing lists > Public > www-xml-infoset-comments@w3.org > October to December 2001

Synthetic Infosets and Conformance

From: <zongaro@ca.ibm.com>
Date: Wed, 5 Dec 2001 11:47:51 -0500
To: www-xml-infoset-comments@w3.org
Message-ID: <OFE2EEDC9D.B281D831-ON85256B19.005852B5@torolab.ibm.com>
Hello,

     According to Section 3, "Conformance", of the "XML Information Set" 
specification [1], a specification that refers to the Infoset 
specification must do the following.

Indicate the information items and properties that are needed to implement 
the specification. (This indirectly imposes conformance requirements on 
processors used to implement the specification.) 
Specify how other information items and properties are treated (for 
example, they might be passed through unchanged). 
Note any information required from an XML document that is not defined by 
the Infoset. 
Note any difference in the use of terms defined by the Infoset (this 
should be avoided). 


     Appendix D of the "XML Schema: Structures" specification [2] 
indicates that it requires attribute information items to have at least 
the [local name], [namespace name] and [normalized value] properties. 
Further, that appendix indicates that there is no destructive alteration 
of the information set in creating the synthetic infoset that results from 
schema assessment (PSVI) - only additive contributions.

     Section 3.4.5 of Schema: Structures [3] indicates that in some 
circumstances, the [attributes] property of an element information item in 
the PSVI may contain attribute information items that were not present in 
the input information set, that have the properties [local name], 
[namespace name], [schema normalized value], [schema default], [validation 
context], [validity], [validation attempted] and [schema specified].

     This means that the [attributes] property of an element information 
item in the PSVI could have some attribute information items that have a 
[normalized value] property while others do not, and could have some 
attribute information items that have a [schema normalized value] while 
others do not.  This is not the same as the properties being present with 
one of the special values "no value" or "unknown".

     Was it intended that a specification that conforms to "XML 
Information Set" could define an infoset that has two information items of 
the same kind with disjoint sets of properties?

Thanks,

Henry
[1] http://www.w3.org/TR/xml-infoset/#conformance
[2] http://www.w3.org/TR/xmlschema-1/#infoset
[3] http://www.w3.org/TR/xmlschema-1/#section-Complex-Type-Definition-Information-Set-Contributions
------------------------------------------------------------------------
Henry Zongaro      XML Parsers development
IBM SWS Toronto Lab   Tie Line 969-6044;  Phone (905) 413-6044
mailto:zongaro@ca.ibm.com
Received on Wednesday, 5 December 2001 11:48:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 16 July 2018 20:16:10 UTC