[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Enlightenment via avoiding the T-word
- From: "Fuchs, Matthew" <matthew.fuchs@commerceone.com>
- To: 'Nicolas LEHUEN' <nicolas.lehuen@ubicco.com>,"'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
- Date: Thu, 30 Aug 2001 10:17:27 -0700
No reason why not - in fact on input (i.e., as preparation for application
processing) it would be silly not to. On output (i.e., I'm sending it to
someone else) I'm only interested in the final answer. If it's not valid, I
may just dump it in the logs and deal with it later - I don't need all that
PSVI info around if my next step is to get rid of the document.
Matthew
> -----Original Message-----
> From: Nicolas LEHUEN [mailto:nicolas.lehuen@ubicco.com]
> Sent: Thursday, August 30, 2001 12:36 AM
> To: Fuchs, Matthew; 'Ronald Bourret'; 'xml-dev@lists.xml.org'
> Subject: RE: Enlightenment via avoiding the T-word
>
>
> >Regarding validation vs. typing, validation is a kind of
> type-checking
> >(constraints do specify types, just not all the types are
> >named). However,
> >in validation, you only ask if the document was correct, and
> >don't get to
> >find out what the types were.
> >
> >Matthew
>
> Yes, but as validation and typing are tightly bound in terms
> of algorithm,
> why not perform them both in the same path, for the sheer
> sake of efficiency
> ? When validating, you collect a lot of useful data (you know
> what XSDL
> types you are matching against elements), so why no keep this
> information in
> a PSVI to give it to the next layer ?
>
> Regards,
> Nicolas
>