W3C home > Mailing lists > Public > www-tag@w3.org > June 2002

RE: Potential new issue: PSVI considered harmful

From: Dare Obasanjo <dareo@microsoft.com>
Date: Thu, 13 Jun 2002 11:32:42 -0700
Message-ID: <8BD7226E07DDFF49AF5EF4030ACE0B7E06621CE9@red-msg-06.redmond.corp.microsoft.com>
To: "Tim Bray" <tbray@textuality.com>, <www-tag@w3.org>

----Original Message----- 
From: Tim Bray [mailto:tbray@textuality.com] 
Sent: Thu 6/13/2002 11:03 AM 
To: www-tag@w3.org 
Cc: 
Subject: Re: Potential new issue: PSVI considered harmful

>Yes.  Actually, I'm not proposing any specific mechanism, just leaving
>the door open by decoupling the notion of an augmented infoset from that
>of validation.

OK. 

>Er, I didn't propose a new working group.  I do propose decoupling the
>augmented infoset from the process of validation.

OK. 

> I can imagine doing type
>annotation in a much more lightweight way than bringing a large complex
>declarative schema facility to bear.  In fact, why shouldn't I just be
>able to jam something into the instance or infoset saying "this
>attribute here is an integer"?

W3C XML Schema already has this facility through xsi:type[0]. However I can't even begin to imagine how this system would work without validation. How would one express simple or complex without looking at some predefined schema and comparing the instance with that schema? Or do you propose this only for simple types? Similarly how would one annotate attributes in an instance documents when attributes themselves are meant to annotate elements? 

[0] http://www.w3.org/TR/xmlschema-1/#xsi_type
Received on Thursday, 13 June 2002 14:33:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:08 GMT