- From: Alessandro Triglia <sandro@mclink.it>
- Date: Wed, 26 Mar 2003 00:28:47 -0500
- To: "[Public XML Schema DEV]" <xmlschema-dev@w3.org>
Hi I have a few questions. If an attribute of type QName has a default and the attribute is absent in an instance, what will be exactly the PSVI contribution? I am referring to: =========================== 3.4.5 Complex Type Definition Information Set Contributions Schema Information Set Contribution: Attribute Default Value For each attribute use [...], the post-schema-validation infoset has an attribute information item whose properties are as below added to the [attributes] of the element information item. [local name] The {attribute declaration}'s {name}. [namespace name] The {attribute declaration}'s {target namespace}. [schema normalized value] The canonical lexical representation of the {value constraint} value. [schema default] The canonical lexical representation of the {value constraint} value. [validation context] The nearest ancestor element information item with a [schema information] property. [validity] valid. [validation attempted] full. [schema specified] schema. ============================ How would the property [schema normalized value] be assigned? What would be the "canonical lexical representation" of the default QName value, which is only an "actual value" (namespace name + local part)? What happens if the namespace name of the QName is not in-scope in this particular part of the instance infoset? Alessandro Triglia OSS Nokalva
Received on Wednesday, 26 March 2003 00:29:48 UTC