|
Re: Potential new issue: PSVI considered harmful: msg#00098org.w3c.tag
Hmm, I think Dare's notes are mostly addressing things I didn't say, which means that I wasn't clear enough. [Dare Obasanjo] I'd also add [to the PSVI] I see. The first probably isn't interesting outside of the class of software that's concerned with validation. As for the second, has any other application class proposed to use it? Seems sensible enough in any case. And my other comments apply to it... it's clearly orthogonal to validation. <Tim Bray> The problem is that we are making the old SGML error all over again. The problem, once again, is the 3 letters "PSV". It's reasonable to annotate a document with type information and possibly other stuff as you note above. It's not reasonable to regard this as necessarily a consequence of validation. On the other hand XML 1.0 itself is tied very closely to DTDs and the attendant conflation of entities, default values, notations and weird primitive typing (NMToken, CDATA, IDREF???) Yep. We should learn from our mistakes. The notion of the PSVI is evidence that we're not. information, but the PSVI suffers from the following flaws: To the extent that an instance is self-describing and self-contained, that's a win. Default values appear magically as a result of reading something else somewhere else. That's bad. Yes, defaults induced by DTDs are identical to, hence just as bad as, those from XML schemas. <TimBray> [Dare Obasanjo] I can't tell what you are objecting to here. Are you arguing against the name "PSVI" and proposing an alternative mechanism for augmenting an XML infoset with type information to claim this name or...? 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. 1. Type-augmented XML is a good thing and a recommendation should be Er, I didn't propose a new working group. I do propose decoupling the augmented infoset from the process of validation. <TimBray>2. Type-augmented XML has nothing to say about default values created Sigh. I'm arguing that both value defaulting and type annotation are orthogonal to the process of validation. Yes, this happens to be produced as a side-effect of validation - but 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"? <TimBray> 3. Any software can create and/or use type-augmented XML, whether or Where's the conflict? <TimBray> 4. Work on XQuery and other things that require a Type-Augmented Indeed. -Tim |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [Agenda] 17 June TAG teleconf (SOAP/GET update, charmodReview-17 update, URIEquivalence-15): 00098, Ian B. Jacobs |
|---|---|
| Next by Date: | Re: Potential new issue: PSVI considered harmful: 00098, Tim Bray |
| Previous by Thread: | RE: Potential new issue: PSVI considered harmfuli: 00098, Dare Obasanjo |
| Next by Thread: | RE: Potential new issue: PSVI considered harmful: 00098, Julian Reschke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |