W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > January 2006

ISSUE-13: Using PSVI Features in Schemas

From: Databinding Issue Tracker <dean+cgi@w3.org>
Date: Tue, 24 Jan 2006 23:23:52 +0000 (UTC)
To: public-xsd-databinding@w3.org
Message-Id: <20060124232352.16D37DAF9D@w3c4-bis.w3.org>


ISSUE-13: Using PSVI Features in Schemas

http://www.w3.org/2005/06/tracker/databinding/issues/13

Raised by: Paul Downey
On product: Basic

"""
* Proposal:       

Explicitly identify these features and specify usage
Advise developers to not assume callers have rich PSVI
implemented.

Most toolkits contain schema validation tools that by now have excellent
compliance with the XML Schema specification.  XML Schema validation
tools take an Infoset and XML schema set as input and emits a
post-schema-validated-Infoset (PSVI).  The problem is that type
generators and/or serializers do not actually use proper schema
validation mechanisms.  Instead, type generators/serializers emulate
selected XML Schema features - like xs:default - meant to be managed by
the validation process.

There are several issues I think this working group should consider:
First, is it even wise for a service description to contain use PSVI
features in response messages?  In the case of xs:default, it seems
impolite to return elements with empty content to expect the caller to
fulfill the default value requirements.  Second, are there other XML
Schema features that are meant to impact the PSVI?  Perhaps this working
group should list such features and describe how type
serializers/generators should emulate the intent of the Schema spec.
Finally, should the working group tell developers to avoid Schema
features that presume the caller has a schema validation capability?

Erik Johnson

Epicor Software Corp.
"""

http://lists.w3.org/Archives/Public/public-xsd-databinding/2006Jan/0033.html
Received on Tuesday, 24 January 2006 23:23:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:36 GMT