[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enlightenment via avoiding the T-word
- From: Ronald Bourret <rpbourret@rpbourret.com>
- To: "'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
- Date: Thu, 30 Aug 2001 01:33:25 -0700
Nicolas LEHUEN wrote:
> 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 ?
From my reading of the schema spec, this is what a validator does. My
point is that it would be nice if the PSVI was clearly factored so I
could write a processor to just add type information without performing
validation. This would be much cheaper and would be useful in
applications where I trusted the source of my documents.
--
Ronald Bourret
XML, Databases, and Schemas
http://www.rpbourret.com
Speaker, Geek Cruises' XML Excursion '02